diff options
author | jakob <jakob@eggerapps.at> | 2010-06-30 13:40:38 +0000 |
---|---|---|
committer | jakob <jakob@eggerapps.at> | 2010-06-30 13:40:38 +0000 |
commit | 92b97ba3f3ee634e101483f5129f25b4f8230117 (patch) | |
tree | 6e2592ed4d177b29529df6774cf2dd3a6108a65b /Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h | |
parent | e7502a90d7f5ff4a33c73d54ea81a4e539d0e3ce (diff) | |
download | sequelpro-92b97ba3f3ee634e101483f5129f25b4f8230117.tar.gz sequelpro-92b97ba3f3ee634e101483f5129f25b4f8230117.tar.bz2 sequelpro-92b97ba3f3ee634e101483f5129f25b4f8230117.zip |
Improved calling of stored procedures:
- added the CLIENT_MULTI_RESULTS flag to the connection flags
- automatically discard all remaining results when unlocking the connection
This is not a perfect solution, but will improve usability a lot for those who often call stored procedures. Sequel Pro still doesn't support multiple results -- it will show only the first and silently discard all the remaining ones.
Diffstat (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h')
-rw-r--r-- | Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h index 60c9dcb6..4b2e0cdb 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPConnection.h @@ -277,6 +277,7 @@ void performThreadedKeepAlive(void *ptr); - (void)cancelCurrentQuery; - (BOOL)queryCancelled; - (BOOL)queryCancellationUsedReconnect; +- (void)flushMultiResults; // Locking - (void)lockConnection; |