1
0
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:
Aleksey Midenkov
2017-12-06 22:34:56 +03:00
parent 8c9c302016
commit ad51d77f79
4 changed files with 13 additions and 0 deletions

View File

@@ -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; ...)