diff options
-rw-r--r-- | plugin/type_uuid/mysql-test/type_uuid/type_uuid.result | 8 | ||||
-rw-r--r-- | plugin/type_uuid/mysql-test/type_uuid/type_uuid.test | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/plugin/type_uuid/mysql-test/type_uuid/type_uuid.result b/plugin/type_uuid/mysql-test/type_uuid/type_uuid.result index 77e718ca93c..43ef4e911dc 100644 --- a/plugin/type_uuid/mysql-test/type_uuid/type_uuid.result +++ b/plugin/type_uuid/mysql-test/type_uuid/type_uuid.result @@ -3144,3 +3144,11 @@ INSERT INTO t1 VALUES ('00----000000000000000000000000000024'); INSERT INTO t1 VALUES ('5796dac11a1c11--------------ecab4ef859-713e4be4'); INSERT INTO t1 VALUES ('5796dac11a1c11---------------ecab4ef859-713e4be4'); DROP TABLE t1; +# +# MDEV-26732 Assertion `0' failed in Item::val_native +# +SELECT uuid() AS f, var_pop('x') FROM dual HAVING f > ''; +f var_pop('x') +Warnings: +Warning 1292 Truncated incorrect DOUBLE value: 'x' +Warning 1292 Incorrect uuid value: '' diff --git a/plugin/type_uuid/mysql-test/type_uuid/type_uuid.test b/plugin/type_uuid/mysql-test/type_uuid/type_uuid.test index c3c704ad29d..65574ac11d3 100644 --- a/plugin/type_uuid/mysql-test/type_uuid/type_uuid.test +++ b/plugin/type_uuid/mysql-test/type_uuid/type_uuid.test @@ -1646,3 +1646,9 @@ INSERT INTO t1 VALUES ('00----000000000000000000000000000024'); INSERT INTO t1 VALUES ('5796dac11a1c11--------------ecab4ef859-713e4be4'); INSERT INTO t1 VALUES ('5796dac11a1c11---------------ecab4ef859-713e4be4'); DROP TABLE t1; + +--echo # +--echo # MDEV-26732 Assertion `0' failed in Item::val_native +--echo # + +SELECT uuid() AS f, var_pop('x') FROM dual HAVING f > ''; |