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

Function IDX_statistics

src/jrd/idx.cpp:1499–1516  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1497
1498
1499void IDX_statistics(thread_db* tdbb, jrd_rel* relation, USHORT id, SelectivityList& selectivity)
1500{
1501/**************************************
1502 *
1503 * I D X _ s t a t i s t i c s
1504 *
1505 **************************************
1506 *
1507 * Functional description
1508 * Scan index pages recomputing
1509 * selectivity.
1510 *
1511 **************************************/
1512
1513 SET_TDBB(tdbb);
1514
1515 BTR_selectivity(tdbb, relation, id, selectivity);
1516}
1517
1518
1519void IDX_store(thread_db* tdbb, record_param* rpb, jrd_tra* transaction)

Callers

nothing calls this directly

Calls 2

SET_TDBBFunction · 0.85
BTR_selectivityFunction · 0.85

Tested by

no test coverage detected