From 5c87b55f7e48780d59f32b2867b119ae732c6680 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 13 Apr 2006 16:19:21 +0500 Subject: Fix for bug #18643: crazy UNCOMPRESS(). mysql-test/r/func_compress.result: Fix for bug #18643: crazy UNCOMPRESS(). - test-case mysql-test/t/func_compress.test: Fix for bug #18643: crazy UNCOMPRESS(). - test-case sql/item_strfunc.cc: Fix for bug #18643: crazy UNCOMPRESS(). - set null_value. --- sql/item_strfunc.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'sql/item_strfunc.cc') diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index 04765e18191..f0127ed2a5d 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -2850,6 +2850,7 @@ String *Item_func_uncompress::val_str(String *str) if (!res) goto err; + null_value= 0; if (res->is_empty()) return res; -- cgit v1.2.1