Skip to content

Commit ad0f8fe

Browse files
committed
fixes for test failures
1 parent 8f9c640 commit ad0f8fe

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

mysql-test/suite/innodb/r/instant_alter_debug.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ ALTER TABLE t4 ADD COLUMN b INT;
3535
SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS
3636
LEFT JOIN t4 ON (NUMERIC_SCALE = pk);
3737
COUNT(*)
38-
1744
38+
1748
3939
SET DEBUG_SYNC='innodb_inplace_alter_table_enter SIGNAL enter WAIT_FOR delete';
4040
ALTER TABLE t4 ADD COLUMN c INT;
4141
connect dml,localhost,root,,;

mysql-test/suite/parts/t/print_error.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# MDEV-15336 Server crashes in handler::print_error / ha_partition::print_error upon query timeout
33
#
44
--source include/have_innodb.inc
5+
--source include/not_embedded.inc
56
--source include/have_partition.inc
67

78
CREATE TABLE t1 (i INT) ENGINE=InnoDB PARTITION BY HASH (i) PARTITIONS 2;

storage/innobase/handler/handler0alter.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1395,7 +1395,7 @@ innobase_set_foreign_key_option(
13951395
foreign->type = DICT_FOREIGN_ON_DELETE_SET_NULL;
13961396
break;
13971397
case FK_OPTION_UNDEF:
1398-
DBUG_ASSERT(0);
1398+
break;
13991399
}
14001400

14011401
switch (fk_key->update_opt) {
@@ -1411,7 +1411,7 @@ innobase_set_foreign_key_option(
14111411
foreign->type |= DICT_FOREIGN_ON_UPDATE_SET_NULL;
14121412
break;
14131413
case FK_OPTION_UNDEF:
1414-
DBUG_ASSERT(0);
1414+
break;
14151415
}
14161416

14171417
return(innobase_check_fk_option(foreign));

0 commit comments

Comments
 (0)