List:Commits« Previous MessageNext Message »
From:kevin.lewis Date:August 31 2012 7:42pm
Subject:bzr push into mysql-5.6 branch (kevin.lewis:4212 to 4213) Bug#14571373
View as plain text  
 4213 kevin.lewis@stripped	2012-08-31
      Bug #14571373 - INNODB: NEW WARNINGS ON WINDOWS IN 5.6 BRANCH
      Clean up compiler warnings
      Approved by Marko, rb:1261

    modified:
      storage/innobase/handler/ha_innodb.cc
      storage/innobase/handler/i_s.cc
 4212 Marc Alff	2012-08-31 [merge]
      Local merge

    modified:
      cmake/create_initial_db.cmake.in
      mysys_ssl/CMakeLists.txt
=== modified file 'storage/innobase/handler/ha_innodb.cc'
--- a/storage/innobase/handler/ha_innodb.cc	revid:marc.alff@stripped
+++ b/storage/innobase/handler/ha_innodb.cc	revid:kevin.lewis@stripped
@@ -3093,7 +3093,9 @@ innobase_change_buffering_inited_ok:
 		innobase_buffer_pool_instances = 8;
 #ifdef _WIN32
 		if (innobase_buffer_pool_size > 1331 * 1024 * 1024) {
-			innobase_buffer_pool_instances = innobase_buffer_pool_size / (128 * 1024 * 1024);
+			innobase_buffer_pool_instances
+				= (long) (innobase_buffer_pool_size
+				/ (128 * 1024 * 1024));
 		}
 #endif
 }

=== modified file 'storage/innobase/handler/i_s.cc'
--- a/storage/innobase/handler/i_s.cc	revid:marc.alff@stripped
+++ b/storage/innobase/handler/i_s.cc	revid:kevin.lewis@stripped
@@ -1764,13 +1764,13 @@ i_s_cmp_per_index_fill_low(
 			iter->second.compressed_ok);
 
 		fields[IDX_COMPRESS_TIME]->store(
-			iter->second.compressed_usec / 1000000);
+			(long) (iter->second.compressed_usec / 1000000));
 
 		fields[IDX_UNCOMPRESS_OPS]->store(
 			iter->second.decompressed);
 
 		fields[IDX_UNCOMPRESS_TIME]->store(
-			iter->second.decompressed_usec / 1000000);
+			(long) (iter->second.decompressed_usec / 1000000));
 
 		if (schema_table_store_record(thd, table)) {
 			status = 1;
@@ -2068,8 +2068,8 @@ i_s_cmpmem_fill_low(
 			table->field[3]->store(UNIV_LIKELY(x < BUF_BUDDY_SIZES)
 				? UT_LIST_GET_LEN(buf_pool->zip_free[x])
 				: 0);
-			table->field[4]->store((longlong)
-			buddy_stat->relocated, true);
+			table->field[4]->store(
+				(longlong) buddy_stat->relocated, true);
 			table->field[5]->store(
 				(ulong) (buddy_stat->relocated_usec / 1000000));
 

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.6 branch (kevin.lewis:4212 to 4213) Bug#14571373kevin.lewis1 Sep