Fix bug with cursor filters
This commit is contained in:
parent
c33e93ab37
commit
aed4170e8e
@ -824,7 +824,7 @@ func addFilter(sel *Select, fil *Exp) {
|
||||
if sel.Where != nil {
|
||||
ow := sel.Where
|
||||
|
||||
if sel.Where.Op != OpAnd {
|
||||
if sel.Where.Op != OpAnd || !sel.Where.doFree {
|
||||
sel.Where = expPool.Get().(*Exp)
|
||||
sel.Where.Reset()
|
||||
sel.Where.Op = OpAnd
|
||||
|
Loading…
Reference in New Issue
Block a user