MCPcopy Create free account
hub / github.com/MariaDB/server / json_array_grp_clear

Function json_array_grp_clear

storage/connect/jsonudf.cpp:3241–3248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3239} // end of json_array_grp
3240
3241void json_array_grp_clear(UDF_INIT *initid, uchar *, uchar *)
3242{
3243 PGLOBAL g = (PGLOBAL)initid->ptr;
3244
3245 PlugSubSet(g->Sarea, g->Sarea_Size);
3246 g->Activityp = (PACTIVITY)JsonNew(g, TYPE_JAR);
3247 g->N = GetJsonGroupSize();
3248} // end of json_array_grp_clear
3249
3250void json_array_grp_deinit(UDF_INIT* initid)
3251{

Callers

nothing calls this directly

Calls 3

PlugSubSetFunction · 0.85
JsonNewFunction · 0.85
GetJsonGroupSizeFunction · 0.85

Tested by

no test coverage detected