From ef3bcda5e36572424e6c4f75253d70a3dbd3f3cc Mon Sep 17 00:00:00 2001 From: Craig Duncan Date: Fri, 17 Jan 2020 17:21:39 +0000 Subject: [PATCH] Mysqli doesn't support the named parameters used by PdoStore --- src/Symfony/Component/Lock/Store/PdoStore.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Component/Lock/Store/PdoStore.php b/src/Symfony/Component/Lock/Store/PdoStore.php index 0cf3dd35f7..94ef6b1457 100644 --- a/src/Symfony/Component/Lock/Store/PdoStore.php +++ b/src/Symfony/Component/Lock/Store/PdoStore.php @@ -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';