mirror of
https://github.com/matrix-construct/construct
synced 2024-11-25 08:12:37 +01:00
ircd::db: Prevent submitting row with one cell to request pool.
This commit is contained in:
parent
56b1e760cf
commit
9a42fd9f60
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue