From e97843a4a013f8f9ee60beb59147595dab3da4d8 Mon Sep 17 00:00:00 2001 From: Takatsugu Shigeta Date: Mon, 14 Sep 2020 18:16:35 +0900 Subject: [PATCH] binchar should be handle as text, not binary --- lib/Data/ObjectDriver/Driver/DBD/SQLite.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Data/ObjectDriver/Driver/DBD/SQLite.pm b/lib/Data/ObjectDriver/Driver/DBD/SQLite.pm index 0e14c47e..de655754 100644 --- a/lib/Data/ObjectDriver/Driver/DBD/SQLite.pm +++ b/lib/Data/ObjectDriver/Driver/DBD/SQLite.pm @@ -21,7 +21,7 @@ sub bind_param_attributes { if ($data_type eq 'blob') { return DBI::SQL_BLOB; } elsif ($data_type eq 'binchar') { - return DBI::SQL_BINARY; + return DBI::SQL_VARCHAR; } } return;