diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-03-22 20:38:10 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-03-29 00:40:21 +0200 |
commit | 7a1b0582d6fb9741119d245ce78b7cbde90c09be (patch) | |
tree | 3df70808eeb7a3347725da48ae41eb3485910afe /mysql-test/r/default.result | |
parent | 33ec4459759df66733ba73ca31e2ef094f9a864f (diff) | |
download | mariadb-git-7a1b0582d6fb9741119d245ce78b7cbde90c09be.tar.gz |
MDEV-11114 Cannot drop column referenced by CHECK constraint: Unknown column 'a' in 'virtual column function'
clarify the error message
Diffstat (limited to 'mysql-test/r/default.result')
-rw-r--r-- | mysql-test/r/default.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/r/default.result b/mysql-test/r/default.result index 39202f5eabb..19150a15807 100644 --- a/mysql-test/r/default.result +++ b/mysql-test/r/default.result @@ -541,10 +541,10 @@ DROP FUNCTION f1; CREATE PROCEDURE p1(par INT) CREATE TABLE t1 (a INT DEFAULT par); ERROR HY000: Function or expression 'par' cannot be used in the DEFAULT clause of `a` CREATE TABLE t1 (a INT DEFAULT par); -ERROR 42S22: Unknown column 'par' in 'virtual column function' +ERROR 42S22: Unknown column 'par' in 'DEFAULT' CREATE PROCEDURE p1() CREATE TABLE t1 (a INT DEFAULT par); CALL p1; -ERROR 42S22: Unknown column 'par' in 'virtual column function' +ERROR 42S22: Unknown column 'par' in 'DEFAULT' DROP PROCEDURE p1; CREATE TABLE t1 (a INT DEFAULT VALUES(a)); ERROR HY000: Function or expression 'values()' cannot be used in the DEFAULT clause of `a` |