diff options
author | Max <post@wickenrode.com> | 2014-03-05 03:36:32 +0100 |
---|---|---|
committer | Max <post@wickenrode.com> | 2014-03-05 03:36:32 +0100 |
commit | b67728258595b7ce256ea50485ee6e6cb8137ac8 (patch) | |
tree | eab934d5e0ddfd4a10b35760876d4e1b76c4d879 /Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h | |
parent | 5c0212a51d21f06f3beb62059b0b17c6ee1d8c91 (diff) | |
download | sequelpro-b67728258595b7ce256ea50485ee6e6cb8137ac8.tar.gz sequelpro-b67728258595b7ce256ea50485ee6e6cb8137ac8.tar.bz2 sequelpro-b67728258595b7ce256ea50485ee6e6cb8137ac8.zip |
Add support for SQLSTATE
This commit adds the backend code to get the mysql SQLSTATE error code (to be used when displaying errors).
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h index bf15d5b4..34b21043 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection.h @@ -104,6 +104,7 @@ // Error state for the last query or connection state NSUInteger queryErrorID; NSString *queryErrorMessage; + NSString *querySqlstate; // Query details unsigned long long lastQueryAffectedRowCount; |