1
0
mirror of https://github.com/MariaDB/server.git synced 2026-10-23 18:49:29 +03:00

- Fix MDEV-9322.

modified:   storage/connect/json.cpp
This commit is contained in:
Olivier Bertrand
2015-12-27 19:37:28 +01:00
parent e57876eacf
commit 3e76d54b98

View File

@@ -594,7 +594,7 @@ PSZ Serialize(PGLOBAL g, PJSON jsp, char *fn, int pretty)
if (fs) {
fputs(EL, fs);
fclose(fs);
str = (err) ? NULL : "Ok";
str = (err) ? NULL : strcpy(g->Message, "Ok");
} else if (!err) {
str = ((JOUTSTR*)jp)->Strp;
jp->WriteChr('\0');