Build verified: 1.0.9-1
Ran each query after a system restart so they disk runs for fair comparison.
MariaDB [tpch10]> select count(l_linenumber) from lineitem where l_shipdate between current_date() and current_date();
---------------------
---------------------
---------------------
1 row in set (0.14 sec)
MariaDB [tpch10]> select count(l_linenumber) from lineitem where l_shipdate between '2017-05-11' and '2017-05-11';
---------------------
---------------------
---------------------
1 row in set (0.13 sec)
Cherry picked
MCOL-686fix into a pull request forMCOL-704