~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_lex.cc

  • Committer: Padraig O'Sullivan
  • Date: 2010-07-27 18:52:50 UTC
  • mto: (1669.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1670.
  • Revision ID: osullivan.padraig@gmail.com-20100727185250-iu5eecn67sy847zm
Initialize charset member of the LEX class correctly in the constructor.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1860
1860
    for this.
1861
1861
*/
1862
1862
LEX::LEX()
1863
 
  :result(0), yacc_yyss(0), yacc_yyvs(0),
1864
 
   sql_command(SQLCOM_END), option_type(OPT_DEFAULT), is_lex_started(0)
 
1863
  :
 
1864
    result(0), 
 
1865
    yacc_yyss(0), 
 
1866
    yacc_yyvs(0),
 
1867
    charset(NULL),
 
1868
    sql_command(SQLCOM_END), 
 
1869
    option_type(OPT_DEFAULT), 
 
1870
    is_lex_started(0)
1865
1871
{
1866
1872
  reset_query_tables_list(true);
1867
1873
  statement= NULL;