mariadb/mysql-test/suite
Alexander Barkov 3df297271a MDEV-22579 No error when inserting DEFAULT(non_virtual_column) into a virtual column
The code erroneously allowed both:
INSERT INTO t1 (vcol) VALUES (DEFAULT);
INSERT INTO t1 (vcol) VALUES (DEFAULT(non_virtual_column));

The former is OK, but the latter is not.
Adding a new virtual method in Item:

virtual bool vcol_assignment_allowed_value() const { return false; }

Item_null, Item_param and Item_default_value override it.

Item_default_value overrides it in the way to:
- allow DEFAULT
- disallow DEFAULT(col)
2020-05-15 20:21:54 +04:00
..
archive MDEV-17297: stats.records=0 for a table of Archive engine when it has rows, when we run ANALYZE command 2019-04-18 23:12:43 +03:00
binlog MDEV-18046: Assortment of crashes, assertion failures and ASAN errors in mysql_show_binlog_events 2020-01-07 18:27:05 +05:30
binlog_encryption MDEV-20953: binlog_encryption.rpl_corruption failed in buildbot due to wrong error code 2019-11-12 16:31:08 +05:30
csv
encryption MDEV-16111 encryption.innodb_lotoftables failed in buildbot with wrong result 2019-06-12 19:08:49 +03:00
engines Merge branch '10.0' into 10.1 2018-11-15 17:20:26 +01:00
federated Merge branch '10.0' into 10.1 2018-06-12 18:55:27 +03:00
funcs_1 MDEV-15945 --ps-protocol does not test some queries 2019-03-12 13:10:49 +01:00
funcs_2
galera MDEV-22203: WSREP_ON is unnecessarily expensive to evaluate 2020-04-27 09:40:51 +03:00
galera_3nodes MDEV-16021: galera mtr test galera_evs_suspect_timeout crashed 2019-05-17 08:29:45 +03:00
handler MDEV-15945 --ps-protocol does not test some queries 2019-03-12 13:10:49 +01:00
heap Merge remote-tracking branch 'origin/5.5-galera' into 10.0-galera 2018-10-30 13:22:52 +02:00
innodb cleanup: foreign-keys.test vs foreign_key.test 2020-05-08 09:19:44 +02:00
innodb_fts MDEV-22393 Corruption for SET GLOBAL innodb_ string variables 2020-04-28 16:09:07 +03:00
innodb_zip MDEV-14904 Backport innodb_default_row_format 2018-03-07 17:49:42 +02:00
jp
large_tests
maria MDEV-18094: Query with order by limit picking index scan over filesort 2019-09-21 12:14:05 +05:30
mariabackup MDEV-12711 mariabackup --backup is refused for multi-file system tablespace 2019-03-26 13:51:15 +02:00
mtr/t
mtr2
multi_source MDEV-8874 Replication filters configured in my.cnf are ignored if slave reset and reconfigured 2019-06-27 09:54:20 +05:30
optimizer_unfixed_bugs
parts Merge 5.5 into 10.1 2019-10-11 15:19:55 +03:00
percona
perfschema Merge branch 'merge-perfschema-5.6' into 10.1 2020-01-19 13:11:45 +01:00
perfschema_stress Update FSF Address 2019-05-11 21:29:06 +03:00
plugins MDEV-18686 Add option to PAM authentication plugin to allow case insensitive username matching 2019-04-24 16:06:54 +02:00
roles MDEV-18298 Crashes server with segfault during role grants 2019-04-02 18:22:37 +02:00
rpl Merge branch '5.5' into 10.1 2020-04-30 17:36:41 +02:00
storage_engine Merge 10.0 into 10.1 2019-03-27 11:56:08 +02:00
stress
sys_vars MDEV-22501 Various issues when using --innodb-data-file-size-debug=-1 2020-05-08 13:27:57 +03:00
unit Merge branch '5.5' into 10.0 2018-06-21 00:44:10 +02:00
vcol MDEV-22579 No error when inserting DEFAULT(non_virtual_column) into a virtual column 2020-05-15 20:21:54 +04:00
wsrep MDEV-21209 : mysql_tzinfo_to_sql's Galera checks do not work 2019-12-05 12:41:13 +02:00