1
0
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:
bell@sanja.is.com.ua
2004-09-01 19:00:41 +03:00
parent 771c2998ed
commit 56d8567a3d
7 changed files with 79 additions and 13 deletions

View File

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