mirror of
https://github.com/gnustep/libs-sqlclient.git
synced 2025-02-20 18:32:06 +00:00
fix minor thread safety issue
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/sqlclient/trunk@37878 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
8d406989d0
commit
8046f5c92c
3 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
|||
2014-05-13 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* SQLClient.m:
|
||||
Fix tiny window in which a connection could be unlocked yet have
|
||||
the flag set to say it is in a transaction (thus potentially
|
||||
allowing a locking consistency error).
|
||||
|
||||
2014-05-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* GNUmakefile: new subminor version for bugfix release
|
||||
|
|
|
@ -1134,7 +1134,7 @@ SQLCLIENT_PRIVATE
|
|||
selector: (SEL)aSelector
|
||||
name: (NSString*)name;
|
||||
|
||||
/** Posts a notification via the dastabase. The name is an SQL identifier
|
||||
/** Posts a notification via the database. The name is an SQL identifier
|
||||
* (for which observers may have registered) and the extra payload
|
||||
* information may be nil if not required.
|
||||
*/
|
||||
|
|
|
@ -1079,8 +1079,8 @@ static unsigned int maxConnections = 8;
|
|||
}
|
||||
NS_HANDLER
|
||||
{
|
||||
[lock unlock];
|
||||
_inTransaction = NO;
|
||||
[lock unlock];
|
||||
[localException raise];
|
||||
}
|
||||
NS_ENDHANDLER
|
||||
|
|
Loading…
Reference in a new issue