~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-09 01:59:10 UTC
  • mfrom: (1054.1.11 merge)
  • Revision ID: brian@gaz-20090609015910-0sfsovp2x8wfbr2c
Merge Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
    See also lock_tables() for details.
61
61
  */
62
62
  DRIZZLE_LOCK *lock;
63
 
  /*
64
 
    Tables that were locked with explicit or implicit LOCK TABLES.
65
 
    (Implicit LOCK TABLES happens when we are prelocking tables for
66
 
     execution of statement which uses stored routines. See description
67
 
     Session::prelocked_mode for more info.)
68
 
  */
69
 
  DRIZZLE_LOCK *locked_tables;
70
63
 
71
64
  /*
72
65
    CREATE-SELECT keeps an extra lock for the table being
103
96
  void reset_open_tables_state()
104
97
  {
105
98
    open_tables= temporary_tables= derived_tables= NULL;
106
 
    extra_lock= lock= locked_tables= NULL;
 
99
    extra_lock= lock= NULL;
107
100
    state_flags= 0U;
108
101
  }
109
102
};