~posulliv/drizzle/memcached_applier

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Jay Pipes
  • Date: 2009-08-03 14:23:22 UTC
  • mfrom: (1039.2.68 staging)
  • mto: This revision was merged to the branch mainline in revision 1078.
  • Revision ID: jpipes@serialcoder-20090803142322-1g67h7su9mocg9ig
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
 
243
243
  lex->is_lex_started= true;
244
244
  lex->create_table_proto= NULL;
 
245
  lex->command= NULL;
245
246
}
246
247
 
247
248
void lex_end(LEX *lex)
259
260
  if(lex->create_table_proto)
260
261
    delete lex->create_table_proto;
261
262
  lex->result= 0;
 
263
 
 
264
  if (lex->command) 
 
265
    delete lex->command;
262
266
}
263
267
 
264
268
static int find_keyword(Lex_input_stream *lip, uint32_t len, bool function)
1889
1893
{
1890
1894
  reset_query_tables_list(true);
1891
1895
  create_table_proto= NULL;
 
1896
  command= NULL;
1892
1897
}
1893
1898
 
1894
1899
/*