~percona-dev/percona-server/release-5.1.57-12-rnt-backup

« back to all changes in this revision

Viewing changes to innodb_files_extend.patch

  • Committer: kinoyasu
  • Date: 2010-05-19 11:04:53 UTC
  • mto: This revision was merged to the branch mainline in revision 7.
  • Revision ID: kinoyasu@gauntlet3-20100519110453-txm0stqmhc2s3u11
add new option innodb_doublewrite_path

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
 static my_bool innobase_thread_concurrency_timer_based;
82
82
 static long long innobase_buffer_pool_size, innobase_log_file_size;
83
83
 
84
 
@@ -2017,6 +2019,36 @@
 
84
@@ -2018,6 +2020,36 @@
85
85
        }
86
86
 #endif /* UNIV_DEBUG */
87
87
 
118
118
 #ifndef MYSQL_SERVER
119
119
        innodb_overwrite_relay_log_info = FALSE;
120
120
 #endif
121
 
@@ -6899,9 +6931,9 @@
 
121
@@ -6902,9 +6934,9 @@
122
122
                                        | DICT_TF_COMPACT
123
123
                                        | DICT_TF_FORMAT_ZIP
124
124
                                        << DICT_TF_FORMAT_SHIFT;
131
131
                        }
132
132
                }
133
133
 
134
 
@@ -10860,6 +10892,11 @@
 
134
@@ -10863,6 +10895,11 @@
135
135
   "#### Attention: The checksum is not compatible for normal or disabled version! ####",
136
136
   NULL, NULL, FALSE);
137
137
 
143
143
 static MYSQL_SYSVAR_STR(data_home_dir, innobase_data_home_dir,
144
144
   PLUGIN_VAR_READONLY,
145
145
   "The common part for InnoDB table spaces.",
146
 
@@ -11325,6 +11362,7 @@
 
146
@@ -11333,6 +11370,7 @@
147
147
   NULL, NULL, 0, 0, 1, 0);
148
148
 
149
149
 static struct st_mysql_sys_var* innobase_system_variables[]= {
154
154
diff -ruN a/storage/innodb_plugin/handler/innodb_patch_info.h b/storage/innodb_plugin/handler/innodb_patch_info.h
155
155
--- a/storage/innodb_plugin/handler/innodb_patch_info.h 2010-04-30 16:34:36.000000000 +0900
156
156
+++ b/storage/innodb_plugin/handler/innodb_patch_info.h 2010-04-30 16:35:09.000000000 +0900
157
 
@@ -45,5 +45,6 @@
158
 
 {"innodb_lru_dump_restore","Dump and restore command for content of buffer pool","","http://www.percona.com/docs/wiki/percona-xtradb"},
 
157
@@ -46,5 +46,6 @@
 
158
 {"innodb_separate_doublewrite","Add option 'innodb_doublewrite_path' to separate doublewrite dedicated tablespace","","http://www.percona.com/docs/wiki/percona-xtradb"},
159
159
 {"innodb_pass_corrupt_table","Treat tables as corrupt instead of crash, when meet corrupt blocks","","http://www.percona.com/docs/wiki/percona-xtradb"},
160
160
 {"innodb_fast_checksum","Using the checksum on 32bit-unit calculation","incompatible for unpatched ver.","http://www.percona.com/docs/wiki/percona-xtradb"},
161
161
+{"innodb_files_extend","allow >4GB transaction log files, and can vary universal page size of datafiles","incompatible for unpatched ver.","http://www.percona.com/docs/wiki/percona-xtradb"},
230
230
diff -ruN a/storage/innodb_plugin/include/trx0sys.h b/storage/innodb_plugin/include/trx0sys.h
231
231
--- a/storage/innodb_plugin/include/trx0sys.h   2010-04-29 16:43:16.000000000 +0900
232
232
+++ b/storage/innodb_plugin/include/trx0sys.h   2010-04-30 16:35:09.000000000 +0900
233
 
@@ -489,9 +489,9 @@
 
233
@@ -514,9 +514,9 @@
234
234
 /** Contents of TRX_SYS_MYSQL_LOG_MAGIC_N_FLD */
235
235
 #define TRX_SYS_MYSQL_LOG_MAGIC_N      873422344
236
236
 
363
363
diff -ruN a/storage/innodb_plugin/srv/srv0srv.c b/storage/innodb_plugin/srv/srv0srv.c
364
364
--- a/storage/innodb_plugin/srv/srv0srv.c       2010-04-30 16:34:37.000000000 +0900
365
365
+++ b/storage/innodb_plugin/srv/srv0srv.c       2010-04-30 16:35:09.000000000 +0900
366
 
@@ -216,6 +216,10 @@
 
366
@@ -218,6 +218,10 @@
367
367
 UNIV_INTERN ulint      srv_n_read_io_threads   = ULINT_MAX;
368
368
 UNIV_INTERN ulint      srv_n_write_io_threads  = ULINT_MAX;
369
369
 
377
377
diff -ruN a/storage/innodb_plugin/srv/srv0start.c b/storage/innodb_plugin/srv/srv0start.c
378
378
--- a/storage/innodb_plugin/srv/srv0start.c     2010-04-30 16:31:04.000000000 +0900
379
379
+++ b/storage/innodb_plugin/srv/srv0start.c     2010-04-30 16:35:09.000000000 +0900
380
 
@@ -1347,10 +1347,12 @@
 
380
@@ -1497,10 +1497,12 @@
381
381
        }
382
382
 #endif /* UNIV_LOG_ARCHIVE */
383
383
 
392
392
 
393
393
                return(DB_ERROR);
394
394
        }
395
 
@@ -1359,7 +1361,7 @@
 
395
@@ -1509,7 +1511,7 @@
396
396
 
397
397
        for (i = 0; i < srv_n_data_files; i++) {
398
398
 #ifndef __WIN__