Changeset View
Changeset View
Standalone View
Standalone View
databases/mariadb101-server/files/patch-storage_connect_json.cpp
- This file was added.
Property | Old Value | New Value |
---|---|---|
fbsd:nokeywords | null | yes \ No newline at end of property |
svn:eol-style | null | native \ No newline at end of property |
svn:keywords | null | FreeBSD=%H \ No newline at end of property |
svn:mime-type | null | text/plain \ No newline at end of property |
# Add patch for https://mariadb.atlassian.net/browse/MDEV-9322 | |||||
--- storage/connect/json.cpp.orig 2015-12-23 15:33:31 UTC | |||||
+++ storage/connect/json.cpp | |||||
@@ -594,7 +594,7 @@ PSZ Serialize(PGLOBAL g, PJSON jsp, char | |||||
if (fs) { | |||||
fputs(EL, fs); | |||||
fclose(fs); | |||||
- str = (err) ? NULL : "Ok"; | |||||
+ str = (err) ? NULL : (char*)"Ok"; | |||||
} else if (!err) { | |||||
str = ((JOUTSTR*)jp)->Strp; | |||||
jp->WriteChr('\0'); |