diff options
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index da562babea1..47fe2e8ac0e 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -173,8 +173,9 @@ void lex_start(THD *thd, uchar *buf,uint length) lex->proc_list.first= 0; lex->escape_used= FALSE; lex->reset_query_tables_list(FALSE); +#ifdef ENABLED_PROFILING lex->profile_options= PROFILE_NONE; - +#endif lex->nest_level=0 ; lex->allow_sum_func= 0; lex->in_sum_func= NULL; |