mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
SQL: WHERE top level item [#365 bug 11]
Tests affected (forced mode): main.range main.range_mrr_icp
This commit is contained in:
@@ -986,6 +986,7 @@ int vers_setup_select(THD *thd, TABLE_LIST *tables, COND **where_expr,
|
||||
thd->change_item_tree(dst_cond, cond1);
|
||||
|
||||
slex->where= *dst_cond;
|
||||
slex->where->top_level_item();
|
||||
}
|
||||
} // if (... table->table->versioned())
|
||||
} // for (table= tables; ...)
|
||||
|
||||
Reference in New Issue
Block a user