ports/databases/mysql80-server/files/patch-storage_innobase_trx_trx0purge.cc
Nikolai Lifanov c93ab7fefa add databases/mysql80-server and databases/mysql80-client
This is a development snapshot of upcoming MySQL 8.0.

PR:		215738
Submitted by:	Mahdi Mokhtari <mokhi64@gmail.com>
Reviewed by:	matthew, feld
Approved by:	matthew (mentor), feld
Differential Revision:	https://reviews.freebsd.org/D9031
2017-01-07 20:34:46 +00:00

11 lines
437 B
C++

--- storage/innobase/trx/trx0purge.cc.orig 2017-01-05 13:57:29 UTC
+++ storage/innobase/trx/trx0purge.cc
@@ -1668,7 +1668,7 @@ trx_purge_attach_undo_recs(
using GroupBy = std::map<
table_id_t, purge_node_t::Recs*,
std::less<table_id_t>,
- mem_heap_allocator<std::pair<table_id_t, purge_node_t::Recs*>>>;
+ mem_heap_allocator<std::pair<const table_id_t, purge_node_t::Recs*>>>;
GroupBy group_by{
GroupBy::key_compare{},