mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-19 09:36:43 +00:00
bugfix: don't crash if we can't load an event that was deleted while a DBQuery scan was paused
This commit is contained in:
@ -51,7 +51,7 @@ void cmd_delete(const std::vector<std::string> &subArgs) {
|
||||
auto txn = env.txn_ro();
|
||||
|
||||
while (1) {
|
||||
bool complete = query.process(txn, [&](const auto &sub, uint64_t levId){
|
||||
bool complete = query.process(txn, [&](const auto &sub, uint64_t levId, std::string_view){
|
||||
levIds.insert(levId);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user