~tsarev/percona-server/5.5-processlist_rows_stats-sporadic_fails-fix

« back to all changes in this revision

Viewing changes to innodb_fast_checksum.patch

  • Committer: kinoyasu
  • Date: 2011-05-10 11:57:42 UTC
  • Revision ID: kinoyasu@gauntlet4-20110510115742-3i3194rn2m8fipm2
port Yasufumi patches to 5.5.12

Show diffs side-by-side

added added

removed removed

Lines of Context:
170
170
 static my_bool innobase_recovery_stats                 = TRUE;
171
171
 static my_bool innobase_locks_unsafe_for_binlog        = FALSE;
172
172
 static my_bool innobase_overwrite_relay_log_info       = FALSE;
173
 
@@ -2593,6 +2594,7 @@
 
173
@@ -2606,6 +2607,7 @@
174
174
 
175
175
        srv_use_doublewrite_buf = (ibool) innobase_use_doublewrite;
176
176
        srv_use_checksums = (ibool) innobase_use_checksums;
178
178
 
179
179
 #ifdef HAVE_LARGE_PAGES
180
180
         if ((os_use_large_pages = (ibool) my_use_large_pages))
181
 
@@ -11401,6 +11403,15 @@
 
181
@@ -11414,6 +11416,15 @@
182
182
   "Disable with --skip-innodb-checksums.",
183
183
   NULL, NULL, TRUE);
184
184
 
194
194
 static MYSQL_SYSVAR_STR(data_home_dir, innobase_data_home_dir,
195
195
   PLUGIN_VAR_READONLY,
196
196
   "The common part for InnoDB table spaces.",
197
 
@@ -11909,6 +11920,7 @@
 
197
@@ -11922,6 +11933,7 @@
198
198
   MYSQL_SYSVAR(buffer_pool_size),
199
199
   MYSQL_SYSVAR(buffer_pool_instances),
200
200
   MYSQL_SYSVAR(checksums),
205
205
diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h
206
206
--- a/storage/innobase/include/buf0buf.h        2010-12-04 15:52:23.458514045 +0900
207
207
+++ b/storage/innobase/include/buf0buf.h        2010-12-04 15:53:45.044514150 +0900
208
 
@@ -602,6 +602,11 @@
 
208
@@ -604,6 +604,11 @@
209
209
 buf_calc_page_new_checksum(
210
210
 /*=======================*/
211
211
        const byte*     page);  /*!< in: buffer page */
291
291
diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c
292
292
--- a/storage/innobase/srv/srv0srv.c    2010-12-04 15:52:23.498513634 +0900
293
293
+++ b/storage/innobase/srv/srv0srv.c    2010-12-04 15:53:45.053550283 +0900
294
 
@@ -421,6 +421,7 @@
 
294
@@ -420,6 +420,7 @@
295
295
 
296
296
 UNIV_INTERN ibool      srv_use_doublewrite_buf = TRUE;
297
297
 UNIV_INTERN ibool      srv_use_checksums = TRUE;