1
-- source include/have_innodb.inc
4
--echo # Bug#46760: Fast ALTER TABLE no longer works for InnoDB
7
CREATE TABLE t1 (a INT) ENGINE=InnoDB;
8
INSERT INTO t1 VALUES (1);
10
--echo # By using --enable_info and verifying that number of affected
11
--echo # rows is 0 we check that this ALTER TABLE is really carried
12
--echo # out as "fast/online" operation, i.e. without full-blown data
15
--echo # I.e. info for the below statement should normally look like:
17
--echo # affected rows: 0
18
--echo # info: Records: 0 Duplicates: 0 Warnings: 0
21
ALTER TABLE t1 ALTER COLUMN a SET DEFAULT 10;
28
--echo # MySQL Bug#39200: optimize table does not recognize
29
--echo # ROW_FORMAT=COMPRESSED
32
CREATE TABLE t1 (a INT) ROW_FORMAT=compressed;
38
--echo End of 5.1 tests