diff options
author | bell@sanja.is.com.ua <> | 2004-11-25 10:23:47 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2004-11-25 10:23:47 +0200 |
commit | d472a62475c60be39bf9c60eafd11aa49cea55cf (patch) | |
tree | 918ad10c0313e8a31b2545d51dc2aa2d12bd9da1 /sql/sql_lex.h | |
parent | a1cac9687ec38a5da5c1943d5067050d9fbee25d (diff) | |
download | mariadb-git-d472a62475c60be39bf9c60eafd11aa49cea55cf.tar.gz |
do not leave sql command uninitialized, because it used for detection need of preparation correct idends printing during finding identifiers i
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |