--- trunk/index_DBI_cache.pm 2004/02/10 10:20:50 225 +++ trunk/index_DBI_cache.pm 2004/02/11 08:33:51 226 @@ -51,6 +51,13 @@ $self->bench("connected to $dbd as $user"); + # force SQLite to support binary 0 in data (which shouldn't + # happend, but it did to me) + eval { + no warnings 'all'; + $self->{dbh}->{sqlite_handle_binary_nulls} = 1; + }; + return $self; }