Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvas0 committed Dec 29, 2023
1 parent 24ae993 commit 2985d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/kqp/session_actor/kqp_tx.h
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ class TTransactionsCache {
}
auto oldest = std::begin(Active);
for (auto it = std::next(oldest); it != std::end(Active); ++it) {
if (oldest->second->LastAccessTime < it->second->LastAccessTime) {
if (oldest->second->LastAccessTime > it->second->LastAccessTime) {
oldest = it;
}
}
Expand Down

0 comments on commit 2985d96

Please sign in to comment.