Commit d472a624 authored by bell@sanja.is.com.ua's avatar bell@sanja.is.com.ua

do not leave sql command uninitialized, because it used for detection need of...

do not leave sql command uninitialized, because it used for detection need of preparation correct idends printing  during finding identifiers i
parent a1cac968
...@@ -762,7 +762,7 @@ typedef struct st_lex ...@@ -762,7 +762,7 @@ typedef struct st_lex
*/ */
SQL_LIST trg_table_fields; 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); 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); hash_init(&spfuns, system_charset_info, 0, 0, 0, sp_lex_spfuns_key, 0, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment