Uncompresses a string compressed by the COMPRESS() function. If the argument is not a compressed value, the result is NULL; if string_to_uncompress is NULL, the result is also NULL. This function requires MySQL to have been compiled with a compression library such as zlib. Otherwise, the return value is always NULL.
SELECT UNCOMPRESS(COMPRESS('any string'));
'any string'
SELECT UNCOMPRESS('any string');
NULL
SELECT UNCOMPRESS(COMPRESS('any string'));
'any string'
SELECT UNCOMPRESS('any string');
NULL