mirror of
https://github.com/MariaDB/server.git
synced 2026-10-23 18:49:29 +03:00
Disallow range optimization for BETWEEN when casting one of the arguments from STRING to a numeric type would be required to construct a range for the query. Adds a new method on Item_func_between called can_optimize_range_const which allows range optimization when the types of the arguments to BETWEEN would permit it.