mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +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
@ -219,6 +219,13 @@ a VARCHAR(30),
|
||||
b BLOB DEFAULT DES_ENCRYPT(a, 'passwd'),
|
||||
c TEXT DEFAULT DES_DECRYPT(b, 'passwd')
|
||||
);
|
||||
SHOW CREATE TABLE t1;
|
||||
Table Create Table
|
||||
t1 CREATE TABLE `t1` (
|
||||
`a` varchar(30) DEFAULT NULL,
|
||||
`b` blob DEFAULT DES_ENCRYPT(a, 'passwd'),
|
||||
`c` text DEFAULT DES_DECRYPT(b, 'passwd')
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1
|
||||
INSERT INTO t1 (a) VALUES ('test');
|
||||
SELECT c FROM t1;
|
||||
c
|
||||
|
Reference in New Issue
Block a user