From 9a42fd9f6092031d618edc9873226d4decb5f0fb Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Fri, 11 Jan 2019 14:01:56 -0800 Subject: [PATCH] ircd::db: Prevent submitting row with one cell to request pool. --- ircd/db.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ircd/db.cc b/ircd/db.cc index 43c413bf9..9ef4e48f9 100644 --- a/ircd/db.cc +++ b/ircd/db.cc @@ -9213,7 +9213,9 @@ ircd::db::seek(row &r, //TODO: because right now double-querying the cache is gross. const bool submit { - !test(opts, get::NO_PARALLEL) && !exists(cache(column), key) + r.size() > 1 && + !test(opts, get::NO_PARALLEL) && + !exists(cache(column), key) }; #ifdef RB_DEBUG_DB_SEEK_ROW