summaryrefslogtreecommitdiff
path: root/mysql-test/t/plugin.test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2010-04-30 12:12:25 +0200
committerSergei Golubchik <sergii@pisem.net>2010-04-30 12:12:25 +0200
commitb58cb7c4a283ea9775d55d1d133cec9359f86dfa (patch)
tree827ea696aaa7371484cd736871aa13784120e200 /mysql-test/t/plugin.test
parentda138f02db35f91c043c45664bbc77cf1f8a29d2 (diff)
downloadmariadb-git-b58cb7c4a283ea9775d55d1d133cec9359f86dfa.tar.gz
small changes to WL#43:
consistency: don't use "index" and "key" interchangeably => rename "key" to "index" consistency: all option types are logical, besides ULL => rename ULL to NUMBER don't accept floats where integers are expected accept hexadecimal where integers are expected
Diffstat (limited to 'mysql-test/t/plugin.test')
-rw-r--r--mysql-test/t/plugin.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/plugin.test b/mysql-test/t/plugin.test
index a7f3c693389..f57fedaa32d 100644
--- a/mysql-test/t/plugin.test
+++ b/mysql-test/t/plugin.test
@@ -110,6 +110,17 @@ drop table t1;
SET SQL_MODE='';
--error ER_BAD_OPTION_VALUE
CREATE TABLE t1 (a int) ENGINE=example ULL=10000000000000000000 one_or_two='ttt' YESNO=SSS;
+
+--error ER_PARSE_ERROR
+CREATE TABLE t1 (a int) ENGINE=example ULL=10.00;
+
+--error ER_PARSE_ERROR
+CREATE TABLE t1 (a int) ENGINE=example ULL=1e2;
+
+CREATE TABLE t1 (a int) ENGINE=example ULL=0x1234;
+SHOW CREATE TABLE t1;
+DROP TABLE t1;
+
SET @@SQL_MODE=@OLD_SQL_MODE;
#