List:Commits« Previous MessageNext Message »
From:marko.makela Date:April 27 2010 1:47pm
Subject:bzr commit into mysql-5.1-innodb branch (marko.makela:3422)
View as plain text  
#At file:///home/marko/innobase/dev/mysql/5.1-innodb/ based on revid:marko.makela@stripped9h6n88q6bo

 3422 Marko Mäkelä	2010-04-27
      row_merge_drop_temp_indexes(): Remove a bogus char-to-ulint cast.

    modified:
      storage/innodb_plugin/row/row0merge.c
=== modified file 'storage/innodb_plugin/row/row0merge.c'
--- a/storage/innodb_plugin/row/row0merge.c	2010-02-24 08:56:43 +0000
+++ b/storage/innodb_plugin/row/row0merge.c	2010-04-27 13:47:38 +0000
@@ -2070,7 +2070,7 @@ row_merge_drop_temp_indexes(void)
 		field = rec_get_nth_field_old(rec, DICT_SYS_INDEXES_NAME_FIELD,
 					      &len);
 		if (len == UNIV_SQL_NULL || len == 0
-		    || mach_read_from_1(field) != (ulint) TEMP_INDEX_PREFIX) {
+		    || (char) *field != TEMP_INDEX_PREFIX) {
 			continue;
 		}
 

Attachment: [text/bzr-bundle] bzr/marko.makela@oracle.com-20100427134738-1poi5n4hn29ndne5.bundle
Thread
bzr commit into mysql-5.1-innodb branch (marko.makela:3422) marko.makela27 Apr