public void query(String query, boolean instant) {
		
		if (!instant) {
			m_thread.query(query);
		} else {
			
			final Connection connection = getConnection();
			try {
				if (connection == null) {
					Utilities.outputError("Could not connect to database '" + m_databaseName + "'");
					return;
				}
				
				m_statement = connection.createStatement();
				m_statement.executeUpdate(query);
				
				connection.close();
				
			} catch (SQLException e) {
				e.printStackTrace();
				try {
					m_statement.close();
					connection.close();
				} catch (SQLException ce) {}
			}
		}
	}