summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2020-11-20 15:21:06 +0100
committerOlivier Bertrand <bertrandop@gmail.com>2020-11-20 15:21:06 +0100
commit038381e110c4cb03d79839f5672299a22bbc1489 (patch)
tree767517e4ea7fe6926f0f80e400c02097313cc455
parenta526965c61de49dd5698fa6cefa9dc73ed51f8ae (diff)
downloadmariadb-git-038381e110c4cb03d79839f5672299a22bbc1489.tar.gz
Fix compile error. Modified json.cpp
-rw-r--r--storage/connect/json.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/connect/json.cpp b/storage/connect/json.cpp
index eba9d0d8575..bf7ff7170ff 100644
--- a/storage/connect/json.cpp
+++ b/storage/connect/json.cpp
@@ -1780,7 +1780,7 @@ void SWAP::SwapJson(PJSON jsp, bool move)
/* Replace all pointers by offsets. */
/***********************************************************************/
size_t SWAP::MoffJson(PJSON jsp) {
- size_t res = NULL;
+ size_t res = 0;
if (jsp)
switch (jsp->Type) {