aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseCopy.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPDatabaseCopy.m')
-rw-r--r--Source/SPDatabaseCopy.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPDatabaseCopy.m b/Source/SPDatabaseCopy.m
index 66b6ba1b..2c9e11ad 100644
--- a/Source/SPDatabaseCopy.m
+++ b/Source/SPDatabaseCopy.m
@@ -25,6 +25,7 @@
#import "SPDBActionCommons.h"
#import "SPDatabaseCopy.h"
#import "SPTableCopy.h"
+#import "SPMySQL.h"
@implementation SPDatabaseCopy
@@ -58,7 +59,7 @@
if (sourceExists && !targetExists) {
// Retrieve the list of tables/views/funcs/triggers from the source database
- tables = [connection listTablesFromDB:sourceDatabaseName];
+ tables = [connection tablesFromDatabase:sourceDatabaseName];
}
else {
return NO;