|
|
|
@ -56,7 +56,19 @@ insert into t1 values(NULL), (compress('a')); |
|
|
|
select uncompress(a), uncompressed_length(a) from t1; |
|
|
|
drop table t1; |
|
|
|
|
|
|
|
# End of 4.1 tests |
|
|
|
# |
|
|
|
# Bug #23254: problem with compress(NULL) |
|
|
|
# |
|
|
|
|
|
|
|
create table t1(a blob); |
|
|
|
insert into t1 values ('0'), (NULL), ('0'); |
|
|
|
--disable_result_log |
|
|
|
select compress(a), compress(a) from t1; |
|
|
|
--enable_result_log |
|
|
|
select compress(a) is null from t1; |
|
|
|
drop table t1; |
|
|
|
|
|
|
|
--echo End of 4.1 tests |
|
|
|
|
|
|
|
# |
|
|
|
# Bug #18539: uncompress(d) is null: impossible? |
|
|
|
|