lp:~knielsen/maria/5.2-percona-row_based_replication_without_primary_key

Created by Kristian Nielsen and last modified
Get this branch:
bzr branch lp:~knielsen/maria/5.2-percona-row_based_replication_without_primary_key
Only Kristian Nielsen can upload to this branch. If you are Kristian Nielsen please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Kristian Nielsen
Project:
MariaDB
Status:
Development

Recent revisions

2900. By Kristian Nielsen

Merge Percona patch row_based_replication_without_primary_key.patch into MariaDB.

This patch improves the selection of index to use to apply row-based
DELETE and UPDATE events on tables with no primary key (original code
picks the first index unconditionally).
If ANALYZE TABLE is done, the index cardinalities will be compared and
the best index will be used.

Fixes some problems in the original patch:

 - Without ANALYZE TABLE, rec_per_key statistics is not available; in this
   case the original patch could choose a really bad index, even ignoring
   a primary key.

 - The original patch did not consider multi-column keys correctly, and
   could thus pick a less desirable single-column key over a good
   multi-column index.

Also fixes Bug#58997, and adds test cases.

2899. By Michael Widenius

merge with 5.1
(Includes patch for overrun detected by valgrind thanks to previous my_alloca() -> my_malloc() patch)

2898. By Michael Widenius

When compiling with valgrind, change my_alloca() to use my_malloc()
- This allows us to detect missing my_afree() calls and also find overruns (when running with valgrind) to alloca() areas.
- Added missing my_afree() calls
- Fixed wrong call to my_afree()

2897. By Kristian Nielsen

Fix wrong merge of patch for Bug#46639.

2896. By Vladislav Vaintroub

merge LP Bug#686184

2895. By Vladislav Vaintroub

merge

2894. By Michael Widenius

Removed compiler warning

2893. By Michael Widenius

merge with 5.1-release

2892. By Michael Widenius

Automatic merge

2891. By Vladislav Vaintroub

merge

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