summaryrefslogtreecommitdiff
path: root/databases/mysql80-server/files/patch-sql_histograms_histogram.h
blob: 73256070a0a69648d1056eec8290931c7027dd47 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- sql/histograms/histogram.h.orig	2017-01-05 16:18:44 UTC
+++ sql/histograms/histogram.h
@@ -111,7 +111,7 @@ public:
 
 // Typedefs.
 template<typename T>
-using value_map_allocator = Memroot_allocator<std::pair<T, ha_rows> >;
+using value_map_allocator = Memroot_allocator<std::pair<const T, ha_rows> >;
 
 template<typename T>
 using value_map_type = std::map<T, ha_rows, Histogram_comparator,