summaryrefslogtreecommitdiff
path: root/sql/sql_lex.cc
diff options
context:
space:
mode:
authorunknown <andrey@lmy004.>2005-12-02 13:07:02 +0100
committerunknown <andrey@lmy004.>2005-12-02 13:07:02 +0100
commit4d891eb91cd0556e05a2022c4120d776ca772f69 (patch)
tree7152e34323e50a0845f559f1477316b2b57c7737 /sql/sql_lex.cc
parentdad8c66501f097491690ee3098594c1a0844b3f4 (diff)
downloadmariadb-git-4d891eb91cd0556e05a2022c4120d776ca772f69.tar.gz
WL1034 update for latest 5.1 sources
BUILD/SETUP.sh: for now no optimizations in debug build - get rid of "value optimized out"
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r--sql/sql_lex.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 4d32e26f1b7..f2f065510da 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -177,7 +177,9 @@ void lex_start(THD *thd, const uchar *buf, uint length)
lex->spcont= NULL;
lex->proc_list.first= 0;
lex->query_tables_own_last= 0;
- lex->escape_used= FALSE;
+ lex->escape_used= lex->et_compile_phase= FALSE;
+
+ lex->et= NULL;
if (lex->sroutines.records)
my_hash_reset(&lex->sroutines);