Skip to content

Commit

Permalink
Fix by adding_use/force_indexes shallow copy
Browse files Browse the repository at this point in the history
  • Loading branch information
elisong committed Aug 29, 2021
1 parent 46c90d1 commit 03fee2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pypika/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,6 +752,8 @@ def __copy__(self) -> "QueryBuilder":
newone._joins = copy(self._joins)
newone._unions = copy(self._unions)
newone._updates = copy(self._updates)
newone._force_indexes = copy(self._force_indexes)
newone._use_indexes = copy(self._use_indexes)
return newone

@builder
Expand Down

0 comments on commit 03fee2e

Please sign in to comment.