Sphinx search: failed to unpack mysqlcompress column
- by Un_tangable
I have compiled sphinx 0.9.9 for debian x64.
When I try to index using unpack_mysqlcompress, I get this error:
"WARNING: failed to unpack column 'page_text', error=-5"
The 'page_text' field is around 5Kb, and unpack_mysqlcompress_maxsize is set to 64M,
yet the zlib manual says error -5 indicates Z_BUF_ERROR.
Also if mysql does the decompression using UNCOMPRESS(), it works fine.
Any ideas why sphinx is generating this error?