diff options
author | Alexander Barkov <bar@mariadb.org> | 2016-06-29 21:10:35 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-06-30 11:43:02 +0200 |
commit | 4dcbb775aea9afc79d550661b384e0528c47eda4 (patch) | |
tree | b42f0cdd90589a97f20a21089790af727995f4ab /mysql-test/t/func_weight_string.test | |
parent | b3e11d33db5ab866c710ff8dd8653c314578f545 (diff) | |
download | mariadb-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/func_weight_string.test')
-rw-r--r-- | mysql-test/t/func_weight_string.test | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql-test/t/func_weight_string.test b/mysql-test/t/func_weight_string.test index 76f5ba8f00a..ddaf14dc75d 100644 --- a/mysql-test/t/func_weight_string.test +++ b/mysql-test/t/func_weight_string.test @@ -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; |