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

Method get

storage/perfschema/pfs_variable.h:376–383  ·  view source on GitHub ↗

Get a single variable from the cache. Get the first element in the cache by default. */

Source from the content-addressed store, hash-verified

374 Get the first element in the cache by default.
375 */
376 const Var_type *get(uint index= 0) const
377 {
378 if (index >= m_cache.elements())
379 return NULL;
380
381 const Var_type *p= &m_cache.at(index);
382 return p;
383 }
384
385 /**
386 Number of elements in the cache.

Callers 15

rnd_posMethod · 0.45
rnd_nextMethod · 0.45
rnd_nextMethod · 0.45
rnd_posMethod · 0.45
rnd_nextMethod · 0.45
rnd_posMethod · 0.45
rnd_posMethod · 0.45
rnd_nextMethod · 0.45
rnd_posMethod · 0.45
rnd_nextMethod · 0.45
rnd_posMethod · 0.45
rnd_nextMethod · 0.45

Calls 2

elementsMethod · 0.45
atMethod · 0.45

Tested by

no test coverage detected