Syntax
COMPRESS(str)
Purpose
COMPRESS() compresses a string and returns the result as a binary string. UNCOMPRESS decompresses the result.
Examples
obclient [test]> SELECT COMPRESS(NULL);
+----------------+
| COMPRESS(NULL) |
+----------------+
| NULL |
+----------------+
1 row in set