aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryController.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-09-26 20:18:01 +0000
committerstuconnolly <stuart02@gmail.com>2010-09-26 20:18:01 +0000
commit15a9a678170c20671e86c5fa18393e1c5bddaff4 (patch)
tree2dcce2c9beebd56f84a101fac3d8de27ff285f42 /Source/SPQueryController.h
parent9205ee00ec0d9be788db6c54ed0ca9eba3735b9a (diff)
downloadsequelpro-15a9a678170c20671e86c5fa18393e1c5bddaff4.tar.gz
sequelpro-15a9a678170c20671e86c5fa18393e1c5bddaff4.tar.bz2
sequelpro-15a9a678170c20671e86c5fa18393e1c5bddaff4.zip
Implement threading locking when modifying the query console/controller's log data storage to prevent race conditions. Should fix crash: http://spbug.com/l/1644
Diffstat (limited to 'Source/SPQueryController.h')
-rw-r--r--Source/SPQueryController.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPQueryController.h b/Source/SPQueryController.h
index 797d5b6b..9c8a9c8f 100644
--- a/Source/SPQueryController.h
+++ b/Source/SPQueryController.h
@@ -57,6 +57,8 @@
NSUserDefaults *prefs;
NSDateFormatter *dateFormatter;
+
+ pthread_mutex_t consoleLock;
}
@property (readwrite, retain) NSFont *consoleFont;