From d472a62475c60be39bf9c60eafd11aa49cea55cf Mon Sep 17 00:00:00 2001 From: "bell@sanja.is.com.ua" <> Date: Thu, 25 Nov 2004 10:23:47 +0200 Subject: [PATCH] do not leave sql command uninitialized, because it used for detection need of preparation correct idends printing during finding identifiers i --- sql/sql_lex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 169ee4e66eb..605204fe35d 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -762,7 +762,7 @@ typedef struct st_lex */ SQL_LIST trg_table_fields; - st_lex() :result(0) + st_lex() :result(0), sql_command(SQLCOM_END) { extern byte *sp_lex_spfuns_key(const byte *ptr, uint *plen, my_bool first); hash_init(&spfuns, system_charset_info, 0, 0, 0, sp_lex_spfuns_key, 0, 0);