Skip to content

Commit

Permalink
add reload expr_pushdown_blacklist for br (pingcap#207)
Browse files Browse the repository at this point in the history
Signed-off-by: zeminzhou <[email protected]>
  • Loading branch information
zeminzhou authored Jan 29, 2023
1 parent f8516a2 commit 5c98716
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions br/pkg/restore/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ func NewDB(g glue.Glue, store kv.Storage, policyMode string) (*DB, bool, error)
return nil, false, errors.Trace(err)
}

err = se.Execute(context.Background(), "ADMIN RELOAD expr_pushdown_blacklist")
if err != nil {
return nil, false, errors.Trace(err)
}

supportPolicy := false
if len(policyMode) != 0 {
// Set placement mode for handle placement policy.
Expand Down

0 comments on commit 5c98716

Please sign in to comment.