We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fea0bba commit 72ccd84Copy full SHA for 72ccd84
lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
@@ -420,6 +420,10 @@ protected function _connect()
420
$this->_config['driver_options'][\PDO::MYSQL_ATTR_MULTI_STATEMENTS] = false;
421
}
422
423
+ if (!isset($this->_config['driver_options'][\PDO::ATTR_STRINGIFY_FETCHES])) {
424
+ $this->_config['driver_options'][\PDO::ATTR_STRINGIFY_FETCHES] = true;
425
+ }
426
+
427
$this->logger->startTimer();
428
parent::_connect();
429
$this->logger->logStats(LoggerInterface::TYPE_CONNECT, '');
0 commit comments