summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2016-06-29 21:10:35 +0200
committerSergei Golubchik <serg@mariadb.org>2016-06-30 11:43:02 +0200
commit4dcbb775aea9afc79d550661b384e0528c47eda4 (patch)
treeb42f0cdd90589a97f20a21089790af727995f4ab /mysql-test/t/grant.test
parentb3e11d33db5ab866c710ff8dd8653c314578f545 (diff)
downloadmariadb-git-4dcbb775aea9afc79d550661b384e0528c47eda4.tar.gz
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().
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test1
1 files changed, 1 insertions, 0 deletions
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);