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

Function GetAlterStatement

pkg/sql/ast/pool.go:1795–1797  ·  view source on GitHub ↗

GetAlterStatement gets an AlterStatement from the pool.

()

Source from the content-addressed store, hash-verified

1793
1794// GetAlterStatement gets an AlterStatement from the pool.
1795func GetAlterStatement() *AlterStatement {
1796 return alterStmtPool.Get().(*AlterStatement)
1797}
1798
1799// PutAlterStatement returns an AlterStatement to the pool.
1800// It zeroes all fields; the Operation interface value is cleared but

Callers 4

parseAlterStatementMethod · 0.92
TestAlterStatementPoolFunction · 0.85

Calls 1

GetMethod · 0.45

Tested by 3

TestAlterStatementPoolFunction · 0.68