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

Function hasRecordPrefixSep

pkg/tablecodec/tablecodec.go:138–140  ·  view source on GitHub ↗
(key kv.Key)

Source from the content-addressed store, hash-verified

136}
137
138func hasRecordPrefixSep(key kv.Key) bool {
139 return key[0] == recordPrefixSep[0] && key[1] == recordPrefixSep[1]
140}
141
142// DecodeRecordKey decodes the key and gets the tableID, handle.
143func DecodeRecordKey(key kv.Key) (tableID int64, handle kv.Handle, err error) {

Callers 2

DecodeRecordKeyFunction · 0.85
DecodeRowKeyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected