1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

remove non-working debug assert

and restore the test modified in the same commit
(the non-replication related deadlock will be reported separately)
This commit is contained in:
Sergei Golubchik
2020-10-26 18:08:58 +01:00
parent 4b854d4795
commit 17cf27f5b6
2 changed files with 1 additions and 5 deletions

View File

@@ -101,8 +101,7 @@ ALTER TABLE t1 ADD PRIMARY KEY (a);
ALTER TABLE t2 ADD PRIMARY KEY (a);
ALTER TABLE t3 ADD PRIMARY KEY (a);
#--sync_slave_with_master
--connection slave
--sync_slave_with_master
RENAME TABLE t3 TO t3_bak;
--connection master

View File

@@ -113,9 +113,6 @@ void my_error(uint nr, myf MyFlags, ...)
DBUG_ENTER("my_error");
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)))
(void) my_snprintf(ebuff, sizeof(ebuff), "Unknown error %d", nr);
else