summaryrefslogtreecommitdiff
path: root/mysql-test/main/func_compress.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2022-08-09 14:24:53 +0200
committerSergei Golubchik <serg@mariadb.org>2022-08-10 08:54:22 +0200
commit82c07fcabf039b2dc8f4b148e46bdb9662f3c0b1 (patch)
tree1b0e3c57c528200b4f39a911741abe11c119457e /mysql-test/main/func_compress.test
parent47d0df6ef02fa1acd5581d1322475a08be3066f5 (diff)
downloadmariadb-git-82c07fcabf039b2dc8f4b148e46bdb9662f3c0b1.tar.gz
MDEV-23149 Server crashes in my_convert / ErrConvString::ptr / Item_char_typecast::check_truncation_with_warn
Diffstat (limited to 'mysql-test/main/func_compress.test')
-rw-r--r--mysql-test/main/func_compress.test9
1 files changed, 5 insertions, 4 deletions
diff --git a/mysql-test/main/func_compress.test b/mysql-test/main/func_compress.test
index 983b792f4c4..2a6c0276705 100644
--- a/mysql-test/main/func_compress.test
+++ b/mysql-test/main/func_compress.test
@@ -174,10 +174,6 @@ DROP TABLE t1;
--echo #
--echo #
---echo # Start of 10.2 tests
---echo #
-
---echo #
--echo # MDEV-10134 Add full support for DEFAULT
--echo #
CREATE TABLE t1 (a TEXT, b BLOB DEFAULT COMPRESS(a), bl INT DEFAULT UNCOMPRESSED_LENGTH(b), a1 TEXT DEFAULT UNCOMPRESS(b));
@@ -187,5 +183,10 @@ SELECT bl, a1 FROM t1;
DROP TABLE t1;
--echo #
+--echo # MDEV-23149 Server crashes in my_convert / ErrConvString::ptr / Item_char_typecast::check_truncation_with_warn
+--echo #
+select 'foo' in (cast(compress('bar') as char(4)), 'qux');
+
+--echo #
--echo # End of 10.2 tests
--echo #