aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h
diff options
context:
space:
mode:
authorMax <dmoagx@users.noreply.github.com>2018-05-02 01:32:11 +0200
committerMax <dmoagx@users.noreply.github.com>2018-05-02 01:32:11 +0200
commit7f35608f0ab5f9192245a5bc8dd74da793788389 (patch)
tree0cbbfb717e96c79346ea0be18e852cb6931d4300 /Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h
parent5bd7cde2e69991b5cd9bde424c45e2da5bb34292 (diff)
downloadsequelpro-7f35608f0ab5f9192245a5bc8dd74da793788389.tar.gz
sequelpro-7f35608f0ab5f9192245a5bc8dd74da793788389.tar.bz2
sequelpro-7f35608f0ab5f9192245a5bc8dd74da793788389.zip
* More formatting changes
* Fix an unintended switch/case fallthrough (the error got caught soon afterwards, so this never really caused problems) * Fix a typo in the mysql fallback charset mappings (119 should’ve been 199) * Fix a charset confusion issue (SPMySQL’s compiled-in C strings are in UTF-8, not the connection encoding of the mysql connection)
Diffstat (limited to 'Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h')
-rw-r--r--Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h b/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h
index 5fa6f406..cbcb82a9 100644
--- a/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h
+++ b/Frameworks/SPMySQLFramework/Source/SPMySQLStreamingResultStore.h
@@ -40,15 +40,14 @@ typedef char SPMySQLStreamingResultStoreRowData;
BOOL loadCancelled;
id <SPMySQLStreamingResultStoreDelegate> delegate;
- // Data storage and allocation
- NSUInteger rowCapacity;
+ // Data storage and allocation
+ NSUInteger rowCapacity;
NSUInteger rowDownloadIterator;
malloc_zone_t *storageMallocZone;
- SPMySQLStreamingResultStoreRowData **dataStorage;
-
- // Thread safety
- pthread_mutex_t dataLock;
+ SPMySQLStreamingResultStoreRowData **dataStorage;
+ // Thread safety
+ pthread_mutex_t dataLock;
}
@property (readwrite, assign) id <SPMySQLStreamingResultStoreDelegate> delegate;