mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
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
This commit is contained in:
@ -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;
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user