summaryrefslogtreecommitdiffstats
path: root/mysql-test/suite/innodb/t/no_pad.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/suite/innodb/t/no_pad.test')
-rw-r--r--mysql-test/suite/innodb/t/no_pad.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/suite/innodb/t/no_pad.test b/mysql-test/suite/innodb/t/no_pad.test
new file mode 100644
index 00000000..1be1972c
--- /dev/null
+++ b/mysql-test/suite/innodb/t/no_pad.test
@@ -0,0 +1,10 @@
+--source include/have_innodb.inc
+
+CREATE TABLE t1 (a CHAR(8), id INT, PRIMARY KEY (a,id)) COLLATE utf8_nopad_bin
+ENGINE=InnoDB ROW_FORMAT=REDUNDANT;
+
+INSERT INTO t1 VALUES ('',1);
+ALTER TABLE t1 ROW_FORMAT=DYNAMIC;
+INSERT INTO t1 VALUES ('',2);
+ALTER TABLE t1 ROW_FORMAT=REDUNDANT;
+DROP TABLE t1;