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

--- storage/innobase/dict/dict0stats.cc.orig 2016-03-28 18:06:12 UTC
+++ storage/innobase/dict/dict0stats.cc
@@ -139,7 +139,7 @@ then we would store 5,7,10,11,12 in the
typedef std::vector<ib_uint64_t, ut_allocator<ib_uint64_t> > boundaries_t;
/** Allocator type used for index_map_t. */
-typedef ut_allocator<std::pair<const char*, dict_index_t*> >
+typedef ut_allocator<std::pair<const char* const, dict_index_t*> >
index_map_t_allocator;
/** Auxiliary map used for sorting indexes by name in dict_stats_save(). */