diff --git a/client/orm/orm_conds.go b/client/orm/orm_conds.go index b4e1ce7a..5409406e 100644 --- a/client/orm/orm_conds.go +++ b/client/orm/orm_conds.go @@ -152,5 +152,8 @@ func (c *Condition) IsEmpty() bool { // clone clone a condition func (c Condition) clone() *Condition { + params := make([]condValue, len(c.params)) + copy(params, c.params) + c.params = params return &c }