PutBetweenExpression returns a BetweenExpression to the pool
(be *BetweenExpression)
| 1177 | |
| 1178 | // PutBetweenExpression returns a BetweenExpression to the pool |
| 1179 | func PutBetweenExpression(be *BetweenExpression) { |
| 1180 | if be == nil { |
| 1181 | return |
| 1182 | } |
| 1183 | PutExpression(be.Expr) |
| 1184 | PutExpression(be.Lower) |
| 1185 | PutExpression(be.Upper) |
| 1186 | be.Expr = nil |
| 1187 | be.Lower = nil |
| 1188 | be.Upper = nil |
| 1189 | be.Not = false |
| 1190 | betweenExprPool.Put(be) |
| 1191 | } |
| 1192 | |
| 1193 | // GetInExpression gets an InExpression from the pool |
| 1194 | func GetInExpression() *InExpression { |