pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2018-05-24
2018-05-24 16:50:13 by Stephen R. van den Berg <srb@cuci.nl>
8bd75e942be6e4485e0450f49db48a038bda0fea (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Make replenishrows() wait until the query has properly started.
1453:
} private void replenishrows() {
-
if (_fetchlimit && datarows->size() <= _fetchlimit >> 1) {
+
if (_fetchlimit && datarows->size() <= _fetchlimit >> 1
+
&& _state >= COMMITTED
) {
Thread.MutexKey lock = closemux->lock(); if (_fetchlimit) { _fetchlimit = pgsqlsess._fetchlimit;