lp:~maria-captains/maria/5.3-optimizer-debugging

Created by Sergey Petrunia and last modified
Get this branch:
bzr branch lp:~maria-captains/maria/5.3-optimizer-debugging
Members of Maria-captains can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Maria-captains
Project:
MariaDB
Status:
Development

Recent revisions

3397. By Sergey Petrunia

Merge 5.3 -> 5.3-optimizer-debugging

3396. By Sergey Petrunia

Merge 5.3 -> 5.3-optimizer-debugging

3395. By Sergey Petrunia

Merge 5.3->main -> 5.3-optimizer_debugging

3394. By Sergey Petrunia

Merge 5.3-main -> 5.3-optimizer-debugging

3393. By Oleksandr "Sanja" Byelkin

Fixed creating limit for exists subquery.

3392. By Igor Babaev

Back-ported test cases for bugs #54437, #55955, #52329, #57623 from subquery_sj
of mysql-5.6 code line. The bugs could not be reproduced in the latest release
of mariadb-5.3 as they were fixed either when the code of subquery optimization
was back-ported from mysql-6.0 or later when some other bugs were fixed.

3391. By Igor Babaev

Back-ported test cases for bugs #53060, #53305, #50358, #49453 from subquery_sj
of mysql-5.6 code line. The bugs could not be reproduced in the latest release
of mariadb-5.3 as they were fixed either when the code of subquery optimization
was back-ported from mysql-6.0 or later when some other bugs were fixed.

3390. By Sergey Petrunia

BUG#912513: Wrong result (missing rows) with join_cache_hashed+materialization+semijoin=on
- equality substitution code was geared towards processing WHERE/ON clauses.
  that is, it assumed that it was doing substitions on the code that
   = wasn't attached to any particular join_tab yet
   = was going to be fed to make_join_select() which would take the condition
     apart and attach various parts of it to tables inside/outside semi-joins.
- However, somebody added equality substition for ref access. That is, if
  we have a ref access on TBL.key=expr, they would do equality substition in
  'expr'. This possibility wasn't accounted for.
- Fixed equality substition code by adding a mode that does equality
  substition under assumption that the processed expression will be
  attached to a certain particular table TBL.

3389. By Sergey Petrunia

BUG#912538: Wrong result (missing rows) with semijoin=on, firstmatch=on, ...
- setup_semijoin_dups_elimination() would incorrectly set join_tab->do_firstmatch
  when the join order had outer tables interleaved with inner.

3388. By Vladislav Vaintroub

Fix compiler warning on Windows.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:maria/5.3
This branch contains Public information 
Everyone can see this information.

Subscribers