summaryrefslogtreecommitdiff
path: root/mysql-test/t/selectivity_innodb.test
Commit message (Collapse)AuthorAgeFilesLines
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-176/+0
|
* MDEV-11060 sql/protocol.cc:532: void Protocol::end_statement(): Assertion ↵Varun Gupta2016-12-141-0/+33
| | | | | | | | | | | `0' failed 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_errors
* Fixed bug mdev-9628.Igor Babaev2016-10-261-0/+25
| | | | | | | | In the function create_key_parts_for_pseudo_indexes() the key part structures of pseudo-indexes created for BLOB fields were set incorrectly. Also the key parts for long fields must be 'truncated' up to the maximum length acceptable for key parts.
* MDEV-7413: optimizer_use_condition_selectivity > 2 crashes ↵Sergey Petrunya2015-02-251-0/+30
| | | | | | 10.0.15+maria-1~wheezy Add a testcase. The bug itself was fixed by the fix for MDEV-7316.
* MDEV-6738: use_stat_table + histograms crashing optimizerSergey Petrunya2014-10-101-0/+14
| | | | | | - When EITS code calls store_key_image_to_rec(), it should follow its calling convention (which is counter-intuitive)
* MDEV-6442: Assertion `join->best_read < double(...)' failed with ↵Sergey Petrunya2014-10-061-0/+25
| | | | | | | | | | | | | optimizer_use_condition_selectivity >=3 - Fix the crash by making get_column_range_cardinality() to handle the special case where Column_stats objects is an all-zeros object (the question of what is the point of having Field::read_stats point to such object remains a mystery) - Added a few comments. Learning the code still.
* MDEV-6808: MariaDB 10.0.13 crash with optimizer_use_condition_selectivity > 1Sergey Petrunya2014-09-301-0/+37
| | | | | Fix a trivial typo: in table_multi_eq_cond_selectivity(), reset the loop variable between loops.
* The pilot patch for mwl#253.Igor Babaev2013-03-111-0/+12