diff options
author | Sergei Golubchik <serg@mariadb.org> | 2016-06-27 15:25:49 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2016-06-30 11:43:02 +0200 |
commit | 1b4f0962c14b3c827553e2a470c82afc419f9352 (patch) | |
tree | dcc93058ecec1838330ba34f8525dd0f0f562df4 /mysql-test/suite/vcol/t | |
parent | ed77ee1aab1c41584bccfc62bee77d7c4d9af8d4 (diff) | |
download | mariadb-git-1b4f0962c14b3c827553e2a470c82afc419f9352.tar.gz |
fix grammar for "DEFAULT (SELECT 1)" not be a syntax error
the error should be "subselect is not allowed here", same as for
DEFAULT ((SELECT 1))
Diffstat (limited to 'mysql-test/suite/vcol/t')
-rw-r--r-- | mysql-test/suite/vcol/t/vcol_blocked_sql_funcs_main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/suite/vcol/t/vcol_blocked_sql_funcs_main.inc b/mysql-test/suite/vcol/t/vcol_blocked_sql_funcs_main.inc index 625a40aca54..fad2f531ee5 100644 --- a/mysql-test/suite/vcol/t/vcol_blocked_sql_funcs_main.inc +++ b/mysql-test/suite/vcol/t/vcol_blocked_sql_funcs_main.inc @@ -336,7 +336,7 @@ create or replace table t1 (a varchar(1024), b varchar(1024) as (UpdateXML(a,'/a --echo # create or replace table t1 (a int); --- error ER_PARSE_ERROR +-- error ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED create or replace table t2 (a int, b int as (select count(*) from t1)); drop table t1; |