From 32ebe7d258eee3b2793de188989a5aefefa8e41c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Wed, 1 Feb 2012 22:46:03 +0000 Subject: [PATCH 1/1] CommodsDatabase: use "sqlite_unicode" not "unicode" --- yarrg/CommodsDatabase.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarrg/CommodsDatabase.pm b/yarrg/CommodsDatabase.pm index 999dda7..f704f12 100644 --- 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 -- 2.30.2