Created by Laurynas Biveinis on 2012-10-16 and last modified on 2012-10-16
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/26611-bug917942-5.1
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

486. By Laurynas Biveinis on 2012-10-16

Fix bug 917942 (fake-changes infinite loop on update, allocates many

The bug was reported by, and the fix and testcase are adopted from
Facebook MySQL branch, revision 3787 of lp:mysqlatfacebook/51.

The issue is btr_cur_pessimistic_update() has uninitialized
cursor->tree_height when fake changes enabled, which is then used to
compute the number of extents to allocate. Other similar functions
(btr_cur_pessimistic_insert() and btr_cur_pessimistic_delete()) seem
to be unaffected.

Fixed by initializing cursor->tree_height to ULINT_UNDEFINED in
btr_pcur_create_for_mysql(), testing for this value in
btr_cur_pessimistic_update() and allocating 3 extents in the case of
fake changes. Added checks in btr_cur_pessimistic_insert() and
btr_cur_pessimistic_delete() that tree_height != ULINT_UNDEFINED.

Make btr_cur_update_alloc_zip() not call
page_zip_compress_write_log_no_data() as fake transactions should not
write to log and to avoid hitting asserts. For that, pass trx to the
former and update all callers.

Add a testcase for the bug.

485. By Laurynas Biveinis on 2012-10-11

Automerge prerequisite branch

484. By Hrvoje Matijakovic on 2012-10-05

* bug fix for Bug #1054090

483. By Stewart Smith on 2012-10-02

merge fix for: Bug #1046389: UNIV_DEBUG build broken

481. By Stewart Smith on 2012-09-05

merge 5.1.65-14.0 release branch

480. By Stewart Smith on 2012-09-05

merge Bug #747032: Flashcache throws an error on startup when flashcache is not used

479. By Stewart Smith on 2012-09-05

merge fix for Bug #902471: Lots of ssl tests failures on oneiric hosts

478. By Stewart Smith on 2012-09-05

merge fix for Bug #1039931: 64-bit atomic operation Autoconf tests duplicated in regular atomic operation tests

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.