diff options
author | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-11-27 12:28:08 +0400 |
---|---|---|
committer | unknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru> | 2007-11-27 12:28:08 +0400 |
commit | 42853d172c45dc50eaea6b9a4563e96e5515f5bf (patch) | |
tree | 81e036c62c47b77fa8a1c3aa1bff57b3ca13c60e /mysql-test/t | |
parent | 7eb5a83de6af972fa296606c0b5bf5b1f55c5030 (diff) | |
download | mariadb-git-42853d172c45dc50eaea6b9a4563e96e5515f5bf.tar.gz |
after-merge fix:
- archive test/result adjusted.
- OPTIMIZE/ANALYZE PARTITION EXTENDED test case added.
mysql-test/r/archive.result:
after-merge fix:
- archive test/result adjusted.
mysql-test/r/partition.result:
after-merge fix:
- test case added.
mysql-test/t/archive.test:
after-merge fix:
- archive test/result adjusted.
mysql-test/t/partition.test:
after-merge fix:
- test case added.
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/archive.test | 2 | ||||
-rw-r--r-- | mysql-test/t/partition.test | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/mysql-test/t/archive.test b/mysql-test/t/archive.test index f8eff10e30a..a1158dbfd3b 100644 --- a/mysql-test/t/archive.test +++ b/mysql-test/t/archive.test @@ -1320,7 +1320,7 @@ SELECT * FROM t2; INSERT INTO t2 VALUES (2,011401,37,'breaking','dreaded','Steinberg','W'); INSERT INTO t2 VALUES (3,011402,37,'Romans','scholastics','jarring',''); INSERT INTO t2 VALUES (4,011403,37,'intercepted','audiology','tinily',''); -OPTIMIZE TABLE t2 EXTENDED; +OPTIMIZE TABLE t2; SELECT * FROM t2; REPAIR TABLE t2; SELECT * FROM t2; diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index 68eff608879..f2fed63c833 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -1541,4 +1541,19 @@ while ($cnt) --enable_query_log drop table t1; + +# +# Bug #30495: optimize table t1,t2,t3 extended errors +# +CREATE TABLE t1(a int) +PARTITION BY RANGE (a) ( + PARTITION p1 VALUES LESS THAN (10), + PARTITION p2 VALUES LESS THAN (20) +); +--error 1064 +ALTER TABLE t1 OPTIMIZE PARTITION p1 EXTENDED; +--error 1064 +ALTER TABLE t1 ANALYZE PARTITION p1 EXTENDED; +DROP TABLE t1; + --echo End of 5.1 tests |