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

 3456 Marko Mäkelä	2010-05-06
      btr_page_split_and_insert(): Add an assertion suggested by Sunny
      when reviewing the patch to 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-06 11:20:24 +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-20100506112024-0t6dm2s87xr4iyxh.bundle
Thread
bzr commit into mysql-5.1-innodb branch (marko.makela:3456) Bug#52964marko.makela6 May