extend MDEV-11084 to also not open automatically excluded partitions
In particular, INSERT, DELETE, UPDATE and SELECT should not open any partitions that can be excluded by parsing the WHERE clause.
MIN/MAX Optimization (Select tables optimized away) does not work
Select statement with partition selection against MyISAM table opens all partitions
Assertion in ha_maria::close() upon complex SELECT from specific data