~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Monty Taylor
  • Date: 2011-01-02 17:39:27 UTC
  • mto: This revision was merged to the branch mainline in revision 2048.
  • Revision ID: mordred@inaugust.com-20110102173927-ycqhcvvbsdjfwgx4
Reset the vector in LEX. Stupid class reuse.

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
  lex->derived_tables= 0;
243
243
  lex->lock_option= TL_READ;
244
244
  lex->leaf_tables_insert= 0;
 
245
  lex->var_list.clear();
245
246
  lex->select_lex.select_number= 1;
246
247
  lex->length=0;
247
248
  lex->select_lex.in_sum_expr=0;
1869
1870
    yacc_yyss(0), 
1870
1871
    yacc_yyvs(0),
1871
1872
    charset(NULL),
 
1873
    var_list(),
1872
1874
    sql_command(SQLCOM_END), 
1873
1875
    option_type(OPT_DEFAULT), 
1874
1876
    is_lex_started(0),