MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / circularAlloc

Function circularAlloc

src/yvalve/utl.cpp:3469–3472  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3467Firebird::GlobalPtr<Strings> cleanStrings;
3468
3469const char* circularAlloc(const char* s, unsigned len)
3470{
3471 return getThreadBuffer()->alloc(s, len);
3472}
3473
3474// CVC: Do not let "perm" be incremented before "trans", because it may lead to serious memory errors,
3475// since our code blindly passes the same vector twice.

Callers 1

makePermanentVectorFunction · 0.85

Calls 2

getThreadBufferFunction · 0.85
allocMethod · 0.45

Tested by

no test coverage detected