summaryrefslogtreecommitdiff
path: root/databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc
diff options
context:
space:
mode:
authorNikolai Lifanov <lifanov@FreeBSD.org>2017-01-07 20:34:46 +0000
committerNikolai Lifanov <lifanov@FreeBSD.org>2017-01-07 20:34:46 +0000
commitc93ab7fefa27cc2640ad10481f106ecc089d83d5 (patch)
tree317be9105acc04fa055523ebb9f20f1cc249c71f /databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc
parentUpgrade libproj4 to proj.4 4.9.3. (diff)
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
Diffstat (limited to 'databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc')
-rw-r--r--databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc b/databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc
new file mode 100644
index 000000000000..879e91a116fb
--- /dev/null
+++ b/databases/mysql80-server/files/patch-storage_innobase_dict_dict0stats.cc
@@ -0,0 +1,11 @@
+--- 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(). */