We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8ce2deb + 40d7e5a commit c51d625Copy full SHA for c51d625
sql/rpl_trx_tracking.h
@@ -27,7 +27,7 @@
27
#include <assert.h>
28
#include <sys/types.h>
29
#include <atomic>
30
-#include <map>
+#include <unordered_map>
31
32
#include "libbinlogevents/include/binlog_event.h"
33
@@ -160,7 +160,7 @@ class Writeset_trx_dependency_tracker {
160
Track the last transaction sequence number that changed each row
161
in the database, using row hashes from the writeset as the index.
162
*/
163
- typedef std::map<uint64, int64> Writeset_history;
+ typedef std::unordered_map<uint64, int64> Writeset_history;
164
Writeset_history m_writeset_history;
165
};
166
0 commit comments