opnsense-ports/databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc
Franco Fichtner b51be67417 */*: sync with upstream
Taken from: FreeBSD
2017-01-08 09:02:13 +01: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(). */