1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-06 13:10:12 +03:00

Merge branch '11.4' into 11.8

This commit is contained in:
Sergei Golubchik
2025-07-28 20:16:25 +02:00
380 changed files with 11138 additions and 2776 deletions

View File

@@ -292,6 +292,25 @@ a b
10 j
DROP TABLE t1;
DROP SEQUENCE s1;
#
# End of 10.3 tests
# in UPDATE
create sequence s1 cache 0;
create table t1 (id int unsigned default nextval(s1));
insert t1 values ();
update t1 set id=default;
prepare stmt from "update t1 set id=?";
execute stmt using default;
deallocate prepare stmt;
drop table t1;
drop sequence s1;
#
# MDEV-37302 Assertion failure in Table_triggers_list::add_tables_and_routines_for_triggers upon attempt to insert DEFAULT into non-insertable view
#
create table t1 (f int);
create algorithm=temptable view v1 as select * from t1;
create trigger tr before update on t1 for each row set @a=1;
insert v1 values (default);
ERROR HY000: The target table v1 of the INSERT is not insertable-into
drop view v1;
drop table t1;
# End of 10.6 tests