Better td_db() debug.
GitOrigin-RevId: ae65558fb3b76eea4612107bbcb74595bf09f3cb
This commit is contained in:
parent
ad9ff1e221
commit
9e8046db1c
@ -28,7 +28,7 @@ inline Promise<Unit> get_erase_logevent_promise_impl(const char *file, int32 lin
|
|||||||
|
|
||||||
return PromiseCreator::lambda([file, line, logevent_id, promise = std::move(promise)](Result<Unit> result) mutable {
|
return PromiseCreator::lambda([file, line, logevent_id, promise = std::move(promise)](Result<Unit> result) mutable {
|
||||||
if (!G()->close_flag()) {
|
if (!G()->close_flag()) {
|
||||||
binlog_erase(G()->td_db()->get_binlog_impl(file, line), logevent_id);
|
binlog_erase(G()->get_td_db_impl(file, line)->get_binlog_impl(file, line), logevent_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
promise.set_result(std::move(result));
|
promise.set_result(std::move(result));
|
||||||
|
Loading…
Reference in New Issue
Block a user