summaryrefslogtreecommitdiff
path: root/mysql-test/main/type_time_hires.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2022-11-02 21:43:42 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2022-11-02 21:43:42 +0100
commit7fef00fdd791fe37590782ac52c8038a88da6c1b (patch)
tree53b532b44abfac271c6f2dab89618b32efb4e402 /mysql-test/main/type_time_hires.test
parentebf2121529fcf06971b4c0fc28f40654ef8dd99f (diff)
parent63a3dffeb62d7b4b39453ac2a01f992ba2795240 (diff)
downloadmariadb-git-7fef00fdd791fe37590782ac52c8038a88da6c1b.tar.gz
Merge branch '10.8' into 10.9
Diffstat (limited to 'mysql-test/main/type_time_hires.test')
-rw-r--r--mysql-test/main/type_time_hires.test15
1 files changed, 13 insertions, 2 deletions
diff --git a/mysql-test/main/type_time_hires.test b/mysql-test/main/type_time_hires.test
index cb15113f8ec..35463c3b36b 100644
--- a/mysql-test/main/type_time_hires.test
+++ b/mysql-test/main/type_time_hires.test
@@ -11,9 +11,8 @@ drop table t1;
select cast(1e-6 as time(6));
-
--echo #
---echo # Start of 10.4 tests
+--echo # End of 5.5 tests
--echo #
--echo #
@@ -197,6 +196,18 @@ DROP FUNCTION CEILING_SP;
DROP TABLE t1;
+--echo #
+--echo # MDEV-29924 Assertion `(((nr) % (1LL << 24)) % (int) log_10_int[6 - dec]) == 0' failed in my_time_packed_to_binary on SELECT when using TIME field
+--echo #
+create table t1 (c decimal(3,1),d time(6));
+insert into t1 values (null,0.1),(null,0.1), (0.1,0.2);
+select c from t1 where c<all (select d from t1);
+drop table t1;
+
+--echo #
+--echo # End of 10.4 tests
+--echo #
+
--echo #
--echo # Start of 10.9 tests