Skip to content

Commit f5e4950

Browse files
committed
Merge branch '4.3' into 4.4
2 parents 6c4f5b6 + 48b0f50 commit f5e4950

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Store/PdoStore.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@ private function getDriver(): string
317317
} else {
318318
switch ($this->driver = $con->getDriver()->getName()) {
319319
case 'mysqli':
320+
throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', \get_class($this)));
320321
case 'pdo_mysql':
321322
case 'drizzle_pdo_mysql':
322323
$this->driver = 'mysql';

0 commit comments

Comments
 (0)