mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
fixed open_and_lock_tables result processing (all open_and_lock_tables revision)
fixed printing of COLLATE operation (BUG#5155)
This commit is contained in:
@ -2136,7 +2136,7 @@ mysql_execute_command(THD *thd)
|
||||
case SQLCOM_DO:
|
||||
if (all_tables &&
|
||||
((res= check_table_access(thd, SELECT_ACL, all_tables, 0)) ||
|
||||
(res= open_and_lock_tables(thd, all_tables))))
|
||||
(res= open_and_lock_tables(thd, all_tables))))
|
||||
break;
|
||||
|
||||
res= mysql_do(thd, *lex->insert_list);
|
||||
@ -2400,7 +2400,6 @@ mysql_execute_command(THD *thd)
|
||||
|
||||
if (!(res= open_and_lock_tables(thd, select_tables)))
|
||||
{
|
||||
res= -1; // If error
|
||||
if ((result= new select_create(create_table,
|
||||
&lex->create_info,
|
||||
lex->create_list,
|
||||
|
Reference in New Issue
Block a user