Skip to content

Commit 4dcbb77

Browse files
Alexander Barkovvuvova
authored andcommitted
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().
1 parent b3e11d3 commit 4dcbb77

27 files changed

+1416
-3
lines changed

mysql-test/r/ctype_like_range.result

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3309,6 +3309,13 @@ a VARCHAR(10),
33093309
mn VARCHAR(10) DEFAULT LIKE_RANGE_MIN(a,10),
33103310
mx VARCHAR(10) DEFAULT LIKE_RANGE_MAX(a,10)
33113311
);
3312+
SHOW CREATE TABLE t1;
3313+
Table Create Table
3314+
t1 CREATE TABLE `t1` (
3315+
`a` varchar(10) DEFAULT NULL,
3316+
`mn` varchar(10) DEFAULT LIKE_RANGE_MIN(a,10),
3317+
`mx` varchar(10) DEFAULT LIKE_RANGE_MAX(a,10)
3318+
) ENGINE=MyISAM DEFAULT CHARSET=latin1
33123319
INSERT INTO t1 (a) VALUES ('a'),('a_'),('a%');
33133320
SELECT a, HEX(mn), HEX(mx) FROM t1;
33143321
a HEX(mn) HEX(mx)

0 commit comments

Comments
 (0)