lp:maria/5.3

Created by Sergei Golubchik and last modified
Get this branch:
bzr branch lp:maria/5.3
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:
Mature

Recent revisions

3799. By Sergey Petrunia

MDEV-6830: Server crashes in best_access_path after a sequence of SELECTs ...

generate_derived_keys_for_table() did not work correctly in the case where
- it had a potential index on derived table
- however, TABLE::check_tmp_key() would disallow creation of this index
  after looking at its future key parts (because of the key parts exceeding
  max. index length)
- the code would leave a KEYUSE structure that refers to a non-existant index.
  Depending on further optimizer calculations, this could cause a crash.

3798. By Alexey Botchkov

MDEV-6883 ST_WITHIN crashes server if (0,0) is matched to POLYGON((0 0)).
  Fixed the case when a polygon contains a single-point ring.

3797. By Sergey Petrunia

MDEV-7068: MRR accessing uninitialised bytes, test case failure main.innodb_mrr
Backport to 5.3:
- Don't call index_reader->interrupt_read() if the
  index reader has returned all rows that matched its keys.

3796. By Sergey Petrunia

Merge

3795. By Igor Babaev

Fixed bug mdev-6705.

After constant row substitution the WHERE condition may be simplified and its multiple equality
may be changed. In this case the references to these multiple equalities from the COND_EQUAL
objects associated with ON expressions must be updated.
Also we have to take into account that this simplification may lead to equalities of the form
field=const that are mutually exclusive with some of the equalities in ON expressions.

3794. By Igor Babaev

Fixed bug mdev-6292.
Avoided exponential recursive calls of JOIN_CACHE::join_records() in the case
of non-nested outer joins.
A different solution is required to resolve this performance problem for
nested outer joins.

3793. By Igor Babaev

Merge.

3792. By Sergei Golubchik

fix func_time.test to be independent from the system time zone

3791. By Alexander Barkov

MDEV-4511 Assertion `scale <= precision' fails on GROUP BY TIMEDIFF with incorrect types
MDEV-6302 Wrong result set when using GROUP BY FROM_UNIXTIME(...)+0
Fixed.

3790. By Sergei Golubchik

MDEV-6290 Crash in KILL HARD QUERY USER x@y when slave threads are running

KILL USER should ignore system threads where sctx->user=sctx->host=NULL

Branch metadata

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