mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-18114 Foreign Key Constraint actions don't affect Virtual Column
* invoke check_expression() for all vcol_info's in mysql_prepare_create_table() to check for FK CASCADE * also check for SET NULL and SET DEFAULT * to check against existing FKs when a vcol is added in ALTER TABLE, old FKs must be added to the new_key_list just like other indexes are * check columns recursively, if vcol1 references vcol2, flags of vcol2 must be taken into account * remove check_table_name_processor(), put that logic under check_vcol_func_processor() to avoid walking the tree twice
This commit is contained in:
@ -85,7 +85,7 @@ t2id id
|
||||
use test;
|
||||
drop database `#mysql50#-`;
|
||||
SET NAMES default;
|
||||
FOUND 8 /\[ERROR\] Invalid \(old\?\) table or database name/ in mysqld.1.err
|
||||
FOUND 10 /\[ERROR\] Invalid \(old\?\) table or database name/ in mysqld.1.err
|
||||
set global query_cache_type=DEFAULT;
|
||||
set global query_cache_size=@save_query_cache_size;
|
||||
End of 10.2 tests
|
||||
|
Reference in New Issue
Block a user