~diego-fmpwizard/drizzle/plugin-functions-error-messages

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Brian Aker
  • Date: 2009-08-17 00:51:17 UTC
  • mfrom: (1115.3.4 captain)
  • Revision ID: brian@gaz-20090817005117-j9der2dkee8pwbw5
Merge Jay

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
 
174
174
Session::Session(plugin::Protocol *protocol_arg)
175
175
  :
176
 
  Statement(&main_lex, &main_mem_root, /* statement id */ 0),
177
176
  Open_tables_state(refresh_version),
 
177
  mem_root(&main_mem_root),
 
178
  lex(&main_lex),
 
179
  db(NULL),
178
180
  scheduler(NULL),
179
181
  scheduler_arg(NULL),
180
182
  lock_id(&main_lock_id),
276
278
  m_internal_handler= NULL;
277
279
}
278
280
 
279
 
void Statement::free_items()
 
281
void Session::free_items()
280
282
{
281
283
  Item *next;
282
284
  /* This works because items are allocated with sql_alloc() */