git://git.exim.org
/
buildfarm-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dae28f3
)
Actually truncate the 64bit int this time.
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 17 Feb 2012 18:53:50 +0000
(10:53 -0800)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 17 Feb 2012 18:53:50 +0000
(10:53 -0800)
cgi-bin/pgstatus.pl
patch
|
blob
|
history
diff --git
a/cgi-bin/pgstatus.pl
b/cgi-bin/pgstatus.pl
index bfe50ce1eb2b368fc91082e176fb1c8c25f04b6e..16ac79f75e569612ecbed99337a56b858bb3c7d2 100755
(executable)
--- a/
cgi-bin/pgstatus.pl
+++ b/
cgi-bin/pgstatus.pl
@@
-327,7
+327,7
@@
$sth=$db->prepare($logst);
$sth->bind_param(1,$animal);
$sth->bind_param(2,$dbdate);
$sth->bind_param(1,$animal);
$sth->bind_param(2,$dbdate);
-$sth->bind_param(3,$res
);
+$sth->bind_param(3,$res
& 0x8fffffff); # in case we get a 64 bit int status!
$sth->bind_param(4,$stage);
$sth->bind_param(5,$log);
$sth->bind_param(6,$conf);
$sth->bind_param(4,$stage);
$sth->bind_param(5,$log);
$sth->bind_param(6,$conf);