mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 02:15:45 +02:00
Update src/server/generic_family.cc
Co-authored-by: Roman Gershman <roman@dragonflydb.io> Signed-off-by: Volodymyr Yavdoshenko <v.yavdoshenko@gmail.com>
This commit is contained in:
parent
8a3fee28c1
commit
74af6a6d61
1 changed files with 1 additions and 1 deletions
|
@ -870,7 +870,7 @@ OpResult<void> OpRen(const OpArgs& op_args, string_view from_key, string_view to
|
||||||
is_prior_list = (to_res.it->second.ObjType() == OBJ_LIST);
|
is_prior_list = (to_res.it->second.ObjType() == OBJ_LIST);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Delete the document from the search index before deleting from the database
|
// Delete the "from" document from the search index before deleting from the database
|
||||||
op_args.shard->search_indices()->RemoveDoc(from_key, op_args.db_cntx, from_res.it->second);
|
op_args.shard->search_indices()->RemoveDoc(from_key, op_args.db_cntx, from_res.it->second);
|
||||||
|
|
||||||
bool sticky = from_res.it->first.IsSticky();
|
bool sticky = from_res.it->first.IsSticky();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue