List:Commits« Previous MessageNext Message »
From:marko.makela Date:August 17 2012 1:08pm
Subject:bzr push into mysql-trunk branch (marko.makela:4247 to 4248)
View as plain text  
 4248 Marko Mäkelä	2012-08-17 [merge]
      Merge mysql-5.6 to mysql-trunk.

    modified:
      storage/innobase/row/row0log.cc
 4247 Tor Didriksen	2012-08-17
      Fix broken build for -DWITHOUT_PERFSCHEMA_STORAGE_ENGINE=1

    modified:
      sql/rpl_info_factory.cc
      sql/rpl_mi.cc
      sql/rpl_mi.h
=== modified file 'storage/innobase/row/row0log.cc'
--- a/storage/innobase/row/row0log.cc	revid:tor.didriksen@stripped7zz2a2m
+++ b/storage/innobase/row/row0log.cc	revid:marko.makela@stripped
@@ -494,7 +494,7 @@ row_log_table_delete(
 	if (byte* b = row_log_table_open(index->online_log,
 					 mrec_size, &avail_size)) {
 		*b++ = ROW_T_DELETE;
-		*b++ = old_pk_extra_size;
+		*b++ = static_cast<byte>(old_pk_extra_size);
 
 		rec_convert_dtuple_to_rec_comp(
 			b + old_pk_extra_size, 0, new_index,
@@ -609,7 +609,7 @@ row_log_table_low_redundant(
 		*b++ = insert ? ROW_T_INSERT : ROW_T_UPDATE;
 
 		if (old_pk_size) {
-			*b++ = old_pk_extra_size;
+			*b++ = static_cast<byte>(old_pk_extra_size);
 
 			rec_convert_dtuple_to_rec_comp(
 				b + old_pk_extra_size, 0, new_index,
@@ -619,11 +619,11 @@ row_log_table_low_redundant(
 		}
 
 		if (extra_size < 0x80) {
-			*b++ = (byte) extra_size;
+			*b++ = static_cast<byte>(extra_size);
 		} else {
 			ut_ad(extra_size < 0x8000);
-			*b++ = (byte) (0x80 | (extra_size >> 8));
-			*b++ = (byte) extra_size;
+			*b++ = static_cast<byte>(0x80 | (extra_size >> 8));
+			*b++ = static_cast<byte>(extra_size);
 		}
 
 		rec_convert_dtuple_to_rec_comp(
@@ -722,7 +722,7 @@ row_log_table_low(
 		*b++ = insert ? ROW_T_INSERT : ROW_T_UPDATE;
 
 		if (old_pk_size) {
-			*b++ = old_pk_extra_size;
+			*b++ = static_cast<byte>(old_pk_extra_size);
 
 			rec_convert_dtuple_to_rec_comp(
 				b + old_pk_extra_size, 0, new_index,
@@ -732,11 +732,11 @@ row_log_table_low(
 		}
 
 		if (extra_size < 0x80) {
-			*b++ = (byte) extra_size;
+			*b++ = static_cast<byte>(extra_size);
 		} else {
 			ut_ad(extra_size < 0x8000);
-			*b++ = (byte) (0x80 | (extra_size >> 8));
-			*b++ = (byte) extra_size;
+			*b++ = static_cast<byte>(0x80 | (extra_size >> 8));
+			*b++ = static_cast<byte>(extra_size);
 		}
 
 		memcpy(b, rec - rec_offs_extra_size(offsets), extra_size);

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk branch (marko.makela:4247 to 4248) marko.makela20 Aug