ports/databases/mysql80-server/files/patch-sql_json__dom.h
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
436 B
C++

--- 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