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

Merge branch '10.5' into 10.6

This commit is contained in:
Yuchen Pei
2024-12-17 11:06:09 +11:00
48 changed files with 735 additions and 486 deletions

View File

@@ -0,0 +1,14 @@
#
# MDEV-30263: --echo # Assertion failure in Protocol::end_statement
# upon HANDLER READ with invalid timestamp
#
CREATE TABLE t (a TIMESTAMP, KEY(a));
HANDLER t OPEN;
HANDLER t READ a > ('2022-12');
a
# above should issue the same warnings/errors as following
SELECT * from t WHERE t.a > ('2022-12');
a
HANDLER t CLOSE;
DROP TABLE t;
End of 10.5 tests

View File

@@ -0,0 +1,15 @@
--echo #
--echo # MDEV-30263: --echo # Assertion failure in Protocol::end_statement
--echo # upon HANDLER READ with invalid timestamp
--echo #
CREATE TABLE t (a TIMESTAMP, KEY(a));
HANDLER t OPEN;
HANDLER t READ a > ('2022-12');
--echo # above should issue the same warnings/errors as following
SELECT * from t WHERE t.a > ('2022-12');
# Cleanup
HANDLER t CLOSE;
DROP TABLE t;
--echo End of 10.5 tests