Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvas0 committed Dec 27, 2023
1 parent b4fed04 commit 7a2b260
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 7a2b260

Please sign in to comment.