mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
adding mysql.proc to table list if view contains stored procedures (BUG#5151)
This commit is contained in:
@ -4246,7 +4246,7 @@ mysql_init_query(THD *thd, uchar *buf, uint length, bool lexonly)
|
||||
lex->lock_option= TL_READ;
|
||||
lex->found_colon= 0;
|
||||
lex->safe_to_cache_query= 1;
|
||||
lex->query_tables= 0;
|
||||
lex->proc_table= lex->query_tables= 0;
|
||||
lex->query_tables_last= &lex->query_tables;
|
||||
lex->variables_used= 0;
|
||||
lex->select_lex.parent_lex= lex;
|
||||
|
Reference in New Issue
Block a user