parent
031ce69567
commit
1e707dfc98
@ -1,29 +0,0 @@
|
||||
From 6e7986e8d410cb25ded2ab958108170dc3835038 Mon Sep 17 00:00:00 2001
|
||||
From: Kenichi Ishigaki <ishigaki@cpan.org>
|
||||
Date: Fri, 30 Jul 2021 06:05:13 +0900
|
||||
Subject: [PATCH] Silence the deprecation warning of sqlite_unicode as it's so
|
||||
widely used
|
||||
|
||||
---
|
||||
dbdimp.c | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/dbdimp.c b/dbdimp.c
|
||||
index a8361ac..6dbff60 100644
|
||||
--- a/dbdimp.c
|
||||
+++ b/dbdimp.c
|
||||
@@ -857,7 +857,10 @@ sqlite_db_STORE_attrib(SV *dbh, imp_dbh_t *imp_dbh, SV *keysv, SV *valuesv)
|
||||
}
|
||||
|
||||
if (strEQ(key, "sqlite_unicode") || strEQ(key, "unicode")) {
|
||||
- _warn_deprecated_if_possible(key, "sqlite_string_mode");
|
||||
+ if (strEQ(key, "unicode")) {
|
||||
+ /* it's too early to warn the deprecation of sqlite_unicode as it's widely used */
|
||||
+ _warn_deprecated_if_possible(key, "sqlite_string_mode");
|
||||
+ }
|
||||
#if PERL_UNICODE_DOES_NOT_WORK_WELL
|
||||
sqlite_trace(dbh, imp_dbh, 3, form("Unicode support is disabled for this version of perl."));
|
||||
imp_dbh->string_mode = DBD_SQLITE_STRING_MODE_PV;
|
||||
--
|
||||
2.32.0
|
||||
|
@ -1 +1 @@
|
||||
SHA512 (DBD-SQLite-1.68.tar.gz) = 83d7d19404949900bcc8464bf7786893bb53fdc04dbdee2f31f7bf4564dfc2bcf4218190460e34e5bf5633d1d958b729be7c7b5e6b539cdad6e732529d042372
|
||||
SHA512 (DBD-SQLite-1.70.tar.gz) = 163d53a8a214202a39b346ae023f9d10255c69dde537bc764a4ef312b62ef7b02ae1400e6c1a59d0483fd98abba6c36939214c13f5d9b3a2727c41753ba59060
|
||||
|
Loading…
Reference in new issue