From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/adddate_454.test | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 mysql-test/main/adddate_454.test (limited to 'mysql-test/main/adddate_454.test') diff --git a/mysql-test/main/adddate_454.test b/mysql-test/main/adddate_454.test new file mode 100644 index 00000000..bbdd89b5 --- /dev/null +++ b/mysql-test/main/adddate_454.test @@ -0,0 +1,9 @@ +# +# MDEV-454 Addition of a time interval reduces the resulting value +# +create table t1 (d date); +insert into t1 values ('2012-00-00'); +select * from t1; +update ignore t1 set d = adddate(d, interval 1 day); +select * from t1; +drop table t1; -- cgit v1.2.3