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 999dda779611b441e2131348e4b6efa5acce0228..f704f1241b90495b05eb120066bc52259b403030 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