分区裁剪不生效,走全表查询

老集群 不太正常的:
image

新集群
mysql> show variables like ‘%tidb_partition_prune_mode%’;
±--------------------------±-------+
| Variable_name | Value |
±--------------------------±-------+
| tidb_partition_prune_mode | static |