Sqlite3 with data compression (C++)