[Embed] Refactoring and bug fixing

This commit is contained in:
Miguel Dantas
2019-07-14 23:35:11 +01:00
committed by Diogo Cordeiro
parent 462ea26303
commit 0c20d35206
4 changed files with 94 additions and 136 deletions

View File

@@ -1073,7 +1073,7 @@ class Schema
try {
$this->getTableDef($new_name);
// New table exists, can't work
throw new ServerException("Both table {$old_name} and {$new_name} exist. You're on your own");
throw new ServerException("Both table {$old_name} and {$new_name} exist. You're on your own.");
} catch(SchemaTableMissingException $e) {
// New table doesn't exist, carry on
}