From d07a6e33dd8738d7521e376ca55d5ae3062eb3cf Mon Sep 17 00:00:00 2001 From: Oleksandr Byelkin Date: Tue, 20 Nov 2018 17:31:07 +0100 Subject: Check that default() do not see invisible field. --- mysql-test/main/invisible_field_debug.result | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mysql-test/main/invisible_field_debug.result') diff --git a/mysql-test/main/invisible_field_debug.result b/mysql-test/main/invisible_field_debug.result index b3c84d18333..0ea8ab12de8 100644 --- a/mysql-test/main/invisible_field_debug.result +++ b/mysql-test/main/invisible_field_debug.result @@ -17,6 +17,8 @@ a invisible 1 9 insert into t1(a, invisible) values(99,99); ERROR 42S22: Unknown column 'invisible' in 'field list' +select default(invisible) from t1; +ERROR 42S22: Unknown column 'invisible' in 'field list' insert into t1(invisible) values(99); ERROR 42S22: Unknown column 'invisible' in 'field list' insert into t_tmp select a, invisible from t1; -- cgit v1.2.1