summaryrefslogtreecommitdiff
path: root/mysql-test/main/subselect_no_mat.result
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/10.4' into 10.5Alexander Barkov2022-09-141-6/+6
|\
| * Merge 10.3 into 10.4Marko Mäkelä2022-09-131-6/+6
| |\
| | * MDEV-29446 Change SHOW CREATE TABLE to display default collationAlexander Barkov2022-09-121-6/+6
| | |
* | | Merge 10.4 into 10.5Marko Mäkelä2022-07-271-11/+11
|\ \ \ | |/ /
| * | Merge branch '10.3' into 10.4Oleksandr Byelkin2022-07-271-11/+11
| |\ \ | | |/
| | * MDEV-21445 Strange/inconsistent behavior of IN condition when mixing numbers ↵Alexander Barkov2022-07-061-11/+11
| | | | | | | | | | | | and strings
* | | Merge branch '10.4' into 10.5Sergei Golubchik2022-05-091-1/+1
|\ \ \ | |/ /
| * | Merge branch '10.3' into 10.4Sergei Golubchik2022-05-081-1/+1
| |\ \ | | |/
| | * Merge branch '10.2' into 10.3Oleksandr Byelkin2022-05-031-1/+1
| | |
* | | Merge 10.4 into 10.5Marko Mäkelä2021-03-191-0/+38
|\ \ \ | |/ /
| * | Merge 10.3 into 10.4Marko Mäkelä2021-03-191-0/+38
| |\ \ | | |/
| | * Merge 10.2 into 10.3Marko Mäkelä2021-03-181-0/+38
| | |
* | | Updated optimizer costs in multi_range_read_info_const() and sql_select.ccMonty2020-03-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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
* | | outer references in subqueries in INSERTSergei Golubchik2019-10-141-2/+0
| | | | | | | | | | | | remove inconsistent limitation
* | | MDEV-19713 Remove big_tables system variableSergei Golubchik2019-09-281-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mark big_tables deprecated, the server can put temp tables on disk as needed avoiding "table full" errors. in case someone would really need to force a tmp table to be created on disk from the start and for testing allow tmp_memory_table_size to be set to 0. fix tests to use that instead (and add a test that it actually works). make sure in-memory TREE size limit is never 0 (it's [ab]using tmp_memory_table_size at the moment) remove few sys_vars.*_basic tests
* | MDEV-19956 Queries with subqueries containing UNION are not parsedIgor Babaev2019-09-231-5/+10
| | | | | | | | | | | | | | | | Shift-Reduce conflicts prevented parsing some queries with subqueries that used set operations when the subqueries occurred in expressions or in IN predicands. The grammar rules for query expression were transformed in order to avoid these conflicts. New grammar rules employ an idea taken from MySQL 8.0.
* | MDEV-20634 Report disallowed subquery errors as such (instead of parse error)Alexander Barkov2019-09-201-2/+2
| |
* | Merge branch '10.3' into 10.4Sergei Golubchik2019-09-061-1/+2
|\ \ | |/
| * Merge branch '10.2' into 10.3Monty2019-09-031-1/+2
| |
* | Merge 10.3 into 10.4Marko Mäkelä2019-08-311-5/+5
|\ \ | |/
| * MDEV-20109: Optimizer ignores distinct key created for materialized...Sergei Petrunia2019-08-301-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Backported to 10.3, addressed review input) Sj_materialization_picker::check_qep(): fix error in cost/fanout calculations: - for each join prefix, add #prefix_rows / TIME_FOR_COMPARE to the cost, like best_extension_by_limited_search does - Remove the fanout produced by the subquery tables. - Also take into account join condition selectivity optimize_wo_join_buffering() (used by LooseScan and FirstMatch) - also add #prefix_rows / TIME_FOR_COMPARE to the cost of each prefix. - Also take into account join condition selectivity
* | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-07-281-2/+33
|\ \ | |/
| * Merge branch '10.2' into 10.3Oleksandr Byelkin2019-07-261-2/+33
| |
* | Merge branch '10.3' into 10.4Oleksandr Byelkin2019-06-141-1/+1
|\ \ | |/
| * Merge branch '10.2' into 10.3Oleksandr Byelkin2019-06-141-1/+1
| |
* | MDEV-18689 Simple query with extra brackets stopped workingIgor Babaev2019-05-061-6/+18
| | | | | | | | | | | | | | | | Parenthesis around table names and derived tables should be allowed in FROM clauses and some other context as it was in earlier versions. Returned test queries that used such parenthesis in 10.3 to their original form. Adjusted test results accordingly.
* | Fixed the results after the merge of 10.4 into bb-10.4-mdev16188.Igor Babaev2019-02-031-0/+1
| |
* | Merge branch '10.4' into bb-10.4-mdev16188Igor Babaev2019-02-031-6/+6
|\ \
| * | MDEV-15253: Default optimizer setting changes for MariaDB 10.4Varun Gupta2018-12-091-6/+6
| | | | | | | | | | | | | | | use_stat_tables= PREFERABLY optimizer_use_condition_selectivity= 4
* | | MDEV-16188 Use in-memory PK filters built from range index scansIgor Babaev2019-02-031-4/+8
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | MDEV-15851 Stop creating mysql.host tableVladislav Vaintroub2018-08-161-6/+0
| | | | | | | | Changed bootstrap scripts, adjusted result files.
* | Merge 10.3 into 10.4Marko Mäkelä2018-08-161-0/+16
|\ \ | |/
| * Merge 10.2 into 10.3Marko Mäkelä2018-07-261-0/+16
| |
* | MDEV-16861 Split Item::update_null_value() into a new virtual method in ↵Alexander Barkov2018-07-311-0/+15
| | | | | | | | Type_handler
* | MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operationsOleksandr Byelkin2018-07-041-34/+32
|/
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-0/+7283