1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

10.4 specific fixes for DEFAULT()

This commit is contained in:
Sergei Golubchik
2022-05-09 12:16:04 +02:00
parent a2dd86df9c
commit a8e57906d1
5 changed files with 54 additions and 1 deletions

View File

@ -2160,3 +2160,15 @@ drop table t1;
--echo #
--echo # End of 10.3 test
--echo #
--echo #
--echo # MDEV-26423: MariaDB server crash in Create_tmp_table::finalize
--echo #
CREATE TABLE t1 (pk text DEFAULT length(uuid()));
INSERT INTO t1 VALUES (),();
SELECT 1 FROM t1 GROUP BY DEFAULT(pk);
DROP TABLE t1;
--echo #
--echo # End of 10.4 test
--echo #