From 4dcbb775aea9afc79d550661b384e0528c47eda4 Mon Sep 17 00:00:00 2001 From: Alexander Barkov Date: Wed, 29 Jun 2016 21:10:35 +0200 Subject: 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(). --- mysql-test/t/grant.test | 1 + 1 file changed, 1 insertion(+) (limited to 'mysql-test/t/grant.test') diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test index 7bcc7c5a28a..b816afed851 100644 --- a/mysql-test/t/grant.test +++ b/mysql-test/t/grant.test @@ -2183,6 +2183,7 @@ set GLOBAL sql_mode=default; CREATE TABLE t1 (a VARCHAR(30) DEFAULT USER()); +SHOW CREATE TABLE t1; INSERT INTO t1 VALUES (); GRANT ALL PRIVILEGES ON test.* TO dummy@localhost IDENTIFIED BY 'pwd'; connect (conn1,localhost,dummy,pwd,test); -- cgit v1.2.1