From e3c690dca16a838d5e66058b9ddf66a795985807 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 24 Feb 2021 05:54:49 +0000 Subject: [PATCH] Use "pdo_emulate_prepares" by default --- static/defaults.config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/defaults.config.php b/static/defaults.config.php index 91a048b945..3e05cab2ba 100644 --- a/static/defaults.config.php +++ b/static/defaults.config.php @@ -56,7 +56,7 @@ return [ // pdo_emulate_prepares (Boolean) // If enabled, the builtin emulation for prepared statements is used. // This can be used as a workaround for the database error "Prepared statement needs to be re-prepared". - 'pdo_emulate_prepares' => false, + 'pdo_emulate_prepares' => true, // disable_pdo (Boolean) // PDO is used by default (if available). Otherwise MySQLi will be used.