pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2022-06-01
2022-06-01 23:38:49 by Martin Nilsson <nilsson@fastmail.com>
74664ed633fb6a71fc3ae18b683449267b3bc77d (
12
lines) (+
7
/-
5
)
[
Show
|
Annotate
]
Branch:
master
Added zero as return type on methods containing 'return 0'
512:
portal._portalname, ++queueoutidx, synctransact, sizeof(this)); }
-
final bufcon|conxsess start(void|int|array(Thread.MutexKey) waitforreal) {
+
final bufcon|conxsess
|zero
start(void|int|array(Thread.MutexKey) waitforreal)
+
{
Thread.MutexKey lock; #ifdef PG_DEBUGRACE if (nostash->current_locking_thread())
1815:
//! //! @seealso //! @[eof()], @[send_row()]
-
/*semi*/final array(mixed) fetch_row() {
+
/*semi*/final array(mixed)
|zero
fetch_row() {
int|array datarow; if (!this) // If object already destructed, return fast return 0;
1848:
//! //! @seealso //! @[eof()], @[fetch_row()]
-
/*semi*/final array(array(mixed)) fetch_row_array() {
+
/*semi*/final array(array(mixed))
|zero
fetch_row_array() {
if (eoffound) return 0; replenishrows();
1902:
array cid = setuptimeout(); PT(datarow = datarows->read()); if (!this) // If object already destructed, return fast
-
return
0
;
+
return;
scuttletimeout(cid); if (!arrayp(datarow)) break;
1933:
array cid = setuptimeout(); PT(datarow = datarows->read_array()); if (!this) // If object already destructed, return fast
-
return
0
;
+
return;
scuttletimeout(cid); if (!datarow || !arrayp(datarow[-1])) break;