~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Brian Aker
  • Date: 2011-01-25 07:24:41 UTC
  • mfrom: (2104.3.14 alter-table)
  • Revision ID: brian@tangent.org-20110125072441-gf9f14lkxjhvvku9
MergeĀ inĀ alter/parser

Show diffs side-by-side

added added

removed removed

Lines of Context:
1817
1817
  delete _create_table;
1818
1818
}
1819
1819
 
1820
 
/**
1821
 
  @brief Restore the LEX and Session in case of a parse error.
1822
 
 
1823
 
  This is a clean up call that is invoked by the Bison generated
1824
 
  parser before returning an error from DRIZZLEparse. If your
1825
 
  semantic actions manipulate with the global thread state (which
1826
 
  is a very bad practice and should not normally be employed) and
1827
 
  need a clean-up in case of error, and you can not use %destructor
1828
 
  rule in the grammar file itself, this function should be used
1829
 
  to implement the clean up.
1830
 
*/
1831
 
void LEX::cleanup_lex_after_parse_error(Session *)
1832
 
{
1833
 
}
1834
 
 
1835
1820
/*
1836
1821
  Initialize (or reset) Query_tables_list object.
1837
1822