diff --git a/sql/rpl_trx_tracking.h b/sql/rpl_trx_tracking.h index 0f711b0268b5..4ab145bed146 100644 --- a/sql/rpl_trx_tracking.h +++ b/sql/rpl_trx_tracking.h @@ -27,7 +27,7 @@ #include #include #include -#include +#include #include "libbinlogevents/include/binlog_event.h" @@ -157,7 +157,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 Writeset_history; + typedef std::unordered_map Writeset_history; Writeset_history m_writeset_history; };