From 14225e655de4589dd6ad001757542b69ffb1feea Mon Sep 17 00:00:00 2001 From: bvrbanec Date: Thu, 16 Mar 2017 16:04:24 +0000 Subject: [PATCH] Fix a typo --- lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php b/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php index d89ed798fcc37..88c49c7a9cfea 100644 --- a/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php +++ b/lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php @@ -2502,7 +2502,7 @@ public function dropTemporaryTable($tableName, $schemaName = null) public function truncateTable($tableName, $schemaName = null) { if (!$this->isTableExists($tableName, $schemaName)) { - throw new \Zend_Db_Exception(sprintf('Table "%s" is not exists', $tableName)); + throw new \Zend_Db_Exception(sprintf('Table "%s" does not exist', $tableName)); } $table = $this->quoteIdentifier($this->_getTableName($tableName, $schemaName)); @@ -2536,7 +2536,7 @@ public function isTableExists($tableName, $schemaName = null) public function renameTable($oldTableName, $newTableName, $schemaName = null) { if (!$this->isTableExists($oldTableName, $schemaName)) { - throw new \Zend_Db_Exception(sprintf('Table "%s" is not exists', $oldTableName)); + throw new \Zend_Db_Exception(sprintf('Table "%s" does not exist', $oldTableName)); } if ($this->isTableExists($newTableName, $schemaName)) { throw new \Zend_Db_Exception(sprintf('Table "%s" already exists', $newTableName));