~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.h

  • Committer: Olaf van der Spek
  • Date: 2011-03-14 15:53:42 UTC
  • mto: (2235.2.2 build)
  • mto: This revision was merged to the branch mainline in revision 2237.
  • Revision ID: olafvdspek@gmail.com-20110314155342-dv9qc4xpt80t1zvd
Refactor includes

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
#include <drizzled/file_exchange.h>
42
42
#include <drizzled/ha_data.h>
43
43
#include <drizzled/identifier.h>
44
 
#include <drizzled/lex_column.h>
45
44
#include <drizzled/named_savepoint.h>
46
45
#include <drizzled/open_tables_state.h>
47
46
#include <drizzled/plugin.h>
1380
1379
  /** The current internal error handler for this thread, or NULL. */
1381
1380
  Internal_error_handler *m_internal_handler;
1382
1381
  /**
1383
 
    The lex to hold the parsed tree of conventional (non-prepared) queries.
1384
 
    Whereas for prepared and stored procedure statements we use an own lex
1385
 
    instance for each new query, for conventional statements we reuse
1386
 
    the same lex. (@see mysql_parse for details).
1387
 
  */
1388
 
  LEX main_lex;
1389
 
  /**
1390
1382
    This memory root is used for two purposes:
1391
1383
    - for conventional queries, to allocate structures stored in main_lex
1392
1384
    during parsing, and allocate runtime data (execution plan, etc.)