summaryrefslogtreecommitdiff
path: root/mysql-test/t/create.test
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-11-23 17:05:59 -0800
committerjimw@mysql.com <>2005-11-23 17:05:59 -0800
commit81cb8ad37ddc02056ca9a626ff0098f07fdcf0ae (patch)
tree37b1928ae9c2e0b1e99023cac74615699a56b3d2 /mysql-test/t/create.test
parent7510c45423af35a11a6c8942501e4a0a8d0c3da7 (diff)
downloadmariadb-git-81cb8ad37ddc02056ca9a626ff0098f07fdcf0ae.tar.gz
Fix handling of maximum value for MAX_ROWS on 64-bit platforms. (Bug #14155)
Diffstat (limited to 'mysql-test/t/create.test')
-rw-r--r--mysql-test/t/create.test14
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 73184853d1a..50a2e1a3cba 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -527,3 +527,17 @@ create table if not exists t1 (a int);
drop table t1;
# End of 4.1 tests
+
+#
+# Bug #14155: Maximum value of MAX_ROWS handled incorrectly on 64-bit
+# platforms
+#
+create table t1 (i int) engine=myisam max_rows=100000000000;
+show create table t1;
+alter table t1 max_rows=100;
+show create table t1;
+alter table t1 max_rows=100000000000;
+show create table t1;
+drop table t1;
+
+# End of 5.0 tests