Merge pull request #9955 from annando/pdo-emulate-prepares

Use "pdo_emulate_prepares" by default
This commit is contained in:
Hypolite Petovan 2021-02-24 08:54:14 -05:00 committed by GitHub
commit de90f5351f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ return [
// pdo_emulate_prepares (Boolean) // pdo_emulate_prepares (Boolean)
// If enabled, the builtin emulation for prepared statements is used. // 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". // 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) // disable_pdo (Boolean)
// PDO is used by default (if available). Otherwise MySQLi will be used. // PDO is used by default (if available). Otherwise MySQLi will be used.