1
0
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:
bell@sanja.is.com.ua
2004-08-31 10:06:38 +03:00
parent 7682b10ee8
commit 392c306969
18 changed files with 79 additions and 42 deletions

View File

@ -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,