aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2012-10-14 19:22:45 +0000
committerrowanbeentje <rowan@beent.je>2012-10-14 19:22:45 +0000
commitd8896ae0a22b0014d0b43706280c8a390f14b058 (patch)
tree7ffd10862c22a37507bd7d10edae26d015fd5620 /Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m
parentdc45c654aab99cbccecda192396dc8baefd5690e (diff)
downloadsequelpro-d8896ae0a22b0014d0b43706280c8a390f14b058.tar.gz
sequelpro-d8896ae0a22b0014d0b43706280c8a390f14b058.tar.bz2
sequelpro-d8896ae0a22b0014d0b43706280c8a390f14b058.zip
- Clean up some connection cancellation/close-during-connect edges as a result of r3894, attempting to improve some exceptions during aborted connections
- Name threads created in SPMySQL.framework
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m b/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m
index 1fa4b829..064494f3 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLFastStreamingResult.m
@@ -336,6 +336,8 @@ typedef struct st_spmysqlstreamingrowdata {
NSUInteger i, dataCopiedLength, rowDataLength;
SPMySQLStreamingRowData *newRowStore;
+ [[NSThread currentThread] setName:@"SPMySQLFastStreamingResult data download thread"];
+
size_t sizeOfStreamingRowData = sizeof(SPMySQLStreamingRowData);
size_t sizeOfDataLengths = (size_t)(sizeof(unsigned long) * numberOfFields);
size_t sizeOfChar = sizeof(char);