mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 08:44:33 +01:00
271b73770c
Process save_in_field() return codes as in other places (<0 is real error)
15 lines
405 B
Text
15 lines
405 B
Text
--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
|