1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-12721 Wrong execution plan for WHERE (date_field <=> timestamp_expr AND TRUE)

This commit is contained in:
Alexander Barkov
2017-05-07 17:44:27 +04:00
parent 4e9022b48b
commit 02ada41744
4 changed files with 102 additions and 37 deletions

View File

@ -594,6 +594,17 @@ public:
};
class SEL_ARG_IMPOSSIBLE: public SEL_ARG
{
public:
SEL_ARG_IMPOSSIBLE(Field *field)
:SEL_ARG(field, 0, 0)
{
type= SEL_ARG::IMPOSSIBLE;
}
};
class RANGE_OPT_PARAM
{
public: