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

Method dump

src/dsql/DsqlStatementCache.cpp:323–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

321
322#ifdef DSQL_STATEMENT_CACHE_DEBUG
323void DsqlStatementCache::dump()
324{
325 printf("DsqlStatementCache::dump() - cacheSize: %u, maxCacheSize: %u\n\n", cacheSize, maxCacheSize);
326
327 printf("\tactive:\n");
328
329 for (auto& entry : activeStatementList)
330 printf("\t\tsize: %u; text: %s\n", entry.size, entry.dsqlStatement->getSqlText()->c_str());
331
332 printf("\n\tinactive:\n");
333
334 for (auto& entry : inactiveStatementList)
335 printf("\t\tsize: %u; text: %s\n", entry.size, entry.dsqlStatement->getSqlText()->c_str());
336
337 printf("\n");
338}
339#endif

Callers 2

copyMethod · 0.45
pass1Method · 0.45

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected