mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Check that default() do not see invisible field.
This commit is contained in:
@ -13,6 +13,8 @@ select a , invisible from t1;
|
||||
--error ER_BAD_FIELD_ERROR
|
||||
insert into t1(a, invisible) values(99,99);
|
||||
--error ER_BAD_FIELD_ERROR
|
||||
select default(invisible) from t1;
|
||||
--error ER_BAD_FIELD_ERROR
|
||||
insert into t1(invisible) values(99);
|
||||
insert into t_tmp select a, invisible from t1;
|
||||
--error ER_WRONG_VALUE_COUNT_ON_ROW
|
||||
|
Reference in New Issue
Block a user