salviati/sqlite3-lz4 — pull request #4 by mwotton (2014-06-19 00:59:57+00:00)
Title: Works with FTS

This is a bit more wideranging - now compress and uncompress are no-ops on non-blob data.

However, you may not want to accept this patch - it now only compresses text, not blobs. This is adequate for me, but will obviously break existing code. I think a full solution would have to store the sqlite3 datatype inside the compressed data and rehydrate it appropriately.