Created by Timour Katchaounov and last modified
Get this branch:
bzr branch lp:~maria-captains/maria/5.5-timour
Members of Maria-captains can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information


Recent revisions

3735. By Timour Katchaounov

Removed extra empty line

3734. By Timour Katchaounov

MDEV-5123 Remove duplicated conditions pushed both to join_tab->select_cond and join_tab->cache_select->cond for blocked joins.

BNL and BNLH joins pre-filter the records from a joined table via JOIN_TAB::cache_select->cond.
There is no need to re-evaluate the same conditions via JOIN_TAB::select_cond. This patch removes
the duplicated conditions from the top-level conjuncts of each pushed condition.

The added "Using where" in few EXPLAINs is due to taking into account tab->cache_select->cond
in addition to tab->select_cond in JOIN::save_explain_data_intern.

3733. By Sergey Petrunia

Fix valgrind failure in subselect3.test, "Conditional jump or move
depends on uninitialised value(s) in JOIN::save_explain_data_intern"
- Make find_best() /* the old join optimizer code */ also use table
  condition selectivity.

3732. By Alexander Barkov

Merge 5.5 -> 10.0-base

3731. By Alexander Barkov

Merge 5.5 -> 10.0-base

3730. By Alexander Barkov

Merge 5.5 -> 10.0-base

3729. By Alexander Barkov

A clean-up for "MDEV-3798: [SHOW] EXPLAIN UPDATE/DELETE".
Local variable table_name_buffer went out of scope while
its content was still being used by a String instance.
Moved the variable to the function scope.

3728. By Sergey Petrunia

MDEV-3798: [SHOW] EXPLAIN UPDATE/DELETE, Memory leak in binlog.binlog_base64_flag:
- It turns out, there are statements that will call lex_start(thd->lex)
  after parsing has been finished. lex_start() will set lex->explain=NULL,
  which will lose the pointer to already allocated Explain_plan object.
- To get rid of this, switch to lazy creation of lex->explain. Now, it is
  created only when we get a part ot query plan.

3727. By Sergey Petrunia

Fix valgrind failure caused by calling c_ptr() of an empty StringBuffer<N>.

3726. By Sergey Petrunia

Fix buildbot failures:
- MYSQL_MULTI_DELETE_DONE probe compile failure
- show_explain_non_select.test

Branch metadata

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