diff options
author | stuconnolly <stuart02@gmail.com> | 2010-09-26 20:18:01 +0000 |
---|---|---|
committer | stuconnolly <stuart02@gmail.com> | 2010-09-26 20:18:01 +0000 |
commit | 15a9a678170c20671e86c5fa18393e1c5bddaff4 (patch) | |
tree | 2dcce2c9beebd56f84a101fac3d8de27ff285f42 /Source/SPQueryController.h | |
parent | 9205ee00ec0d9be788db6c54ed0ca9eba3735b9a (diff) | |
download | sequelpro-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.h | 2 |
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; |