Skip to content

Commit

Permalink
Merge pull request percona#5409 from percona-ysorokin/dev/PS-9378-8.0…
Browse files Browse the repository at this point in the history
…-writeset_perf_backport

PS-9378: Backport PS-9302 (WRITESET perf improvements) to 8.0 (8.0)
  • Loading branch information
percona-ysorokin authored Sep 9, 2024
2 parents 8ce2deb + 40d7e5a commit c51d625
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sql/rpl_trx_tracking.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
#include <assert.h>
#include <sys/types.h>
#include <atomic>
#include <map>
#include <unordered_map>

#include "libbinlogevents/include/binlog_event.h"

Expand Down Expand Up @@ -160,7 +160,7 @@ class Writeset_trx_dependency_tracker {
Track the last transaction sequence number that changed each row
in the database, using row hashes from the writeset as the index.
*/
typedef std::map<uint64, int64> Writeset_history;
typedef std::unordered_map<uint64, int64> Writeset_history;
Writeset_history m_writeset_history;
};

Expand Down

0 comments on commit c51d625

Please sign in to comment.