From b3405c3f441409d332e5300bb8fc6a0e01b0e88b Mon Sep 17 00:00:00 2001 From: dockes Date: Wed, 18 Nov 2009 14:26:46 +0000 Subject: [PATCH] query::getrescnt() would only work once following 1.13 mods (affects python api) --- src/rcldb/rclquery.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rcldb/rclquery.cpp b/src/rcldb/rclquery.cpp index 9bd24853..5a7e2531 100644 --- a/src/rcldb/rclquery.cpp +++ b/src/rcldb/rclquery.cpp @@ -272,6 +272,8 @@ int Query::getResCnt() LOGDEB(("Query::getResCnt: %d mS\n", chron.millis())); if (!m_reason.empty()) LOGERR(("xenquire->get_mset: exception: %s\n", m_reason.c_str())); + } else { + ret = m_nq->xmset.get_matches_lower_bound(); } return ret; }