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

MDEV-22756 SQL Error (1364): Field 'DB_ROW_HASH_1' doesn't have a default value

exclude generated columns from the "has default value" check
This commit is contained in:
Sergei Golubchik
2023-04-28 11:25:31 +02:00
parent adbad5e36f
commit bc970573b3
3 changed files with 14 additions and 1 deletions

View File

@@ -442,6 +442,13 @@ insert into t1 (a,b) select 1,'xxx' from seq_1_to_5;
select * from t1;
drop table t1;
--echo #
--echo # MDEV-22756 SQL Error (1364): Field 'DB_ROW_HASH_1' doesn't have a default value
--echo #
create table t1 (f text not null, unique (f));
insert into t1 (f) select 'f';
drop table t1;
--echo #
--echo # End of 10.4 tests
--echo #