mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
subselect in procedure argument list (Bug #302)
BitKeeper/etc/ignore: Added libmysqld/sp_pcontext.cc libmysqld/sp.cc libmysqld/sp_head.cc to the ignore list mysql-test/r/subselect.result: test of subselect in procedure argument list mysql-test/t/subselect.test: test of subselect in procedure argument list sql/sp_head.cc: subselect in procedure argument list sql/sql_parse.cc: subselect in procedure argument list
This commit is contained in:
@@ -3060,6 +3060,11 @@ mysql_execute_command(THD *thd)
|
||||
uint smrx;
|
||||
LINT_INIT(smrx);
|
||||
|
||||
if (tables && ((res= check_table_access(thd, SELECT_ACL, tables)) ||
|
||||
(res= open_and_lock_tables(thd,tables))))
|
||||
break;
|
||||
fix_tables_pointers(lex->all_selects_list);
|
||||
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
// When executing substatements, they're assumed to send_error when
|
||||
// it happens, but not to send_ok.
|
||||
|
||||
Reference in New Issue
Block a user