MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / pop_dynamic

Function pop_dynamic

mysys/array.c:174–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

172*/
173
174void *pop_dynamic(DYNAMIC_ARRAY *array)
175{
176 if (array->elements)
177 return array->buffer+(--array->elements * array->size_of_element);
178 return 0;
179}
180
181/*
182 Replace element in array with given element and index

Callers 4

ignore_db_dirs_resetFunction · 0.85
Dynamic_arrayClass · 0.85
wt_thd_will_wait_forFunction · 0.85
my_hash_deleteFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected