Commit 17cf27f5 authored by Sergei Golubchik's avatar Sergei Golubchik

remove non-working debug assert

and restore the test modified in the same commit
(the non-replication related deadlock will be reported separately)
parent 4b854d47
...@@ -101,8 +101,7 @@ ALTER TABLE t1 ADD PRIMARY KEY (a); ...@@ -101,8 +101,7 @@ ALTER TABLE t1 ADD PRIMARY KEY (a);
ALTER TABLE t2 ADD PRIMARY KEY (a); ALTER TABLE t2 ADD PRIMARY KEY (a);
ALTER TABLE t3 ADD PRIMARY KEY (a); ALTER TABLE t3 ADD PRIMARY KEY (a);
#--sync_slave_with_master --sync_slave_with_master
--connection slave
RENAME TABLE t3 TO t3_bak; RENAME TABLE t3 TO t3_bak;
--connection master --connection master
......
...@@ -113,9 +113,6 @@ void my_error(uint nr, myf MyFlags, ...) ...@@ -113,9 +113,6 @@ void my_error(uint nr, myf MyFlags, ...)
DBUG_ENTER("my_error"); DBUG_ENTER("my_error");
DBUG_PRINT("my", ("nr: %d MyFlags: %lu errno: %d", nr, MyFlags, errno)); DBUG_PRINT("my", ("nr: %d MyFlags: %lu errno: %d", nr, MyFlags, errno));
if (errno == 1213)
DBUG_ASSERT(0);
if (!(format = my_get_err_msg(nr))) if (!(format = my_get_err_msg(nr)))
(void) my_snprintf(ebuff, sizeof(ebuff), "Unknown error %d", nr); (void) my_snprintf(ebuff, sizeof(ebuff), "Unknown error %d", nr);
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment