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

Function PutDescribeStatement

pkg/sql/ast/pool.go:1749–1757  ·  view source on GitHub ↗

PutDescribeStatement returns a DescribeStatement to the pool.

(stmt *DescribeStatement)

Source from the content-addressed store, hash-verified

1747
1748// PutDescribeStatement returns a DescribeStatement to the pool.
1749func PutDescribeStatement(stmt *DescribeStatement) {
1750 if stmt == nil {
1751 return
1752 }
1753
1754 stmt.TableName = ""
1755
1756 describeStmtPool.Put(stmt)
1757}
1758
1759// GetReplaceStatement gets a ReplaceStatement from the pool.
1760func GetReplaceStatement() *ReplaceStatement {

Callers 2

releaseStatementFunction · 0.85

Calls 1

PutMethod · 0.80

Tested by 1