~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/open_tables_state.h

  • Committer: Brian Aker
  • Date: 2009-06-03 19:30:45 UTC
  • mfrom: (1046.1.6 merge)
  • Revision ID: brian@gaz-20090603193045-4xgeczyfixh07beg
MergeĀ forĀ Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    XXX Why are internal temporary tables added to this list?
45
45
  */
46
46
  Table *temporary_tables;
47
 
  /**
48
 
    List of tables that were opened with HANDLER OPEN and are
49
 
    still in use by this thread.
50
 
  */
51
 
  Table *handler_tables;
 
47
 
52
48
  Table *derived_tables;
53
49
  /*
54
50
    During a MySQL session, one can lock tables in two modes: automatic
106
102
 
107
103
  void reset_open_tables_state()
108
104
  {
109
 
    open_tables= temporary_tables= handler_tables= derived_tables= 0;
110
 
    extra_lock= lock= locked_tables= 0;
 
105
    open_tables= temporary_tables= derived_tables= NULL;
 
106
    extra_lock= lock= locked_tables= NULL;
111
107
    state_flags= 0U;
112
108
  }
113
109
};