1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

Post fix for bug#45520

mysql-test/include/kill_query.inc:
  Error 1034 can be generated when change MyISAM table indexes was interrupted
mysql-test/r/rpl_killed_ddl.result:
  table t4 may not exists because the ALTER above was interrupted
mysql-test/t/rpl_killed_ddl.test:
  table t4 may not exists because the ALTER above was interrupted
This commit is contained in:
He Zhenxing
2009-12-10 11:44:19 +08:00
parent b3d9f78478
commit 9168949047
3 changed files with 7 additions and 1 deletions

View File

@ -52,7 +52,7 @@ if (`SELECT '$debug_lock' != ''`)
# reap the result of the waiting query # reap the result of the waiting query
connection $connection_name; connection $connection_name;
error 0, 1317, 1307, 1306, 1334, 1305; error 0, 1317, 1307, 1306, 1334, 1305, 1034;
reap; reap;
connection master; connection master;

View File

@ -94,6 +94,7 @@ source include/diff_master_slave.inc;
DROP INDEX i1 on t1; DROP INDEX i1 on t1;
source include/kill_query.inc; source include/kill_query.inc;
source include/diff_master_slave.inc; source include/diff_master_slave.inc;
CREATE TABLE IF NOT EXISTS t4 (a int);
CREATE TRIGGER tr2 BEFORE INSERT ON t4 CREATE TRIGGER tr2 BEFORE INSERT ON t4
FOR EACH ROW BEGIN FOR EACH ROW BEGIN
DELETE FROM t1 WHERE a=NEW.a; DELETE FROM t1 WHERE a=NEW.a;

View File

@ -203,6 +203,11 @@ source include/kill_query_and_diff_master_slave.inc;
######## TRIGGER ######## ######## TRIGGER ########
# Make sure table t4 exists
connection master;
CREATE TABLE IF NOT EXISTS t4 (a int);
connection master1;
let $diff_statement= SHOW TRIGGERS LIKE 'v%'; let $diff_statement= SHOW TRIGGERS LIKE 'v%';
DELIMITER //; DELIMITER //;