List:Commits« Previous MessageNext Message »
From:marko.makela Date:May 11 2010 10:49am
Subject:bzr commit into mysql-5.1-innodb branch (marko.makela:3457) Bug#52964
View as plain text  
#At file:///home/marko/innobase/dev/mysql-5.1-innodb2/ based on revid:marko.makela@stripped0bg5s42p8e9

 3457 Marko Mäkelä	2010-05-11
      btr_page_split_and_insert(): Add an assertion
      suggested by Sunny Bains when reviewing Bug #52964.

    modified:
      storage/innodb_plugin/btr/btr0btr.c
=== modified file 'storage/innodb_plugin/btr/btr0btr.c'
--- a/storage/innodb_plugin/btr/btr0btr.c	2010-05-04 10:55:46 +0000
+++ b/storage/innodb_plugin/btr/btr0btr.c	2010-05-11 10:49:10 +0000
@@ -2000,6 +2000,7 @@ func_start:
 			goto insert_empty;
 		}
 	} else if (UNIV_UNLIKELY(insert_left)) {
+		ut_a(n_iterations > 0);
 		first_rec = page_rec_get_next(page_get_infimum_rec(page));
 		move_limit = page_rec_get_next(btr_cur_get_rec(cursor));
 	} else {

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20100511104910-nim8kgguawpis7zo.bundle
Thread
bzr commit into mysql-5.1-innodb branch (marko.makela:3457) Bug#52964marko.makela11 May