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

Function json_norm_array_get_last_element

strings/json_normalize.c:275–285  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

273
274
275static struct json_norm_value*
276json_norm_array_get_last_element(struct json_norm_array *arr)
277{
278 struct json_norm_value *val;
279
280 DBUG_ASSERT(arr->values.elements > 0);
281 val= dynamic_element(&arr->values,
282 arr->values.elements - 1,
283 struct json_norm_value*);
284 return val;
285}
286
287
288static int

Callers 1

json_norm_parseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected