From 06eaf7232e9a920468c0f8d74dcf2fe8b555501c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 13 Apr 2024 14:24:36 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/temporal_scale_4283.test | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 mysql-test/main/temporal_scale_4283.test (limited to 'mysql-test/main/temporal_scale_4283.test') diff --git a/mysql-test/main/temporal_scale_4283.test b/mysql-test/main/temporal_scale_4283.test new file mode 100644 index 00000000..d79ca7ca --- /dev/null +++ b/mysql-test/main/temporal_scale_4283.test @@ -0,0 +1,13 @@ +# +# MDEV-4283 Assertion `scale <= precision' fails in strings/decimal.c +# +create table t1 (a int); +insert into t1 values (4),(8); +select distinct 100 mod timestampadd( week, a, '2002-05-20' ) from t1; +drop table t1; + +create table t1 (i int); +insert into t1 values (2),(4); +select distinct convert_tz( '2001-03-21', 'utc', 'met' ) mod i from t1; +drop table t1; + -- cgit v1.2.3