MCPcopy Create free account
hub / github.com/arkdb/inception / sp_cache_enforce_limit

Function sp_cache_enforce_limit

sql/sp_cache.cc:247–252  ·  view source on GitHub ↗

Enforce that the current number of elements in the cache don't exceed the argument value by flushing the cache if necessary. @param[in] c Cache to check @param[in] upper_limit_for_elements Soft upper limit for number of sp_head objects that can be stored in the cache. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

mysqld_stmt_prepareFunction · 0.85
mysqld_stmt_executeFunction · 0.85

Calls 1

enforce_limitMethod · 0.80

Tested by

no test coverage detected