chiark / gitweb /
CommodsDatabase: use "sqlite_unicode" not "unicode"
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 1 Feb 2012 22:46:03 +0000 (22:46 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Wed, 1 Feb 2012 22:46:03 +0000 (22:46 +0000)
yarrg/CommodsDatabase.pm

index 999dda7..f704f12 100644 (file)
@@ -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