Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
bvrbanec committed Mar 16, 2017
1 parent 31ccd73 commit 14225e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/Magento/Framework/DB/Adapter/Pdo/Mysql.php
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down Expand Up @@ -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));
Expand Down

0 comments on commit 14225e6

Please sign in to comment.