summaryrefslogtreecommitdiff
path: root/mysql-test/main/subselect4.result
Commit message (Collapse)AuthorAgeFilesLines
* Merge 10.2 into 10.3Marko Mäkelä2021-05-241-1/+20
|
* MDEV-24898: Server crashes in st_select_lex::next_selectbb-10.3-mdev24925Sergei Petrunia2021-04-251-0/+11
| | | | Add a testcase
* MDEV-24925: Server crashes in Item_subselect::init_expr_cache_trackerSergei Petrunia2021-04-251-0/+50
| | | | | | | | | | | | The optimizer removes redundant GROUP BY operations. If GROUP BY element is a subselect, it is "eliminated". However one must not eliminate the item if it is used both in the select list and in the GROUP BY, like so: select (select ... ) as SUBQ from ... group by SUBQ Do not eliminate such items.
* Merge 10.2 into 10.3Marko Mäkelä2021-03-181-0/+27
|
* Merge branch '10.2' into 10.3Sergei Golubchik2021-02-221-1/+9
|
* MDEV-21265: IN predicate conversion to IN subquery should be allowed for a ↵Varun Gupta2020-11-301-0/+34
| | | | | | | | | | | | | | broader set of datatype comparison Allow materialization strategy when collations on the inner and outer sides of an IN subquery are the same and the character set of the inner side is a proper subset of the character set on the outer side. This allows conversion from utf8mb3 to utf8mb4 as the former is a subset of the later. This is only allowed when IN predicate is converted to an IN subquery Backported part of the patch (d6a00d9b18f) of MDEV-17905.
* Merge branch '10.2' into 10.3Oleksandr Byelkin2020-10-301-1/+1
|
* MDEV-18335: Assertion `!error || error == 137' failed in ↵Varun Gupta2020-08-261-0/+31
| | | | | | | | | | | | | | | | subselect_rowid_merge_engine::init When duplicates are removed from a table using a hash, if the record is a duplicate it is marked as deleted. The handler API check if the record is deleted and send an error flag HA_ERR_RECORD_DELETED. When we scan over the table if the thread is not killed then we skip the records marked as HA_ERR_RECORD_DELETED. The issue here is when a query is aborted by a user (this is happening when the LIMIT for ROWS EXAMINED is exceeded), the scan over the table does not skip the records for which HA_ERR_RECORD_DELETED is sent. It just returns an error flag HA_ERR_ABORTED_BY_USER. This error flag is not checked at the upper level and hence we hit the assert. If the query is aborted by the user we should just skip reading rows and return control to the upper levels of execution.
* Merge 10.2 into 10.3Marko Mäkelä2020-08-101-0/+66
|
* Merge branch '10.2' into 10.3Oleksandr Byelkin2020-08-031-0/+24
|
* Merge 10.2 into 10.3Marko Mäkelä2020-07-021-0/+31
|
* Merge 10.2 into 10.3Marko Mäkelä2020-05-161-0/+32
|
* Merge 10.2 into 10.3Marko Mäkelä2018-04-241-0/+20
|
* Create 'main' test directory and move 't' and 'r' thereMichael Widenius2018-03-291-0/+2516