Created by Oleg Tsarev on 2012-02-02 and last modified on 2012-02-08
Get this branch:
bzr branch lp:~tsarev/percona-server/18205_04_replication.patch
Only Oleg Tsarev can upload to this branch. If you are Oleg Tsarev please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

216. By Oleg Tsarev on 2012-02-08

update from lp:percona-server/rnt-5.1

215. By Oleg Tsarev on 2012-02-08

Fixed code policy

214. By Oleg Tsarev on 2012-02-06

Moved related to wl5151.patch, slave_type_conversions_error_on_truncate.patch, replication_slave_skip_columns.patch tests from mysql-test-rnt.diff to rbr-test.diff

213. By Oleg Tsarev on 2012-02-06

fixed code policy in wl5151.patch, slave_type_conversions_error_on_truncate.patch, replication_slave_skip_columns.patch

212. By Oleg Tsarev on 2012-02-02

reorder patches in series. Now replication_slave_skip_columns.patch near the wl5151.patch and slave_type_conversions_error_on_truncate.patch patches. This operation required for merge together this three patches.

211. By Oleg Tsarev on 2012-02-01

Fixed code polcy in wl47.patch.
Moved related tests and tests fixes from mysql-test-run.diff to wl47.patch.
Added (missed before) results for tests rpl.rpl_row_annotate_do, rpl.rpl_row_annotate_dont, binlog.binlog_row_annotate.

210. By Oleg Tsarev on 2012-01-31

Renamed patch mwl36.patch to wl36.patch.
Fixed code policy.
Added test.

209. By Oleg Tsarev on 2012-01-31

fixed code policy in mysqlbinlog_fix.patch

208. By Oleg Tsarev on 2012-01-16

Return back Percona's "innodb_stats_method=nulls_ignored" algorithm.

Related Launchpad bug #892405
Related MySQL bug http://bugs.mysql.com/bug.php?id=63320

I added new value "nulls_ignored_exact" for variable innodb_stats_method.

Current upsteam "nulls_ignored" algorithm calculate not_null values on every estimated (random) page, and after that try to approximates total value count.
Unfortunately, this algorithm works incorrectly on mostly null indexes (see MySQL Bug #63320).

Percona'a algorithm excludes from estimation pages with nulls, calculates the count of different values and approximates total value count.
This algorithm works correctly on mostly null indexes, but has limitation - it works correctly just on one-column-key indexes. On compound-keys algorithm can works incorrectly (I didn't test this).
Unfortunately, I can't imagine now how to discard this limitation.

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.