aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseRename.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseRename.m')
-rw-r--r--Source/SPDatabaseRename.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/SPDatabaseRename.m b/Source/SPDatabaseRename.m
index b565b406..ed0374a7 100644
--- a/Source/SPDatabaseRename.m
+++ b/Source/SPDatabaseRename.m
@@ -50,7 +50,7 @@
SPDatabaseInfo *databaseInfo = [self getDBInfoObject];
// Check, whether the source database exists and the target database doesn't.
- NSArray *tables = [NSArray array];
+ NSArray *tables = nil;
BOOL sourceExists = [databaseInfo databaseExists:sourceDatabaseName];
BOOL targetExists = [databaseInfo databaseExists:targetDatabaseName];