diff options
author | Sergei Golubchik <sergii@pisem.net> | 2010-04-30 12:12:25 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2010-04-30 12:12:25 +0200 |
commit | b58cb7c4a283ea9775d55d1d133cec9359f86dfa (patch) | |
tree | 827ea696aaa7371484cd736871aa13784120e200 /mysql-test/r/plugin.result | |
parent | da138f02db35f91c043c45664bbc77cf1f8a29d2 (diff) | |
download | mariadb-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/r/plugin.result')
-rw-r--r-- | mysql-test/r/plugin.result | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/plugin.result b/mysql-test/r/plugin.result index 45224ba44c3..8621534c135 100644 --- a/mysql-test/r/plugin.result +++ b/mysql-test/r/plugin.result @@ -101,6 +101,17 @@ drop table t1; SET SQL_MODE=''; CREATE TABLE t1 (a int) ENGINE=example ULL=10000000000000000000 one_or_two='ttt' YESNO=SSS; ERROR HY000: Incorrect value '10000000000000000000' for option 'ULL' +CREATE TABLE t1 (a int) ENGINE=example ULL=10.00; +ERROR 42000: Only integers allowed as number here near '10.00' at line 1 +CREATE TABLE t1 (a int) ENGINE=example ULL=1e2; +ERROR 42000: Only integers allowed as number here near '1e2' at line 1 +CREATE TABLE t1 (a int) ENGINE=example ULL=0x1234; +SHOW CREATE TABLE t1; +Table Create Table +t1 CREATE TABLE `t1` ( + `a` int(11) DEFAULT NULL +) ENGINE=EXAMPLE DEFAULT CHARSET=latin1 `ULL`=4660 +DROP TABLE t1; SET @@SQL_MODE=@OLD_SQL_MODE; select 1; 1 |