mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
parentheses in default
- Adding SHOW CREATE TABLE into all DEFAULT tests, to cover need_parentheses_in_default() for all items - Fixing a few items not to print parentheses in DEFAULT: spatial function-alike predicates, IS_IPV4 and IS_IPV6 functions, COLUMN_CHECK() and COLUMN_EXISTS().
This commit is contained in:
committed by
Sergei Golubchik
parent
b3e11d33db
commit
4dcbb775ae
@ -156,6 +156,7 @@ DROP TABLE t1;
|
||||
--echo # MDEV-10134 Add full support for DEFAULT
|
||||
--echo #
|
||||
CREATE TABLE t1 (a VARCHAR(10) CHARACTER SET latin1, b VARBINARY(10) DEFAULT WEIGHT_STRING(a AS CHAR(10)));
|
||||
SHOW CREATE TABLE t1;
|
||||
INSERT INTO t1 (a) VALUES ('a');
|
||||
SELECT a, HEX(b) FROM t1;
|
||||
DROP TABLE t1;
|
||||
|
Reference in New Issue
Block a user