chiark
/
gitweb
/
~ijackson
/
ypp-sc-tools
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
0b546c6
)
CommodsDatabase: use "sqlite_unicode" not "unicode"
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 1 Feb 2012 22:46:03 +0000 (22:46 +0000)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Wed, 1 Feb 2012 22:46:03 +0000 (22:46 +0000)
yarrg/CommodsDatabase.pm
patch
|
blob
|
history
diff --git
a/yarrg/CommodsDatabase.pm
b/yarrg/CommodsDatabase.pm
index
999dda7
..
f704f12
100644
(file)
--- a/
yarrg/CommodsDatabase.pm
+++ b/
yarrg/CommodsDatabase.pm
@@
-67,7
+67,7
@@
sub db_connect_core ($) {
my $h= DBI->connect("dbi:SQLite:$fn",'','',
{ AutoCommit=>0,
RaiseError=>1, ShowErrorStatement=>1,
- unicode=>1 })
+ sqlite_unicode=>1 })
or die "$fn $DBI::errstr ?";
return $h;
# default timeout is 30s which is plenty