MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / AttachTo

Method AttachTo

tidbparser/dependency/util/memory/tracker.go:76–83  ·  view source on GitHub ↗

AttachTo attaches this memory tracker as a child to another Tracker. If it already has a parent, this function will remove it from the old parent. Its consumed memory usage is used to update all its ancestors.

(parent *Tracker)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

BytesConsumedMethod · 0.95
ReplaceChildMethod · 0.80
ConsumeMethod · 0.80

Tested by

no test coverage detected