From 0a455850e8499d881ee2bc6c7bd87f35d94d4fa9 Mon Sep 17 00:00:00 2001 From: Kenichi Ishigaki Date: Fri, 30 Jul 2021 23:11:48 +0900 Subject: [PATCH] Fix doc that uses string_mode without the sqlite_ prefix (#86) --- lib/DBD/SQLite.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/DBD/SQLite.pm b/lib/DBD/SQLite.pm index 96f878d..f9e2d54 100644 --- a/lib/DBD/SQLite.pm +++ b/lib/DBD/SQLite.pm @@ -1655,7 +1655,7 @@ updates: use DBI qw(:sql_types); use DBD::SQLite::Constants ':dbd_sqlite_string_mode'; - $dbh->{string_mode} = DBD_SQLITE_STRING_MODE_UNICODE_FALLBACK; + $dbh->{sqlite_string_mode} = DBD_SQLITE_STRING_MODE_UNICODE_FALLBACK; my $sth = $dbh->prepare("INSERT INTO mytable (blobcolumn) VALUES (?)"); # Binary_data will be stored as is.