mirror of
https://github.com/MariaDB/server.git
synced 2026-05-02 05:05:33 +02:00
adding mysql.proc to table list if view contains stored procedures (BUG#5151)
mysql-test/r/view.result: fixed test VIEW over droped function mysql-test/t/view.test: VIEW over droped function sql/item_func.cc: after review fix sql/sp.cc: hint to find mysql.proc sql/sql_lex.h: hint to find mysql.proc sql/sql_parse.cc: hint to find mysql.proc sql/sql_view.cc: adding mysql.proc to table list if view contains stored procedures
This commit is contained in:
parent
d3423ca699
commit
c33897765f
7 changed files with 79 additions and 13 deletions
|
|
@ -641,6 +641,7 @@ typedef struct st_lex
|
|||
TABLE_LIST *query_tables; /* global list of all tables in this query */
|
||||
/* last element next_global of previous list */
|
||||
TABLE_LIST **query_tables_last;
|
||||
TABLE_LIST *proc_table; /* refer to mysql.proc if it was opened by VIEW */
|
||||
|
||||
List<key_part_spec> col_list;
|
||||
List<key_part_spec> ref_list;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue