aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CustomQuery.m')
-rw-r--r--Source/CustomQuery.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CustomQuery.m b/Source/CustomQuery.m
index 2a1492af..14b8c191 100644
--- a/Source/CustomQuery.m
+++ b/Source/CustomQuery.m
@@ -398,7 +398,7 @@
// BOOL queriesSeparatedByDelimiter = NO;
NSCharacterSet *whitespaceAndNewlineSet = [NSCharacterSet whitespaceAndNewlineCharacterSet];
- [tableDocumentInstance setQueryMode:SP_QUERYMODE_CUSTOMQUERY];
+ [tableDocumentInstance setQueryMode:SPCustomQueryQueryMode];
// Notify listeners that a query has started
[[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryWillBePerformed" object:tableDocumentInstance];
@@ -692,7 +692,7 @@
// Restore automatic query retries
[mySQLConnection setAllowQueryRetries:YES];
- [tableDocumentInstance setQueryMode:SP_QUERYMODE_INTERFACE];
+ [tableDocumentInstance setQueryMode:SPInterfaceQueryMode];
// If no results were returned, redraw the empty table and post notifications before returning.
if ( !fullResultCount ) {