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

Function json_object_grp_clear

storage/connect/jsonudf.cpp:3312–3319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3310} // end of json_object_grp
3311
3312void json_object_grp_clear(UDF_INIT *initid, uchar *, uchar *)
3313{
3314 PGLOBAL g = (PGLOBAL)initid->ptr;
3315
3316 PlugSubSet(g->Sarea, g->Sarea_Size);
3317 g->Activityp = (PACTIVITY)JsonNew(g, TYPE_JOB);
3318 g->N = GetJsonGroupSize();
3319} // end of json_object_grp_clear
3320
3321void json_object_grp_deinit(UDF_INIT* initid)
3322{

Callers

nothing calls this directly

Calls 3

PlugSubSetFunction · 0.85
JsonNewFunction · 0.85
GetJsonGroupSizeFunction · 0.85

Tested by

no test coverage detected