GetDropStatement gets a DropStatement from the pool.
()
| 1682 | |
| 1683 | // GetDropStatement gets a DropStatement from the pool. |
| 1684 | func GetDropStatement() *DropStatement { |
| 1685 | stmt := dropStmtPool.Get().(*DropStatement) |
| 1686 | stmt.Names = stmt.Names[:0] |
| 1687 | return stmt |
| 1688 | } |
| 1689 | |
| 1690 | // PutDropStatement returns a DropStatement to the pool. |
| 1691 | func PutDropStatement(stmt *DropStatement) { |