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

Function json_norm_object_get_last_element

strings/json_normalize.c:262–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260
261
262static struct json_norm_kv*
263json_norm_object_get_last_element(struct json_norm_object *obj)
264{
265 struct json_norm_kv *kv;
266
267 DBUG_ASSERT(obj->kv_pairs.elements > 0);
268 kv= dynamic_element(&obj->kv_pairs,
269 obj->kv_pairs.elements - 1,
270 struct json_norm_kv*);
271 return kv;
272}
273
274
275static struct json_norm_value*

Callers 1

json_norm_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected