aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2009-11-13 12:18:47 +0000
committerstuconnolly <stuart02@gmail.com>2009-11-13 12:18:47 +0000
commitd6e9ec7664681c8a03fdbd96a38277abb99271f4 (patch)
tree6bdfcf956cf57d8f2afeba99ccb759cce4a925e7 /Source/CustomQuery.m
parent53b268eece1c040b71a58bb7652e360263f4d3f0 (diff)
downloadsequelpro-d6e9ec7664681c8a03fdbd96a38277abb99271f4.tar.gz
sequelpro-d6e9ec7664681c8a03fdbd96a38277abb99271f4.tar.bz2
sequelpro-d6e9ec7664681c8a03fdbd96a38277abb99271f4.zip
Move query mode constants to SPConstants.h.
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 ) {