mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
subselect in procedure argument list (Bug #302)
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