mariadb/mysql-test/suite/handler/handler_warnings.result
Oleksandr Byelkin 271b73770c MDEV-30263 Assertion failure in Protocol::end_statement upon HANDLER READ with invalid timestamp
Process save_in_field() return codes as in other places (<0 is real
error)
2024-12-13 16:27:14 +01:00

14 lines
355 B
Text

#
# 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