aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2009-11-28 19:58:03 +0000
committerrowanbeentje <rowan@beent.je>2009-11-28 19:58:03 +0000
commit657966e2c2b37a988b145813e1787af4e6a962ad (patch)
tree579d83d09178e7fd266e803d6deadf2dbb1bb9ba /Source/CustomQuery.h
parent19867175eed5aebee585c1ba6d8901176422703d (diff)
downloadsequelpro-657966e2c2b37a988b145813e1787af4e6a962ad.tar.gz
sequelpro-657966e2c2b37a988b145813e1787af4e6a962ad.tar.bz2
sequelpro-657966e2c2b37a988b145813e1787af4e6a962ad.zip
- When working with the storage arrays for CustomQuery and TableContent, use thread locking to ensure data safety while the table is loading. This should fix intermittent loading and reload issues, including part of #463 and should address Issue #482
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index d9963799..0cbb6c0c 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -122,10 +122,12 @@
NSString *helpHTMLTemplate;
NSMutableArray *fullResult;
+ pthread_mutex_t fullResultLock;
NSInteger fullResultCount;
NSArray *cqColumnDefinition;
NSString *lastExecutedQuery;
+ BOOL isWorking;
BOOL tableReloadAfterEditing;
BOOL queryIsTableSorter;
BOOL isDesc;