pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2018-05-22
2018-05-22 13:35:00 by Stephen R. van den Berg <srb@cuci.nl>
fa3f9e9ed37d02187f363465e545b905c0f94023 (
7
lines) (+
4
/-
3
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Fix unitialised mode regression from last commit.
469:
describe_backtrace(nostash->current_locking_thread()->backtrace())); #endif while (lock = (waitforreal ? nostash->lock : nostash->trylock)(1)) {
-
int mode;
+
stashcount->wait_till_drained(); #ifdef PG_DEBUGRACE conxsess sess = conxsess(this); #endif started = lock;
-
lock = 0; //
Force
release
before
acquiring
next
-
if (sizeof(stash) && getstash(KEEP) > KEEP)
+
lock = 0; //
Release
often,
release
early
+
int mode;
+
if (sizeof(stash) &&
(mode =
getstash(KEEP)
)
> KEEP)
sendcmd(mode); // Force out stash to the server #ifdef PG_DEBUGRACE return sess;