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

Method Cardinality

storage/connect/tabfix.cpp:204–213  ·  view source on GitHub ↗

/ FIX Cardinality: returns table cardinality in number of rows. */ This function can be called with a null argument to test the */ availability of Cardinality implementation (1 yes, 0 no). */ /

Source from the content-addressed store, hash-verified

202/* availability of Cardinality implementation (1 yes, 0 no). */
203/***********************************************************************/
204int TDBFIX::Cardinality(PGLOBAL g)
205 {
206 if (!g)
207 return Txfp->Cardinality(g);
208
209 if (Cardinal < 0)
210 Cardinal = Txfp->Cardinality(g);
211
212 return Cardinal;
213 } // end of Cardinality
214
215/***********************************************************************/
216/* FIX GetMaxSize: returns file size in number of lines. */

Callers 5

CntInfoFunction · 0.45
CntIndexRangeFunction · 0.45
InitMethod · 0.45
MapInitMethod · 0.45
GetAllSizesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected