PutRefreshMaterializedViewStatement returns a RefreshMaterializedViewStatement to the pool.
(stmt *RefreshMaterializedViewStatement)
| 1669 | |
| 1670 | // PutRefreshMaterializedViewStatement returns a RefreshMaterializedViewStatement to the pool. |
| 1671 | func PutRefreshMaterializedViewStatement(stmt *RefreshMaterializedViewStatement) { |
| 1672 | if stmt == nil { |
| 1673 | return |
| 1674 | } |
| 1675 | |
| 1676 | stmt.Concurrently = false |
| 1677 | stmt.Name = "" |
| 1678 | stmt.WithData = nil |
| 1679 | |
| 1680 | refreshMaterializedViewStmtPool.Put(stmt) |
| 1681 | } |
| 1682 | |
| 1683 | // GetDropStatement gets a DropStatement from the pool. |
| 1684 | func GetDropStatement() *DropStatement { |