projects
/
webpac
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
<config> tags (which use values from all2xml.conf) are now properly handled
[webpac]
/
index_DBI_cache.pm
diff --git
a/index_DBI_cache.pm
b/index_DBI_cache.pm
index
43a1b27
..
3c43bc7
100644
(file)
--- a/
index_DBI_cache.pm
+++ b/
index_DBI_cache.pm
@@
-51,6
+51,13
@@
sub new {
$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;
}