lp:~knielsen/maria/5.2-percona-row_based_replication_without_primary_key
- Get this branch:
- bzr branch lp:~knielsen/maria/5.2-percona-row_based_replication_without_primary_key
Branch merges
Branch information
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()
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