Mysqli doesn't support the named parameters used by PdoAdapter
This commit is contained in:
parent
d695b43b98
commit
a7864489b0
@ -395,6 +395,7 @@ trait PdoTrait
|
||||
} else {
|
||||
switch ($this->driver = $this->conn->getDriver()->getName()) {
|
||||
case 'mysqli':
|
||||
throw new \LogicException(sprintf('The adapter "%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