in reply to Re^3: How do I read from a compressed SQLite FTS4 database with DBD::SQLite?
in thread How do I read from a compressed SQLite FTS4 database with DBD::SQLite?
sub compressor { my $in = shift; $in = encode ('utf8', $in); my $out; gzip \$in => \$out; return ($out); } sub uncompressor { my $in = shift; my $out; gunzip \$in => \$out; return (decode ('utf8', $out)); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: How do I read from a compressed SQLite FTS4 database with DBD::SQLite?
by taint (Chaplain) on Nov 30, 2013 at 06:39 UTC | |
by elef (Friar) on Nov 30, 2013 at 09:57 UTC | |
by taint (Chaplain) on Nov 30, 2013 at 19:54 UTC |