Skip to content

Commit

Permalink
Mysqli doesn't support the named parameters used by PdoStore
Browse files Browse the repository at this point in the history
  • Loading branch information
duncan3dc committed Jan 17, 2020
1 parent 613dde5 commit 48b0f50
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Store/PdoStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ private function getDriver(): string
} else {
switch ($this->driver = $con->getDriver()->getName()) {
case 'mysqli':
throw new NotSupportedException(sprintf('The store "%s" does not support the mysqli driver, use pdo_mysql instead.', \get_class($this)));
case 'pdo_mysql':
case 'drizzle_pdo_mysql':
$this->driver = 'mysql';
Expand Down

0 comments on commit 48b0f50

Please sign in to comment.