diff options
| author | Joerg Bruehe <joerg@mysql.com> | 2008-11-10 20:32:45 +0100 |
|---|---|---|
| committer | Joerg Bruehe <joerg@mysql.com> | 2008-11-10 20:32:45 +0100 |
| commit | a1e2d2d14615b0ccac6b1246a58cd347effaeefb (patch) | |
| tree | 0c6bedc8298d6ba68c23420c95626e2b52466499 /mysql-test/t/partition_mgm.test | |
| parent | 12ad7f3b9da5e0563c24698856102b4b646cea82 (diff) | |
| parent | 9a0637750a4775e199b3915bd83e630540729d64 (diff) | |
| download | mariadb-git-a1e2d2d14615b0ccac6b1246a58cd347effaeefb.tar.gz | |
Merge main 5.1 -> 5.1-build
Diffstat (limited to 'mysql-test/t/partition_mgm.test')
| -rw-r--r-- | mysql-test/t/partition_mgm.test | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mysql-test/t/partition_mgm.test b/mysql-test/t/partition_mgm.test index 68da4a5b390..524a2e04b25 100644 --- a/mysql-test/t/partition_mgm.test +++ b/mysql-test/t/partition_mgm.test @@ -52,3 +52,27 @@ alter table t1 REORGANIZE partition p1 INTO partition p12 values in (3,4)); drop table t1; +# +# Verification tests for bug#14326 +# +--error ER_PARSE_ERROR +CREATE TABLE t1 (a INT) +/*!50100 PARTITION BY HASH (a) +/* Test + of multi-line + comment */ +PARTITIONS 5 */; +CREATE TABLE t1 (a INT) +/*!50100 PARTITION BY HASH (a) +-- with a single line comment embedded +PARTITIONS 5 */; +SHOW CREATE TABLE t1; +DROP TABLE t1; +CREATE TABLE t1 (a INT) +/*!50100 PARTITION BY HASH (a) +PARTITIONS 5 */; +SHOW CREATE TABLE t1; +DROP TABLE t1; +CREATE TABLE t1 (a INT) /*!50100 PARTITION BY HASH (a) PARTITIONS 5 */; +SHOW CREATE TABLE t1; +DROP TABLE t1; |
