diff options
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConstants.h')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConstants.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConstants.h b/Frameworks/SPMySQLFramework/Source/SPMySQLConstants.h index 0a1beb96..c556b90d 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConstants.h +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConstants.h @@ -81,3 +81,22 @@ typedef NS_OPTIONS(unsigned long, SPMySQLClientFlags) { SPMySQLClientFlagInteractive = 1024, // CLIENT_INTERACTIVE SPMySQLClientFlagMultiResults = (1UL << 17) // CLIENT_MULTI_RESULTS = 131072 }; + +typedef struct { + unsigned int inTransaction:1; + unsigned int autocommit:1; + unsigned int _reserved1:1; + unsigned int moreResultsExists:1; + unsigned int queryNoGoodIndexUsed:1; + unsigned int queryNoIndexUsed:1; + unsigned int cursorExists:1; + unsigned int lastRowSent:1; + unsigned int dbDropped:1; + unsigned int noBackslashEscapes:1; + unsigned int metadataChanged:1; + unsigned int queryWasSlow:1; + unsigned int psOutParams:1; + unsigned int inTransReadonly:1; + unsigned int sessionStateChanged:1; + unsigned int _reserved2:1; +} SPMySQLServerStatusBits; |