mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge of the mwl106 tree into the latest 5.3 tree.
Resolved conflicts. Adjusted some test results
This commit is contained in:
@@ -2818,6 +2818,9 @@ int sp_instr::exec_open_and_lock_tables(THD *thd, TABLE_LIST *tables)
|
||||
result= -1;
|
||||
else
|
||||
result= 0;
|
||||
/* Prepare all derived tables/views to catch possible errors. */
|
||||
if (!result)
|
||||
result= mysql_handle_derived(thd->lex, DT_PREPARE) ? -1 : 0;
|
||||
|
||||
return result;
|
||||
}
|
||||
|
Reference in New Issue
Block a user