Sphinx search: failed to unpack mysqlcompress column
        Posted  
        
            by Un_tangable
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Un_tangable
        
        
        
        Published on 2010-05-19T12:47:07Z
        Indexed on 
            2010/05/19
            12:50 UTC
        
        
        Read the original article
        Hit count: 196
        
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?
© Stack Overflow or respective owner