mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 15:30:52 +01:00
ircd::db: Test valid-equal to index on cell load.
This commit is contained in:
parent
fc753f7440
commit
f7708f47f6
1 changed files with 1 additions and 1 deletions
|
@ -2022,7 +2022,7 @@ ircd::db::cell::load(const string_view &index,
|
|||
gopts opts)
|
||||
{
|
||||
database &d(c);
|
||||
if(valid() && !opts.snapshot && sequence(ss) == sequence(d))
|
||||
if(valid(index) && !opts.snapshot && sequence(ss) == sequence(d))
|
||||
return true;
|
||||
|
||||
if(bool(opts.snapshot))
|
||||
|
|
Loading…
Reference in a new issue