Fix inverted test on whether or not the db revision was stable

This commit is contained in:
Ron Pedde 2006-07-29 05:42:34 +00:00
parent 90a6a39ce1
commit fe4742b026

View File

@ -1392,7 +1392,8 @@ void dispatch_update(WS_CONNINFO *pwsc, DBQUERYINFO *pqi) {
}
/* wait for db_version to be stable for 30 seconds */
while((clientver == db_revision()) && (db_revision() == lastver)) {
while((clientver == db_revision()) ||
(lastver && (db_revision() != lastver))) {
lastver = db_revision();
FD_ZERO(&rset);