Merge lp:~posulliv/drizzle/bug610543 into lp:~drizzle-trunk/drizzle/development

Proposed by Padraig O'Sullivan
Status: Merged
Approved by: Brian Aker
Approved revision: 1669
Merged at revision: 1670
Proposed branch: lp:~posulliv/drizzle/bug610543
Merge into: lp:~drizzle-trunk/drizzle/development
Diff against target: 20 lines (+8/-2)
1 file modified
drizzled/sql_lex.cc (+8/-2)
To merge this branch: bzr merge lp:~posulliv/drizzle/bug610543
Reviewer Review Type Date Requested Status
Monty Taylor Approve
Review via email: mp+31079@code.launchpad.net

Description of the change

Fix for crashing bug.

To post a comment you must log in.
Revision history for this message
Monty Taylor (mordred) wrote :

Yes. This fixes it for me.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'drizzled/sql_lex.cc'
--- drizzled/sql_lex.cc 2010-06-24 05:34:43 +0000
+++ drizzled/sql_lex.cc 2010-07-27 19:03:45 +0000
@@ -1860,8 +1860,14 @@
1860 for this.1860 for this.
1861*/1861*/
1862LEX::LEX()1862LEX::LEX()
1863 :result(0), yacc_yyss(0), yacc_yyvs(0),1863 :
1864 sql_command(SQLCOM_END), option_type(OPT_DEFAULT), is_lex_started(0)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 reset_query_tables_list(true);1872 reset_query_tables_list(true);
1867 statement= NULL;1873 statement= NULL;