ports/databases/mysql80-server/files/patch-storage_innobase_trx_trx0trx.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
427 B
C++

--- storage/innobase/trx/trx0trx.cc.orig 2017-01-05 15:43:29 UTC
+++ storage/innobase/trx/trx0trx.cc
@@ -63,7 +63,7 @@ typedef std::set<
typedef std::map<
trx_t*, table_id_set,
std::less<trx_t*>,
- ut_allocator<table_id_set> > trx_table_map;
+ ut_allocator<std::pair<trx_t* const, table_id_set>> > trx_table_map;
/** Map of resurrected transactions to affected table_id */
static trx_table_map resurrected_trx_tables;