summaryrefslogtreecommitdiff
path: root/databases/mysql80-server/files/patch-sql_json__dom.h
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql80-server/files/patch-sql_json__dom.h')
-rw-r--r--databases/mysql80-server/files/patch-sql_json__dom.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql80-server/files/patch-sql_json__dom.h b/databases/mysql80-server/files/patch-sql_json__dom.h
new file mode 100644
index 000000000000..54718af16065
--- /dev/null
+++ b/databases/mysql80-server/files/patch-sql_json__dom.h
@@ -0,0 +1,11 @@
+--- sql/json_dom.h.orig 2017-01-05 16:09:35 UTC
++++ sql/json_dom.h
+@@ -337,7 +337,7 @@ struct Json_key_comparator
+ Json_object class.
+ */
+ typedef std::map<std::string, Json_dom *, Json_key_comparator,
+- Malloc_allocator<std::pair<std::string, Json_dom *> > > Json_object_map;
++ Malloc_allocator<std::pair<const std::string, Json_dom *> > > Json_object_map;
+
+ /**
+ Represents a JSON container value of type "object" (ECMA), type