From 676baec73d8a56cd867ffba403157546f54c7596 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Mon, 18 Sep 2017 20:54:31 -0700 Subject: [PATCH] ircd::db: Better cursor comparison. --- include/ircd/db/cursor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ircd/db/cursor.h b/include/ircd/db/cursor.h index 224a4a9a7..73aa76ddb 100644 --- a/include/ircd/db/cursor.h +++ b/include/ircd/db/cursor.h @@ -260,5 +260,5 @@ const if(!row.valid() || !o.row.valid()) return false; - return row.its.at(0).key() == o.row.its.at(0).key(); + return idx->first == o.idx->first; }