mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
In commit fd9ca2a742
(MDEV-23295)
we added a debug assertion, which caught a similar bug.
prepare_inplace_alter_table_dict(): If we had promised that
ALGORITHM=INPLACE or ALGORITHM=NOCOPY is supported, we must
preserve the ROW_FORMAT.
20 lines
533 B
Plaintext
20 lines
533 B
Plaintext
--- default_row_format_alter.result
|
|
+++ default_row_format_alter,compact.reject
|
|
@@ -91,7 +91,7 @@
|
|
ALTER TABLE t1 ADD b INT;
|
|
SELECT ROW_FORMAT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='t1';
|
|
ROW_FORMAT
|
|
-Dynamic
|
|
+Compact
|
|
DROP TABLE t1;
|
|
#
|
|
# MDEV-23345 Assertion not_redundant() == old.not_redundant() failed
|
|
@@ -102,6 +102,6 @@
|
|
ALTER TABLE t1 DROP b;
|
|
SELECT ROW_FORMAT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_NAME='t1';
|
|
ROW_FORMAT
|
|
-Dynamic
|
|
+Compact
|
|
DROP TABLE t1;
|
|
SET GLOBAL innodb_default_row_format = @row_format;
|