aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-03-26 13:14:54 +0000
committerstuconnolly <stuart02@gmail.com>2010-03-26 13:14:54 +0000
commit2c558dccc2235bfbd9c8f2114bbffa99c78c4af5 (patch)
treef22159b831abab0acb06a40c3800bdd32b1cd746 /Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
parent6fb53eb4a62184f5ed0d8bdf42ff0973dd552ff9 (diff)
downloadsequelpro-2c558dccc2235bfbd9c8f2114bbffa99c78c4af5.tar.gz
sequelpro-2c558dccc2235bfbd9c8f2114bbffa99c78c4af5.tar.bz2
sequelpro-2c558dccc2235bfbd9c8f2114bbffa99c78c4af5.zip
Minor MCPKit tidy up, including the resolution of potential issues raised during static analysis.
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h')
-rw-r--r--Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h b/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
index 816d68ca..acdeee16 100644
--- a/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
+++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConstants.h
@@ -43,12 +43,21 @@ enum {
};
typedef NSUInteger MCPConnectionCheck;
+// Streaming result set constants
+enum
+{
+ MCPStreamingNone = 0,
+ MCPStreamingFast = 1,
+ MCPStreamingLowMem = 2
+};
+typedef NSUInteger MCPQueryStreamingType;
+
// Charcater set mapping constants
typedef struct _OUR_CHARSET
{
NSUInteger nr;
- const char *name;
- const char *collation;
+ const char *name;
+ const char *collation;
NSUInteger char_minlen;
NSUInteger char_maxlen;
} OUR_CHARSET;