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:49:33 by Stephen R. van den Berg <srb@cuci.nl>
c248e9d024d0dd74d0bc115d20595c5f9b237c4e (
4
lines) (+
3
/-
1
)
[
Show
|
Annotate
]
Branch:
master
pgsql: Make replenishrows() wait until the query has properly started.
1635:
} 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;