map oracle driver options to params (#23938)
This commit is contained in:
parent
a0d8702a1c
commit
c668588e17
|
@ -104,6 +104,10 @@ class ConnectionFactory {
|
|||
break;
|
||||
case 'oci':
|
||||
$eventManager->addEventSubscriber(new OracleSessionInit);
|
||||
// the driverOptions are unused in dbal and need to be mapped to the parameters
|
||||
if (isset($additionalConnectionParams['driverOptions'])) {
|
||||
$additionalConnectionParams = array_merge($additionalConnectionParams, $additionalConnectionParams['driverOptions']);
|
||||
}
|
||||
break;
|
||||
case 'sqlite3':
|
||||
$journalMode = $additionalConnectionParams['sqlite.journal_mode'];
|
||||
|
|
Loading…
Reference in New Issue