未验证 提交 0089e934 编写于 作者: A Axlgrep 提交者: GitHub

v3.0.1 (#325)

上级 c9136986
......@@ -8,6 +8,6 @@
#define PIKA_MAJOR 3
#define PIKA_MINOR 0
#define PIKA_PATCH 0
#define PIKA_PATCH 1
#endif // INCLUDE_PIKA_VERSION_H_
......@@ -299,7 +299,7 @@ static void GetAllNeighbors(std::string & key, GeoRange & range, CmdRes & res) {
}
std::vector<blackwidow::ScoreMember> score_members;
s = g_pika_server->db()->ZRangebyscore(key, (double)min, (double)max, true, true, &score_members);
if (!s.ok()) {
if (!s.ok() && !s.IsNotFound()) {
res.SetRes(CmdRes::kErrOther, s.ToString());
return;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册