1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-05 13:16:09 +03:00

do not leave sql command uninitialized, because it used for detection need of preparation correct idends printing during finding identifiers i

This commit is contained in:
bell@sanja.is.com.ua
2004-11-25 10:23:47 +02:00
parent a1cac9687e
commit d472a62475

View File

@@ -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);