mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
BUG#23404 - ROW_FORMAT=FIXED option is lost is an index is added to the
table ROW_FORMAT option is lost during CREATE/DROP INDEX. This fix forces CREATE/DROP INDEX to retain ROW_FORMAT by instructing mysql_alter_table() that ROW_FORMAT is not used during creating/dropping indexes.
This commit is contained in:
@@ -392,4 +392,15 @@ alter table test.t1 rename test.t1;
|
||||
use test;
|
||||
drop table t1;
|
||||
|
||||
#
|
||||
# BUG#23404 - ROW_FORMAT=FIXED option is lost is an index is added to the
|
||||
# table
|
||||
#
|
||||
CREATE TABLE t1(a INT) ROW_FORMAT=FIXED;
|
||||
CREATE INDEX i1 ON t1(a);
|
||||
SHOW CREATE TABLE t1;
|
||||
DROP INDEX i1 ON t1;
|
||||
SHOW CREATE TABLE t1;
|
||||
DROP TABLE t1;
|
||||
|
||||
# End of 4.1 tests
|
||||
|
||||
Reference in New Issue
Block a user