aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableCopy.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/SPTableCopy.m')
-rw-r--r--Source/SPTableCopy.m8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/SPTableCopy.m b/Source/SPTableCopy.m
index be486cf2..d390243c 100644
--- a/Source/SPTableCopy.m
+++ b/Source/SPTableCopy.m
@@ -53,13 +53,9 @@
[connection queryString:createTableStatement];
- if ([connection queryErrored]) {
- [createTableStatement release];
-
- return NO;
- }
+ [createTableStatement release];
- return YES;
+ return [connection queryErrored];
}
[createTableStatement release];