Mysqli doesn't support the named parameters used by PdoStore
This commit is contained in:
parent
477e843790
commit
ef3bcda5e3
@ -307,6 +307,7 @@ class PdoStore implements StoreInterface
|
||||
} 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';
|
||||
|
Reference in New Issue
Block a user