mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge mysql.com:/usr/home/pem/bug14834/mysql-5.0
into mysql.com:/usr/home/pem/mysql-5.1-new BitKeeper/triggers/post-commit: Merge. configure.in: Manual merge. mysql-test/r/sp.result: Merge. mysql-test/r/view.result: Merge. sql/share/errmsg.txt: Manual merge. sql/sp_head.cc: Merge. sql/sql_parse.cc: Merge. sql/sql_table.cc: Merge. sql/sql_yacc.yy: Merge.
This commit is contained in:
@ -2614,7 +2614,8 @@ mysql_execute_command(THD *thd)
|
||||
goto error; /* purecov: inspected */
|
||||
thd->enable_slow_log= opt_log_slow_admin_statements;
|
||||
res = mysql_backup_table(thd, first_table);
|
||||
|
||||
(TABLE_LIST*) select_lex->table_list.first=first_table;
|
||||
lex->query_tables=all_tables;
|
||||
break;
|
||||
}
|
||||
case SQLCOM_RESTORE_TABLE:
|
||||
@ -2626,6 +2627,8 @@ mysql_execute_command(THD *thd)
|
||||
goto error; /* purecov: inspected */
|
||||
thd->enable_slow_log= opt_log_slow_admin_statements;
|
||||
res = mysql_restore_table(thd, first_table);
|
||||
(TABLE_LIST*) select_lex->table_list.first=first_table;
|
||||
lex->query_tables=all_tables;
|
||||
break;
|
||||
}
|
||||
case SQLCOM_ASSIGN_TO_KEYCACHE:
|
||||
@ -3119,6 +3122,8 @@ end_with_restore_list:
|
||||
mysql_bin_log.write(&qinfo);
|
||||
}
|
||||
}
|
||||
(TABLE_LIST*) select_lex->table_list.first=first_table;
|
||||
lex->query_tables=all_tables;
|
||||
break;
|
||||
}
|
||||
case SQLCOM_CHECK:
|
||||
@ -3129,6 +3134,8 @@ end_with_restore_list:
|
||||
goto error; /* purecov: inspected */
|
||||
thd->enable_slow_log= opt_log_slow_admin_statements;
|
||||
res = mysql_check_table(thd, first_table, &lex->check_opt);
|
||||
(TABLE_LIST*) select_lex->table_list.first=first_table;
|
||||
lex->query_tables=all_tables;
|
||||
break;
|
||||
}
|
||||
case SQLCOM_ANALYZE:
|
||||
@ -3149,6 +3156,8 @@ end_with_restore_list:
|
||||
mysql_bin_log.write(&qinfo);
|
||||
}
|
||||
}
|
||||
(TABLE_LIST*) select_lex->table_list.first=first_table;
|
||||
lex->query_tables=all_tables;
|
||||
break;
|
||||
}
|
||||
|
||||
@ -3172,6 +3181,8 @@ end_with_restore_list:
|
||||
mysql_bin_log.write(&qinfo);
|
||||
}
|
||||
}
|
||||
(TABLE_LIST*) select_lex->table_list.first=first_table;
|
||||
lex->query_tables=all_tables;
|
||||
break;
|
||||
}
|
||||
case SQLCOM_UPDATE:
|
||||
|
Reference in New Issue
Block a user