aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CMCopyTable.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CMCopyTable.m')
-rw-r--r--Source/CMCopyTable.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/CMCopyTable.m b/Source/CMCopyTable.m
index 85f8a20e..1ed22248 100644
--- a/Source/CMCopyTable.m
+++ b/Source/CMCopyTable.m
@@ -26,6 +26,7 @@
#import "SPArrayAdditions.h"
#import "CMMCPConnection.h"
#import "TableContent.h"
+#import "CustomQuery.h"
int MENU_EDIT_COPY_WITH_COLUMN = 2001;
int MENU_EDIT_COPY_AS_SQL = 2002;
@@ -240,7 +241,7 @@ int MENU_EDIT_COPY_AS_SQL = 2002;
[mySQLConnection prepareString:[rowData description]]]];
break;
case 2: // blob
- if ([prefs boolForKey:@"LoadBlobsAsNeeded"]) {
+ if (![[self delegate] isKindOfClass:[CustomQuery class]] && [prefs boolForKey:@"LoadBlobsAsNeeded"]) {
// Abort if there are no indices on this table or if there's no table name given.
if (![[tableInstance argumentForRow:row] length] || selectedTable == nil)
@@ -260,7 +261,7 @@ int MENU_EDIT_COPY_AS_SQL = 2002;
}
break;
case 3: // long text data
- if ([prefs boolForKey:@"LoadBlobsAsNeeded"]) {
+ if (![[self delegate] isKindOfClass:[CustomQuery class]] && [prefs boolForKey:@"LoadBlobsAsNeeded"]) {
// Abort if there are no indices on this table or if there's no table name given.
if (![[tableInstance argumentForRow:row] length] || selectedTable == nil)