1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

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:
  do not leave sql command uninitialized, because it used for detection need of preparation correct idends printing  during finding identifiers in table list (alias resolving tracking)
This commit is contained in:
unknown
2004-11-25 10:23:47 +02:00
parent 7108deee6e
commit a0f2ecf7fb

View File

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