diff options
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h index 1720fcf6..8fe79573 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h @@ -127,6 +127,8 @@ // Queries BOOL retryQueriesOnConnectionFailure; + + SPMySQLClientFlags clientFlags; } #pragma mark - @@ -164,6 +166,14 @@ @property (readwrite, assign) BOOL lastQueryWasCancelled; +/** + * The mysql client capability flags to set when connecting. + * See CLIENT_* in mysql.h + */ +@property (readwrite, assign, nonatomic) SPMySQLClientFlags clientFlags; +- (void)addClientFlags:(SPMySQLClientFlags)opts; +- (void)removeClientFlags:(SPMySQLClientFlags)opts; + #pragma mark - #pragma mark Connection and disconnection |