summaryrefslogtreecommitdiff
path: root/mysql-test/main/partition_innodb.result
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.4 into 10.5Marko Mäkelä2020-12-021-1/+1
|\
| * Merge 10.3 into 10.4Marko Mäkelä2020-12-011-1/+1
| |\
| | * MDEV-21842 auto_increment does not increment with compound primary key on ↵Alexey Botchkov2020-11-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | partitioned table. The idea of this fix is that it's enough to prevent the next_auto_inc_val from incrementing if an error, to fix this problem and also the MDEV-17333. So this patch basically reverts the existing fix to the MDEV-17333.
* | | unify "partitioning cannot do X" error messagesNikita Malyavin2020-03-311-2/+2
| | |
* | | Updated optimizer costs in multi_range_read_info_const() and sql_select.ccMonty2020-03-271-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - multi_range_read_info_const now uses the new records_in_range interface - Added handler::avg_io_cost() - Don't calculate avg_io_cost() in get_sweep_read_cost if avg_io_cost is not 1.0. In this case we trust the avg_io_cost() from the handler. - Changed test_quick_select to use TIME_FOR_COMPARE instead of TIME_FOR_COMPARE_IDX to align this with the rest of the code. - Fixed bug when using test_if_cheaper_ordering where we didn't use keyread if index was changed - Fixed a bug where we didn't use index only read when using order-by-index - Added keyread_time() to HEAP. The default keyread_time() was optimized for blocks and not suitable for HEAP. The effect was the HEAP prefered table scans over ranges for btree indexes. - Fixed get_sweep_read_cost() for HEAP tables - Ensure that range and ref have same cost for simple ranges Added a small cost (MULTI_RANGE_READ_SETUP_COST) to ranges to ensure we favior ref for range for simple queries. - Fixed that matching_candidates_in_table() uses same number of records as the rest of the optimizer - Added avg_io_cost() to JT_EQ_REF cost. This helps calculate the cost for HEAP and temporary tables better. A few tests changed because of this. - heap::read_time() and heap::keyread_time() adjusted to not add +1. This was to ensure that handler::keyread_time() doesn't give higher cost for heap tables than for normal tables. One effect of this is that heap and derived tables stored in heap will prefer key access as this is now regarded as cheap. - Changed cost for index read in sql_select.cc to match multi_range_read_info_const(). All index cost calculation is now done trough one function. - 'ref' will now use quick_cost for keys if it exists. This is done so that for '=' ranges, 'ref' is prefered over 'range'. - scan_time() now takes avg_io_costs() into account - get_delayed_table_estimates() uses block_size and avg_io_cost() - Removed default argument to test_if_order_by_key(); simplifies code
* | Merge branch '10.3' into 10.4Oleksandr Byelkin2020-03-111-6/+6
|\ \ | |/
| * Merge branch '10.2' into 10.3Oleksandr Byelkin2020-03-111-6/+6
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-11-011-0/+24
|\ \ | |/
| * MDEV-18244 Server crashes in ha_innobase::update_thd / ... / ↵Alexey Botchkov2019-11-011-0/+24
| | | | | | | | | | | | | | | | | | ha_partition::update_next_auto_inc_val. Partition table with the AUTO_INCREMENT column we ahve to check if the max value is properly loaded. So we need to open all tables in INSERT PARTITION statement if necessary. Also we need to check if some tables are pruned away and not count the max autoincrement in this case.
* | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-05-191-0/+42
|\ \ | |/
| * Merge branch '10.2' into 10.3Oleksandr Byelkin2019-05-121-0/+42
| |
* | Removed redundant partitioning checkSergey Vojtovich2019-04-031-0/+27
| | | | | | | | | | | | | | | | | | This check was introduced in 602a222 and then became redundant in ad1553e, where we attempt to open a table even for non-copy algorithms. Added missing test case from 602a222. Part of MDEV-17805 - Remove InnoDB cache for temporary tables.
* | Merge branch '10.4' into bb-10.4-mdev16188Igor Babaev2019-02-031-0/+64
|\ \
| * \ Merge 10.3 into 10.4Marko Mäkelä2019-01-061-0/+23
| |\ \ | | |/
| | * Merge branch '10.2' into 10.3Sergei Golubchik2019-01-031-0/+23
| | |
| * | Merge 10.3 into 10.4Marko Mäkelä2018-12-181-1/+1
| |\ \ | | |/
| | * Merge 10.2 into 10.3Marko Mäkelä2018-12-181-1/+1
| | |
| * | MDEV-15253: Default optimizer setting changes for MariaDB 10.4Varun Gupta2018-12-091-0/+1
| |/ | | | | | | | | use_stat_tables= PREFERABLY optimizer_use_condition_selectivity= 4
| * Merge 10.2 into 10.3Marko Mäkelä2018-11-191-0/+29
| |
| * MDEV-16241 Assertion `inited==RND' failed in handler::ha_rnd_end()Aleksey Midenkov2018-11-131-0/+11
| | | | | | | | | | | | | | Discrepancy in open indexes due to overwritten `read_partitions` upon `ha_open()` in `ha_partition::clone()`. [Fixes tempesta-tech/mariadb#551]
* | MDEV-16188 Use in-memory PK filters built from range index scansIgor Babaev2019-02-031-2/+15
|/ | | | | | | | | | | | | | | | | | | | | | This patch contains a full implementation of the optimization that allows to use in-memory rowid / primary filters built for range   conditions over indexes. In many cases usage of such filters reduce   the number of disk seeks spent for fetching table rows. In this implementation the choice of what possible filter to be applied   (if any) is made purely on cost-based considerations. This implementation re-achitectured the partial implementation of the feature pushed by Galina Shalygina in the commit 8d5a11122c32f4d9eb87536886c6e893377bdd07. Besides this patch contains a better implementation of the generic   handler function handler::multi_range_read_info_const() that takes into account gaps between ranges when calculating the cost of range index scans. It also contains some corrections of the implementation of the handler function records_in_range() for MyISAM. This patch supports the feature for InnoDB and MyISAM.
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-0/+927