diff options
author | unknown <mikael@c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-04-10 10:52:25 -0400 |
---|---|---|
committer | unknown <mikael@c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se> | 2006-04-10 10:52:25 -0400 |
commit | 6658c6d30f1d4a4dbc37c5f4083dd2b742bbbbb2 (patch) | |
tree | 180f2a4031da2fadbcc28a045b6e0574fe0e76df /mysql-test | |
parent | b6fa5bb0476df5a7f59e800d56d6b0dadd1f05aa (diff) | |
parent | 41fa40e8c239f3af2a9f597fa8a342a7ee922ab7 (diff) | |
download | mariadb-git-6658c6d30f1d4a4dbc37c5f4083dd2b742bbbbb2.tar.gz |
Merge c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug18752
into c-4908e253.1238-1-64736c10.cust.bredbandsbolaget.se:/home/pappa/bug15561
Diffstat (limited to 'mysql-test')
-rw-r--r-- | mysql-test/r/partition.result | 9 | ||||
-rw-r--r-- | mysql-test/t/partition.test | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result index 2e293df50e2..48f9b04c15f 100644 --- a/mysql-test/r/partition.result +++ b/mysql-test/r/partition.result @@ -839,4 +839,13 @@ SHOW TABLE STATUS; Name Engine Version Row_format Rows Avg_row_length Data_length Max_data_length Index_length Data_free Auto_increment Create_time Update_time Check_time Collation Checksum Create_options Comment t1 MyISAM 10 Dynamic 0 0 0 0 0 0 NULL NULL NULL NULL latin1_swedish_ci NULL partitioned DROP TABLE t1; +CREATE TABLE t1 (a int) +PARTITION BY LIST (a) +(PARTITION p0 VALUES IN (NULL)); +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` int(11) DEFAULT NULL +) ENGINE=MyISAM DEFAULT CHARSET=latin1 PARTITION BY LIST (a) (PARTITION p0 VALUES IN (NULL) ENGINE = MyISAM) +DROP TABLE t1; End of 5.1 tests diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test index a3aa3f6f025..4eb27765f5f 100644 --- a/mysql-test/t/partition.test +++ b/mysql-test/t/partition.test @@ -956,4 +956,13 @@ PARTITION p2 VALUES LESS THAN (30) ENGINE = MyISAM); SHOW TABLE STATUS; DROP TABLE t1; +# +# BUG 18752 SHOW CREATE TABLE doesn't show NULL value in SHOW CREATE TABLE +# +CREATE TABLE t1 (a int) +PARTITION BY LIST (a) +(PARTITION p0 VALUES IN (NULL)); +SHOW CREATE TABLE t1; +DROP TABLE t1; + --echo End of 5.1 tests |