MCPcopy
hub / github.com/pingcap/tidb / Current

Method Current

pkg/tablecodec/tablecodec.go:1344–1346  ·  view source on GitHub ↗

Current returns the current latest temp index value.

()

Source from the content-addressed store, hash-verified

1342
1343// Current returns the current latest temp index value.
1344func (v TempIndexValue) Current() *TempIndexValueElem {
1345 return v[len(v)-1]
1346}
1347
1348// FilterOverwritten is used by the temp index merge process to remove the overwritten index operations.
1349// For example, the value {temp_idx_key -> [h2, h2d, h3, h1d]} recorded four operations on the original index.

Callers 2

createMethod · 0.95
checkHandleConsistencyFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected