diff options
author | unknown <serg@serg.mylan> | 2003-10-12 15:16:45 +0200 |
---|---|---|
committer | unknown <serg@serg.mylan> | 2003-10-12 15:16:45 +0200 |
commit | 1862f671606e086c68228903abb64d9727f95b72 (patch) | |
tree | b2e6caac84f47ab3a2646ad476043f5d6e6fdde5 /mysql-test/r/func_compress.result | |
parent | b297e76402bc8819d6e7c7765f380a764205388d (diff) | |
download | mariadb-git-1862f671606e086c68228903abb64d9727f95b72.tar.gz |
wrong ER_TOO_BIG_FOR_UNCOMPRESS error in UNCOMPRESS() fixed.
typo in error message text corrected.
new tests added
mysql-test/r/func_compress.result:
new tests added
mysql-test/t/func_compress.test:
new tests added
sql/item_strfunc.cc:
max size of uncompressed data is max_allowed_packet not 8K
sql/share/czech/errmsg.txt:
typo fixed
sql/share/danish/errmsg.txt:
typo fixed
sql/share/dutch/errmsg.txt:
typo fixed
sql/share/english/errmsg.txt:
typo fixed
sql/share/estonian/errmsg.txt:
typo fixed
sql/share/french/errmsg.txt:
typo fixed
sql/share/german/errmsg.txt:
typo fixed
sql/share/greek/errmsg.txt:
typo fixed
sql/share/hungarian/errmsg.txt:
typo fixed
sql/share/italian/errmsg.txt:
typo fixed
sql/share/japanese/errmsg.txt:
typo fixed
sql/share/korean/errmsg.txt:
typo fixed
sql/share/norwegian-ny/errmsg.txt:
typo fixed
sql/share/norwegian/errmsg.txt:
typo fixed
sql/share/polish/errmsg.txt:
typo fixed
sql/share/portuguese/errmsg.txt:
typo fixed
sql/share/romanian/errmsg.txt:
typo fixed
sql/share/russian/errmsg.txt:
typo fixed
sql/share/serbian/errmsg.txt:
typo fixed
sql/share/slovak/errmsg.txt:
typo fixed
sql/share/spanish/errmsg.txt:
typo fixed
sql/share/swedish/errmsg.txt:
typo fixed
sql/share/ukrainian/errmsg.txt:
typo fixed
Diffstat (limited to 'mysql-test/r/func_compress.result')
-rw-r--r-- | mysql-test/r/func_compress.result | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/mysql-test/r/func_compress.result b/mysql-test/r/func_compress.result index 57eef44b3bb..85842f28e64 100644 --- a/mysql-test/r/func_compress.result +++ b/mysql-test/r/func_compress.result @@ -40,9 +40,21 @@ uncompress(compress("")) select uncompressed_length(""); uncompressed_length("") 0 -select compress(NULL); -compress(NULL) +create table t1 (a text); +insert t1 values (compress(null)), ('A\0\0\0BBBBBBBB'), (compress(space(50000))), (space(50000)); +select length(a) from t1; +length(a) NULL -select uncompress(NULL); -uncompress(NULL) +12 +76 +50000 +select length(uncompress(a)) from t1; +length(uncompress(a)) NULL +NULL +50000 +NULL +Warnings: +Error 1258 Z_DATA_ERROR: Input data was corrupted for zlib +Error 1255 Too big size of uncompressed data. The maximum size is 1048576. (probably, length of uncompressed data was corrupted) +drop table t1; |