mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for MDEV-4836 fix: take into account situation where "notnull_col IS NULL" is not
a direct child of the WHERE clause item, but rather is embedded inside Item_cond_and or Item_cond_or.
This commit is contained in:
@ -1796,6 +1796,7 @@ bool const_expression_in_where(COND *cond, Item *comp_item,
|
||||
Field *comp_field= NULL,
|
||||
Item **const_item= NULL);
|
||||
bool cond_is_datetime_is_null(Item *cond);
|
||||
bool cond_has_datetime_is_null(Item *cond);
|
||||
|
||||
/* Table elimination entry point function */
|
||||
void eliminate_tables(JOIN *join);
|
||||
|
Reference in New Issue
Block a user