aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-02-24 00:30:18 +0000
committerrowanbeentje <rowan@beent.je>2012-02-24 00:30:18 +0000
commit0c91f439a5b23e1b5a6d8139eb47aa5694e2925f (patch)
treec6d5b81773bfa78458dc249d582b04066f2c4373 /Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories
parent05f1612cbb7e33cf9135a346fc2505cc0e87e853 (diff)
downloadsequelpro-0c91f439a5b23e1b5a6d8139eb47aa5694e2925f.tar.gz
sequelpro-0c91f439a5b23e1b5a6d8139eb47aa5694e2925f.tar.bz2
sequelpro-0c91f439a5b23e1b5a6d8139eb47aa5694e2925f.zip
Improvements to SPMySQL framework:
- Correctly record affected rows - Fix thread safety/autorelease issues when draining pools during fast iteration - Improve streaming result processing speed
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
index e3ce599a..cb5ce70d 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLConnection Categories/Querying & Preparation.m
@@ -346,9 +346,10 @@
}
}
- // Update error string and ID
+ // Update error string and ID, and the rows affected
[self _updateLastErrorMessage:theErrorMessage];
[self _updateLastErrorID:theErrorID];
+ lastQueryAffectedRowCount = theAffectedRowCount;
// Store the result time on the response object
[theResult _setQueryExecutionTime:queryExecutionTime];