~tsarev/percona-server/5.1.59-porting-bad

« back to all changes in this revision

Viewing changes to patches/innodb_fast_checksum.patch

  • Committer: Oleg Tsarev
  • Date: 2011-10-03 01:50:39 UTC
  • Revision ID: oleg.tsarev@percona.com-20111003015039-paaw29otwtnxucwx
regenerate

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
 static my_bool innobase_extra_undoslots                = FALSE;
154
154
 static my_bool innobase_fast_recovery                  = FALSE;
155
155
 static my_bool innobase_recovery_stats                 = TRUE;
156
 
@@ -2415,6 +2416,7 @@
 
156
@@ -2417,6 +2418,7 @@
157
157
 
158
158
        srv_use_doublewrite_buf = (ibool) innobase_use_doublewrite;
159
159
        srv_use_checksums = (ibool) innobase_use_checksums;
160
160
+       srv_fast_checksum = (ibool) innobase_fast_checksum;
161
161
 
162
 
 #ifdef HAVE_LARGE_PAGES
163
 
         if ((os_use_large_pages = (ibool) my_use_large_pages))
164
 
@@ -11181,6 +11183,15 @@
 
162
        srv_blocking_lru_restore = (ibool) innobase_blocking_lru_restore;
 
163
 
 
164
@@ -11185,6 +11187,15 @@
165
165
   "Disable with --skip-innodb-checksums.",
166
166
   NULL, NULL, TRUE);
167
167
 
177
177
 static MYSQL_SYSVAR_STR(data_home_dir, innobase_data_home_dir,
178
178
   PLUGIN_VAR_READONLY,
179
179
   "The common part for InnoDB table spaces.",
180
 
@@ -11666,6 +11677,7 @@
 
180
@@ -11676,6 +11687,7 @@
181
181
   MYSQL_SYSVAR(autoextend_increment),
182
182
   MYSQL_SYSVAR(buffer_pool_size),
183
183
   MYSQL_SYSVAR(checksums),
277
277
+}
278
278
--- a/storage/innodb_plugin/srv/srv0srv.c
279
279
+++ b/storage/innodb_plugin/srv/srv0srv.c
280
 
@@ -389,6 +389,7 @@
 
280
@@ -392,6 +392,7 @@
281
281
 
282
282
 UNIV_INTERN ibool      srv_use_doublewrite_buf = TRUE;
283
283
 UNIV_INTERN ibool      srv_use_checksums = TRUE;