MCPcopy Create free account
hub / github.com/ajitpratap0/GoSQLX / PutIdentifier

Function PutIdentifier

pkg/sql/ast/pool.go:726–732  ·  view source on GitHub ↗

PutIdentifier returns an Identifier to the pool

(ident *Identifier)

Source from the content-addressed store, hash-verified

724
725// PutIdentifier returns an Identifier to the pool
726func PutIdentifier(ident *Identifier) {
727 if ident == nil {
728 return
729 }
730 ident.Name = ""
731 identifierPool.Put(ident)
732}
733
734// GetBinaryExpression gets a BinaryExpression from the pool
735func GetBinaryExpression() *BinaryExpression {

Callers 4

TestIdentifierPoolFunction · 0.85
BenchmarkIdentifierPoolFunction · 0.85

Calls 1

PutMethod · 0.80

Tested by 4

TestIdentifierPoolFunction · 0.68
BenchmarkIdentifierPoolFunction · 0.68