Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
5.5.41, 10.0.15
-
Linux
Description
When "semijoin" is enabled via "optimizer_switch", data can be duplicated with certain values of "optimizer_search_depth".
According to this documentation page:
A DuplicateWeedout strategy is supposed to be implemented using temporary tables for semijoin queries. For some values of "optimizer_search_depth", this duplicate weedout step may not occur.
Attached is the following:
optimizer_search_depth_semijoin_data_setup.sql - A script that sets up a database and a few tables.
optimizer_search_depth_semijoin_query_test.sql - A script that queries the tables to demonstrate the problem.
optimizer_search_depth_semijoin_output.txt - Example execution of the scripts and their output.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Attachment | optimizer_search_depth_semijoin_data_setup.sql [ 36714 ] |
Attachment | optimizer_search_depth_semijoin_output.txt [ 36713 ] |
Attachment | optimizer_search_depth_semijoin_query_test.sql [ 36712 ] |
Attachment | optimizer_search_depth_semijoin_query_test.sql [ 36801 ] | |
Attachment | optimizer_search_depth_semijoin_output.txt [ 36802 ] | |
Attachment | optimizer_search_depth_semijoin_data_setup.sql [ 36803 ] |
Fix Version/s | 10.0 [ 16000 ] | |
Fix Version/s | 5.5 [ 15800 ] | |
Assignee | Sergei Petrunia [ psergey ] |
Assignee | Sergei Petrunia [ psergey ] | Elena Stepanova [ elenst ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | Stalled [ 10000 ] |
Assignee | Elena Stepanova [ elenst ] | Sergei Petrunia [ psergey ] |
Fix Version/s | 5.5.43 [ 18601 ] | |
Fix Version/s | 5.5 [ 15800 ] | |
Fix Version/s | 10.0 [ 16000 ] | |
Resolution | Fixed [ 1 ] | |
Status | Stalled [ 10000 ] | Closed [ 6 ] |
Fix Version/s | 10.0.18 [ 18702 ] |
Workflow | MariaDB v2 [ 59238 ] | MariaDB v3 [ 66317 ] |
Workflow | MariaDB v3 [ 66317 ] | MariaDB v4 [ 148723 ] |