]> git.mxchange.org Git - friendica.git/commitdiff
Use "pdo_emulate_prepares" by default
authorMichael <heluecht@pirati.ca>
Wed, 24 Feb 2021 05:54:49 +0000 (05:54 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 24 Feb 2021 05:54:49 +0000 (05:54 +0000)
static/defaults.config.php

index 91a048b9452cc7645fb51e42672556d9e96c9de3..3e05cab2ba8e045145b08b8323e290bb1cc96e42 100644 (file)
@@ -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.