1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

better ER_VIRTUAL_COLUMN_FUNCTION_IS_NOT_ALLOWED

This commit is contained in:
Sergei Golubchik
2016-06-27 19:22:09 +02:00
parent 1b4f0962c1
commit 0a056c9b53
22 changed files with 213 additions and 186 deletions

View File

@@ -562,7 +562,7 @@ include/rpl_end.inc
# MDEV-10134 Add full support for DEFAULT
#
CREATE TABLE t1 (a VARCHAR(100) DEFAULT BINLOG_GTID_POS("master-bin.000001", 600));
ERROR HY000: Function or expression 'binlog_gtid_pos' is not allowed for 'DEFAULT' of column/constraint 'a'
ERROR HY000: Function or expression 'binlog_gtid_pos()' cannot be used in the DEFAULT clause of `a`
#
# End of 10.2 tests
#