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

Method SetMxsame

storage/connect/xindex.cpp:131–139  ·  view source on GitHub ↗

/ Set the max same values for each column after making the index. */ /

Source from the content-addressed store, hash-verified

129/* Set the max same values for each column after making the index. */
130/***********************************************************************/
131void INDEXDEF::SetMxsame(PXINDEX x)
132 {
133 PKPDEF kdp;
134 PXCOL xcp;
135
136 for (kdp = ToKeyParts, xcp = x->To_KeyCol;
137 kdp && xcp; kdp = kdp->Next, xcp = xcp->Next)
138 kdp->Mxsame = xcp->Mxs;
139 } // end of SetMxsame
140
141/* -------------------------- Class KPARTDEF ------------------------- */
142

Callers 1

MakeIndexMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected