Commit bfe57bf8 authored by unknown's avatar unknown

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


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)
parent d3a09b8c
......@@ -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);
......
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