diff -u b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php --- b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php +++ b/core/lib/Drupal/Core/Database/Driver/mysql/Schema.php @@ -329,10 +329,10 @@ public function copyTable($source, $destination) { if (!$this->tableExists($source)) { - throw new SchemaObjectDoesNotExistException(t("Cannot copy @source to @destination: table @source doesn't exist.", array('@table' => $source, '@table_new' => $destination))); + throw new SchemaObjectDoesNotExistException(t("Cannot copy @source to @destination: table @source doesn't exist.", array('@source' => $source, '@destination' => $destination))); } if ($this->tableExists($destination)) { - throw new SchemaObjectExistsException(t("Cannot copy @source to @destination: table @destination already exists.", array('@table' => $source, '@table_new' => $destination))); + throw new SchemaObjectExistsException(t("Cannot copy @source to @destination: table @destination already exists.", array('@source' => $source, '@destination' => $destination))); } $info = $this->getPrefixInfo($destination); return $this->connection->query('CREATE TABLE `' . $info['table'] . '` LIKE {' . $source . '}'); diff -u b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php --- b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php +++ b/core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php @@ -350,10 +350,10 @@ public function copyTable($source, $destination) { if (!$this->tableExists($source)) { - throw new SchemaObjectDoesNotExistException(t("Cannot copy @source to @destination: table @source doesn't exist.", array('@table' => $source, '@table_new' => $destination))); + throw new SchemaObjectDoesNotExistException(t("Cannot copy @source to @destination: table @source doesn't exist.", array('@source' => $source, '@destination' => $destination))); } if ($this->tableExists($destination)) { - throw new SchemaObjectExistsException(t("Cannot copy @source to @destination: table @destination already exists.", array('@table' => $source, '@table_new' => $destination))); + throw new SchemaObjectExistsException(t("Cannot copy @source to @destination: table @destination already exists.", array('@source' => $source, '@destination' => $destination))); } $info = $this->getPrefixInfo($destination); return $this->connection->query('CREATE TABLE `' . $info['table'] . '` (LIKE {' . $source . '} INCLUDING ALL)'); diff -u b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php --- b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php +++ b/core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php @@ -274,10 +274,10 @@ public function copyTable($source, $destination) { if (!$this->tableExists($source)) { - throw new SchemaObjectDoesNotExistException(t("Cannot copy @source to @destination: table @source doesn't exist.", array('@table' => $source, '@table_new' => $destination))); + throw new SchemaObjectDoesNotExistException(t("Cannot copy @source to @destination: table @source doesn't exist.", array('@source' => $source, '@destination' => $destination))); } if ($this->tableExists($destination)) { - throw new SchemaObjectExistsException(t("Cannot copy @source to @destination: table @destination already exists.", array('@table' => $source, '@table_new' => $destination))); + throw new SchemaObjectExistsException(t("Cannot copy @source to @destination: table @destination already exists.", array('@source' => $source, '@destination' => $destination))); } $this->createTable($destination, $this->introspectSchema($source)); }