mirror of
https://github.com/MariaDB/server.git
synced 2025-07-11 15:22:09 +03:00
Fixed valgrind warning
This commit is contained in:
@ -2673,6 +2673,7 @@ int prepare_schema_table(THD *thd, LEX *lex, Table_ident *table_ident,
|
||||
/* 'parent_lex' is used in init_query() so it must be before it. */
|
||||
schema_select_lex->parent_lex= lex;
|
||||
schema_select_lex->init_query();
|
||||
schema_select_lex->select_number= 0;
|
||||
if (!schema_select_lex->add_table_to_list(thd, table_ident, 0, 0, TL_READ,
|
||||
MDL_SHARED_READ))
|
||||
DBUG_RETURN(1);
|
||||
|
Reference in New Issue
Block a user