mirror of https://github.com/MariaDB/server
Browse Source
In file sql/opt_range.cc,when calculate_cond_selectivity_for_table() is called with optimizer_use_condition_selectivity=4 then - thd->no_errors is set to 1 - the original value of thd->no_error is not restored to its original value - this is causing the assertion to fail in the subsequent queries Fixed by restoring the original value of thd->no_errorspull/89/merge
3 changed files with 54 additions and 0 deletions
Loading…
Reference in new issue