diff options
Diffstat (limited to 'storage/connect/jsonudf.cpp')
| -rw-r--r-- | storage/connect/jsonudf.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/storage/connect/jsonudf.cpp b/storage/connect/jsonudf.cpp index f9034f25739..bc7f231814d 100644 --- a/storage/connect/jsonudf.cpp +++ b/storage/connect/jsonudf.cpp @@ -1374,7 +1374,6 @@ static my_bool CalcLen(UDF_ARGS *args, my_bool obj, memlen += (k + sizeof(JOBJECT) + sizeof(JPAIR)); } else memlen += sizeof(JARRAY); - switch (args->arg_type[i]) { case STRING_RESULT: if (n == 2 && args->args[i]) { @@ -3622,7 +3621,7 @@ void jsoncontains_path_deinit(UDF_INIT* initid) /*********************************************************************************/ /* This function is used by the json_set/insert/update_item functions. */ /*********************************************************************************/ -char *handle_item(UDF_INIT *initid, UDF_ARGS *args, char *result, +static char *handle_item(UDF_INIT *initid, UDF_ARGS *args, char *result, unsigned long *res_length, char *is_null, char *error) { char *p, *path, *str = NULL; @@ -4895,7 +4894,7 @@ void jbin_item_merge_deinit(UDF_INIT* initid) /*********************************************************************************/ /* This function is used by the jbin_set/insert/update functions. */ /*********************************************************************************/ -char *bin_handle_item(UDF_INIT *initid, UDF_ARGS *args, char *result, +static char *bin_handle_item(UDF_INIT *initid, UDF_ARGS *args, char *result, unsigned long *res_length, char *is_null, char *error) { char *p, *path; |
