summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_compress.test
diff options
context:
space:
mode:
authorram@gw.mysql.r18.ru <>2003-09-19 12:25:03 +0500
committerram@gw.mysql.r18.ru <>2003-09-19 12:25:03 +0500
commit50254237de4732eb4507e64ea8d7aeb02e42969b (patch)
treecb9415d9811ed4cc317f2380d15ce8fd615bf2d3 /mysql-test/t/func_compress.test
parent7facccf3224c79047e8bc7f49fdd28a5bfaa9fc7 (diff)
downloadmariadb-git-50254237de4732eb4507e64ea8d7aeb02e42969b.tar.gz
Fix for the bug #1333: COMPRESS(NULL) segfaults.
Diffstat (limited to 'mysql-test/t/func_compress.test')
-rw-r--r--mysql-test/t/func_compress.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/t/func_compress.test b/mysql-test/t/func_compress.test
index 826721a4053..7462c020357 100644
--- a/mysql-test/t/func_compress.test
+++ b/mysql-test/t/func_compress.test
@@ -23,3 +23,9 @@ select uncompress("");
select uncompress(compress(""));
select uncompressed_length("");
+#
+# NULL (Bug #1333)
+#
+
+select compress(NULL);
+select uncompress(NULL);