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/SPMySQLFastStreamingResult.m | |
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/SPMySQLFastStreamingResult.m')
-rw-r--r-- | Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m b/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m index 9b98a703..705b3daf 100644 --- a/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m +++ b/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m @@ -393,6 +393,7 @@ typedef struct st_spmysqlstreamingrowdata { // Update the connection's error statuses to reflect any errors during the content download [parentConnection _updateLastErrorID:NSNotFound]; [parentConnection _updateLastErrorMessage:nil]; + [parentConnection _updateLastSqlstate:nil]; // Unlock the parent connection now all data has been retrieved [parentConnection _unlockConnection]; |