~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2010-12-28 16:57:38 UTC
  • mto: (2060.2.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2063.
  • Revision ID: brian@tangent.org-20101228165738-nv5u0b86raus4719
Merge in refactor of LIKE up to its own calling pointer in the parser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
281
281
  }
282
282
 
283
283
  delete result;
 
284
  delete _create_table;
 
285
  _create_table= NULL;
284
286
 
285
287
  result= 0;
286
288
  setCacheable(true);
1801
1803
  }
1802
1804
}
1803
1805
 
 
1806
LEX::~LEX()
 
1807
{
 
1808
  delete _create_table;
 
1809
}
 
1810
 
1804
1811
/**
1805
1812
  @brief Restore the LEX and Session in case of a parse error.
1806
1813
 
1873
1880
    option_type(OPT_DEFAULT), 
1874
1881
    is_lex_started(0),
1875
1882
    cacheable(true),
1876
 
    sum_expr_used(false)
 
1883
    sum_expr_used(false),
 
1884
    _create_table(NULL)
1877
1885
{
1878
1886
  reset_query_tables_list(true);
1879
1887
  statement= NULL;