Merge lp:~vjsamuel/drizzle/rplugin-embedded-innodb into lp:~drizzle-trunk/drizzle/development
- rplugin-embedded-innodb
- Merge into development
Proposed by
Vijay Samuel
Status: | Merged |
---|---|
Merged at revision: | 1712 |
Proposed branch: | lp:~vjsamuel/drizzle/rplugin-embedded-innodb |
Merge into: | lp:~drizzle-trunk/drizzle/development |
Diff against target: |
672 lines (+384/-44) 41 files modified
plugin/embedded_innodb/embedded_innodb_engine.cc (+344/-2) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_off-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_on-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_off-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_on-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_additional_mem_pool_size_32m-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_autoextend_increment_42-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_buffer_pool_size_22m-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_disable-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_enable-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_disable-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_enable-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown0-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown1-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown2-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_disable-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_enable-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit0-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit1-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit2-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_fsync-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odirect-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odsync-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_force_recovery-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_io_capacity-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_lock_wait_timeout_1-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_log_buffer_size_5m-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_dirty_pages_pct_50-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_purge_lag_42-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_open_files_800-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_off-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_on-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_read_io_threads_64-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_off-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_on-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_sync_spin_loops_100-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_off-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_on-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_write_io_threads_64-master.opt (+1/-1) plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format_file_per_table-master.opt (+1/-1) tests/test-run.pl (+1/-3) |
To merge this branch: | bzr merge lp:~vjsamuel/drizzle/rplugin-embedded-innodb |
Related bugs: | |
Related blueprints: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Stewart Smith (community) | Needs Fixing | ||
Drizzle Merge Team | Pending | ||
Review via email:
|
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'plugin/embedded_innodb/embedded_innodb_engine.cc' | |||
2 | --- plugin/embedded_innodb/embedded_innodb_engine.cc 2010-08-08 17:17:30 +0000 | |||
3 | +++ plugin/embedded_innodb/embedded_innodb_engine.cc 2010-08-10 11:53:44 +0000 | |||
4 | @@ -102,7 +102,11 @@ | |||
5 | 102 | #include "drizzled/field/blob.h" | 102 | #include "drizzled/field/blob.h" |
6 | 103 | #include "drizzled/field/enum.h" | 103 | #include "drizzled/field/enum.h" |
7 | 104 | #include <drizzled/session.h> | 104 | #include <drizzled/session.h> |
8 | 105 | #include <boost/program_options.hpp> | ||
9 | 106 | #include <drizzled/module/option_map.h> | ||
10 | 107 | #include <iostream> | ||
11 | 105 | 108 | ||
12 | 109 | namespace po= boost::program_options; | ||
13 | 106 | #include <boost/algorithm/string.hpp> | 110 | #include <boost/algorithm/string.hpp> |
14 | 107 | 111 | ||
15 | 108 | using namespace std; | 112 | using namespace std; |
16 | @@ -2560,6 +2564,238 @@ | |||
17 | 2560 | 2564 | ||
18 | 2561 | static int embedded_innodb_init(drizzled::module::Context &context) | 2565 | static int embedded_innodb_init(drizzled::module::Context &context) |
19 | 2562 | { | 2566 | { |
20 | 2567 | |||
21 | 2568 | const module::option_map &vm= context.getOptions(); | ||
22 | 2569 | if (vm.count("additional-mem-pool-size")) | ||
23 | 2570 | { | ||
24 | 2571 | if (innobase_additional_mem_pool_size > LONG_MAX || innobase_additional_mem_pool_size < 512*1024L) | ||
25 | 2572 | { | ||
26 | 2573 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of additional-mem-pool-size")); | ||
27 | 2574 | exit(-1); | ||
28 | 2575 | } | ||
29 | 2576 | innobase_additional_mem_pool_size/= 1024; | ||
30 | 2577 | innobase_additional_mem_pool_size*= 1024; | ||
31 | 2578 | } | ||
32 | 2579 | |||
33 | 2580 | if (vm.count("autoextend-increment")) | ||
34 | 2581 | { | ||
35 | 2582 | if (srv_auto_extend_increment > 1000L || srv_auto_extend_increment < 1L) | ||
36 | 2583 | { | ||
37 | 2584 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of autoextend-increment")); | ||
38 | 2585 | exit(-1); | ||
39 | 2586 | } | ||
40 | 2587 | } | ||
41 | 2588 | |||
42 | 2589 | if (vm.count("buffer-pool-size")) | ||
43 | 2590 | { | ||
44 | 2591 | if (innobase_buffer_pool_size > INT64_MAX || innobase_buffer_pool_size < 5*1024*1024L) | ||
45 | 2592 | { | ||
46 | 2593 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of buffer-pool-size")); | ||
47 | 2594 | exit(-1); | ||
48 | 2595 | } | ||
49 | 2596 | innobase_buffer_pool_size/= 1024*1024L; | ||
50 | 2597 | innobase_buffer_pool_size*= 1024*1024L; | ||
51 | 2598 | } | ||
52 | 2599 | |||
53 | 2600 | if (vm.count("io-capacity")) | ||
54 | 2601 | { | ||
55 | 2602 | if (srv_io_capacity > (unsigned long)~0L || srv_io_capacity < 100) | ||
56 | 2603 | { | ||
57 | 2604 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of io-capacity")); | ||
58 | 2605 | exit(-1); | ||
59 | 2606 | } | ||
60 | 2607 | } | ||
61 | 2608 | |||
62 | 2609 | if (vm.count("fast-shutdown")) | ||
63 | 2610 | { | ||
64 | 2611 | if (innobase_fast_shutdown > 2) | ||
65 | 2612 | { | ||
66 | 2613 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of fast-shutdown")); | ||
67 | 2614 | exit(-1); | ||
68 | 2615 | } | ||
69 | 2616 | } | ||
70 | 2617 | |||
71 | 2618 | if (vm.count("flush-log-at-trx-commit")) | ||
72 | 2619 | { | ||
73 | 2620 | if (srv_flush_log_at_trx_commit > 2) | ||
74 | 2621 | { | ||
75 | 2622 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of flush-log-at-trx-commit")); | ||
76 | 2623 | exit(-1); | ||
77 | 2624 | } | ||
78 | 2625 | } | ||
79 | 2626 | |||
80 | 2627 | if (vm.count("force-recovery")) | ||
81 | 2628 | { | ||
82 | 2629 | if (innobase_force_recovery > 6) | ||
83 | 2630 | { | ||
84 | 2631 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of force-recovery")); | ||
85 | 2632 | exit(-1); | ||
86 | 2633 | } | ||
87 | 2634 | } | ||
88 | 2635 | |||
89 | 2636 | if (vm.count("log-file-size")) | ||
90 | 2637 | { | ||
91 | 2638 | if (innodb_log_file_size > INT64_MAX || innodb_log_file_size < 1*1024*1024L) | ||
92 | 2639 | { | ||
93 | 2640 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of log-file-size")); | ||
94 | 2641 | exit(-1); | ||
95 | 2642 | } | ||
96 | 2643 | innodb_log_file_size/= 1024*1024L; | ||
97 | 2644 | innodb_log_file_size*= 1024*1024L; | ||
98 | 2645 | } | ||
99 | 2646 | |||
100 | 2647 | if (vm.count("log-files-in-group")) | ||
101 | 2648 | { | ||
102 | 2649 | if (innodb_log_files_in_group > 100 || innodb_log_files_in_group < 2) | ||
103 | 2650 | { | ||
104 | 2651 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of log-files-in-group")); | ||
105 | 2652 | exit(-1); | ||
106 | 2653 | } | ||
107 | 2654 | } | ||
108 | 2655 | |||
109 | 2656 | if (vm.count("lock-wait-timeout")) | ||
110 | 2657 | { | ||
111 | 2658 | if (innobase_lock_wait_timeout > 1024*1024*1024 || innobase_lock_wait_timeout < 1) | ||
112 | 2659 | { | ||
113 | 2660 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of lock-wait-timeout")); | ||
114 | 2661 | exit(-1); | ||
115 | 2662 | } | ||
116 | 2663 | } | ||
117 | 2664 | |||
118 | 2665 | if (vm.count("log-buffer-size")) | ||
119 | 2666 | { | ||
120 | 2667 | if (innobase_log_buffer_size > LONG_MAX || innobase_log_buffer_size < 256*1024L) | ||
121 | 2668 | { | ||
122 | 2669 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of log-buffer-size")); | ||
123 | 2670 | exit(-1); | ||
124 | 2671 | } | ||
125 | 2672 | innobase_log_buffer_size/= 1024; | ||
126 | 2673 | innobase_log_buffer_size*= 1024; | ||
127 | 2674 | } | ||
128 | 2675 | |||
129 | 2676 | if (vm.count("lru-old-blocks-pct")) | ||
130 | 2677 | { | ||
131 | 2678 | if (innobase_lru_old_blocks_pct > 95 || innobase_lru_old_blocks_pct < 5) | ||
132 | 2679 | { | ||
133 | 2680 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of lru-old-blocks-pct")); | ||
134 | 2681 | exit(-1); | ||
135 | 2682 | } | ||
136 | 2683 | } | ||
137 | 2684 | |||
138 | 2685 | if (vm.count("lru-block-access-recency")) | ||
139 | 2686 | { | ||
140 | 2687 | if (innobase_lru_block_access_recency > ULONG_MAX) | ||
141 | 2688 | { | ||
142 | 2689 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of lru-block-access-recency")); | ||
143 | 2690 | exit(-1); | ||
144 | 2691 | } | ||
145 | 2692 | } | ||
146 | 2693 | |||
147 | 2694 | if (vm.count("max-dirty-pages-pct")) | ||
148 | 2695 | { | ||
149 | 2696 | if (srv_max_buf_pool_modified_pct > 99) | ||
150 | 2697 | { | ||
151 | 2698 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of max-dirty-pages-pct")); | ||
152 | 2699 | exit(-1); | ||
153 | 2700 | } | ||
154 | 2701 | } | ||
155 | 2702 | |||
156 | 2703 | if (vm.count("max-purge-lag")) | ||
157 | 2704 | { | ||
158 | 2705 | if (srv_max_purge_lag > (unsigned long)~0L) | ||
159 | 2706 | { | ||
160 | 2707 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of max-purge-lag")); | ||
161 | 2708 | exit(-1); | ||
162 | 2709 | } | ||
163 | 2710 | } | ||
164 | 2711 | |||
165 | 2712 | if (vm.count("open-files")) | ||
166 | 2713 | { | ||
167 | 2714 | if (innobase_open_files > LONG_MAX || innobase_open_files < 10L) | ||
168 | 2715 | { | ||
169 | 2716 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of open-files")); | ||
170 | 2717 | exit(-1); | ||
171 | 2718 | } | ||
172 | 2719 | } | ||
173 | 2720 | |||
174 | 2721 | if (vm.count("read-io-threads")) | ||
175 | 2722 | { | ||
176 | 2723 | if (innobase_read_io_threads > 64 || innobase_read_io_threads < 1) | ||
177 | 2724 | { | ||
178 | 2725 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of read-io-threads")); | ||
179 | 2726 | exit(-1); | ||
180 | 2727 | } | ||
181 | 2728 | } | ||
182 | 2729 | |||
183 | 2730 | if (vm.count("sync-spin-loops")) | ||
184 | 2731 | { | ||
185 | 2732 | if (srv_n_spin_wait_rounds > (unsigned long)~0L) | ||
186 | 2733 | { | ||
187 | 2734 | errmsg_printf(ERRMSG_LVL_ERROR, _("Invalid value of sync_spin_loops")); | ||
188 | 2735 | exit(-1); | ||
189 | 2736 | } | ||
190 | 2737 | } | ||
191 | 2738 | |||
192 | 2739 | if (vm.count("data-home-dir")) | ||
193 | 2740 | { | ||
194 | 2741 | innobase_data_home_dir= strdup(vm["data-home-dir"].as<string>().c_str()); | ||
195 | 2742 | } | ||
196 | 2743 | |||
197 | 2744 | else | ||
198 | 2745 | { | ||
199 | 2746 | innobase_data_home_dir= NULL; | ||
200 | 2747 | } | ||
201 | 2748 | |||
202 | 2749 | if (vm.count("file-format")) | ||
203 | 2750 | { | ||
204 | 2751 | innobase_file_format_name= strdup(vm["file-format"].as<string>().c_str()); | ||
205 | 2752 | } | ||
206 | 2753 | |||
207 | 2754 | else | ||
208 | 2755 | { | ||
209 | 2756 | innobase_file_format_name= (char *)"Barracuda"; | ||
210 | 2757 | } | ||
211 | 2758 | |||
212 | 2759 | if (vm.count("log-group-home-dir")) | ||
213 | 2760 | { | ||
214 | 2761 | innobase_log_group_home_dir= strdup(vm["log-group-home-dir"].as<string>().c_str()); | ||
215 | 2762 | } | ||
216 | 2763 | |||
217 | 2764 | else | ||
218 | 2765 | { | ||
219 | 2766 | innobase_log_group_home_dir= NULL; | ||
220 | 2767 | } | ||
221 | 2768 | |||
222 | 2769 | if (vm.count("flush-method")) | ||
223 | 2770 | { | ||
224 | 2771 | innobase_unix_file_flush_method= strdup(vm["flush-method"].as<string>().c_str()); | ||
225 | 2772 | } | ||
226 | 2773 | |||
227 | 2774 | else | ||
228 | 2775 | { | ||
229 | 2776 | innobase_unix_file_flush_method= NULL; | ||
230 | 2777 | } | ||
231 | 2778 | |||
232 | 2779 | if (vm.count("data-file-path")) | ||
233 | 2780 | { | ||
234 | 2781 | innodb_data_file_path= strdup(vm["data-file-path"].as<string>().c_str()); | ||
235 | 2782 | } | ||
236 | 2783 | |||
237 | 2784 | else | ||
238 | 2785 | { | ||
239 | 2786 | innodb_data_file_path= NULL; | ||
240 | 2787 | } | ||
241 | 2788 | |||
242 | 2789 | if (vm.count("data-home-dir")) | ||
243 | 2790 | { | ||
244 | 2791 | innobase_data_home_dir= strdup(vm["data-home-dir"].as<string>().c_str()); | ||
245 | 2792 | } | ||
246 | 2793 | |||
247 | 2794 | else | ||
248 | 2795 | { | ||
249 | 2796 | innobase_data_home_dir= NULL; | ||
250 | 2797 | } | ||
251 | 2798 | |||
252 | 2563 | ib_err_t err; | 2799 | ib_err_t err; |
253 | 2564 | 2800 | ||
254 | 2565 | err= ib_init(); | 2801 | err= ib_init(); |
255 | @@ -2960,7 +3196,7 @@ | |||
256 | 2960 | static DRIZZLE_SYSVAR_ULONG(lock_wait_timeout, innobase_lock_wait_timeout, | 3196 | static DRIZZLE_SYSVAR_ULONG(lock_wait_timeout, innobase_lock_wait_timeout, |
257 | 2961 | PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY, | 3197 | PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY, |
258 | 2962 | "Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.", | 3198 | "Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.", |
260 | 2963 | NULL, NULL, 50, 1, 1024 * 1024 * 1024, 0); | 3199 | NULL, NULL, 5, 1, 1024 * 1024 * 1024, 0); |
261 | 2964 | 3200 | ||
262 | 2965 | static DRIZZLE_SYSVAR_LONG(log_buffer_size, innobase_log_buffer_size, | 3201 | static DRIZZLE_SYSVAR_LONG(log_buffer_size, innobase_log_buffer_size, |
263 | 2966 | PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY, | 3202 | PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY, |
264 | @@ -3032,6 +3268,112 @@ | |||
265 | 3032 | "Use OS memory allocator instead of InnoDB's internal memory allocator", | 3268 | "Use OS memory allocator instead of InnoDB's internal memory allocator", |
266 | 3033 | NULL, NULL, true); | 3269 | NULL, NULL, true); |
267 | 3034 | 3270 | ||
268 | 3271 | static void init_options(drizzled::module::option_context &context) | ||
269 | 3272 | { | ||
270 | 3273 | context("adaptive-hash-index", | ||
271 | 3274 | po::value<bool>(&innobase_adaptive_hash_index)->default_value(true), | ||
272 | 3275 | N_("Enable InnoDB adaptive hash index (enabled by default).")); | ||
273 | 3276 | context("adaptive-flushing", | ||
274 | 3277 | po::value<bool>(&srv_adaptive_flushing)->default_value(true), | ||
275 | 3278 | N_("Attempt flushing dirty pages to avoid IO bursts at checkpoints.")); | ||
276 | 3279 | context("additional-mem-pool-size", | ||
277 | 3280 | po::value<long>(&innobase_additional_mem_pool_size)->default_value(8*1024*1024L), | ||
278 | 3281 | N_("Size of a memory pool InnoDB uses to store data dictionary information and other internal data structures.")); | ||
279 | 3282 | context("autoextend-increment", | ||
280 | 3283 | po::value<unsigned int>(&srv_auto_extend_increment)->default_value(8L), | ||
281 | 3284 | N_("Data file autoextend increment in megabytes")); | ||
282 | 3285 | context("buffer-pool-size", | ||
283 | 3286 | po::value<int64_t>(&innobase_buffer_pool_size)->default_value(128*1024*1024L), | ||
284 | 3287 | N_("The size of the memory buffer InnoDB uses to cache data and indexes of its tables.")); | ||
285 | 3288 | context("data-home-dir", | ||
286 | 3289 | po::value<string>(), | ||
287 | 3290 | N_("The common part for InnoDB table spaces.")); | ||
288 | 3291 | context("checksums", | ||
289 | 3292 | po::value<bool>(&innobase_use_checksums)->default_value(true), | ||
290 | 3293 | N_("Enable InnoDB checksums validation (enabled by default). Disable with --skip-innodb-checksums.")); | ||
291 | 3294 | context("doublewrite", | ||
292 | 3295 | po::value<bool>(&innobase_use_doublewrite)->default_value(true), | ||
293 | 3296 | N_("Enable InnoDB doublewrite buffer (enabled by default). Disable with --skip-innodb-doublewrite.")); | ||
294 | 3297 | context("io-capacity", | ||
295 | 3298 | po::value<unsigned long>(&srv_io_capacity)->default_value(200), | ||
296 | 3299 | N_("Number of IOPs the server can do. Tunes the background IO rate")); | ||
297 | 3300 | context("fast-shutdown", | ||
298 | 3301 | po::value<unsigned long>(&innobase_fast_shutdown)->default_value(1), | ||
299 | 3302 | N_("Speeds up the shutdown process of the InnoDB storage engine. Possible values are 0, 1 (faster) or 2 (fastest - crash-like).")); | ||
300 | 3303 | context("file-per-table", | ||
301 | 3304 | po::value<bool>(&srv_file_per_table)->default_value(false), | ||
302 | 3305 | N_("Stores each InnoDB table to an .ibd file in the database dir.")); | ||
303 | 3306 | context("file-format", | ||
304 | 3307 | po::value<string>(), | ||
305 | 3308 | N_("File format to use for new tables in .ibd files.")); | ||
306 | 3309 | context("flush-log-at-trx-commit", | ||
307 | 3310 | po::value<unsigned long>(&srv_flush_log_at_trx_commit)->default_value(1), | ||
308 | 3311 | N_("Set to 0 (write and flush once per second),1 (write and flush at each commit) or 2 (write at commit, flush once per second).")); | ||
309 | 3312 | context("flush-method", | ||
310 | 3313 | po::value<string>(), | ||
311 | 3314 | N_("With which method to flush data.")); | ||
312 | 3315 | context("force-recovery", | ||
313 | 3316 | po::value<long>(&innobase_force_recovery)->default_value(0), | ||
314 | 3317 | N_("Helps to save your data in case the disk image of the database becomes corrupt.")); | ||
315 | 3318 | context("data-file-path", | ||
316 | 3319 | po::value<string>(), | ||
317 | 3320 | N_("Path to individual files and their sizes.")); | ||
318 | 3321 | context("log-group-home-dir", | ||
319 | 3322 | po::value<string>(), | ||
320 | 3323 | N_("Path to individual files and their sizes.")); | ||
321 | 3324 | context("log-group-home-dir", | ||
322 | 3325 | po::value<string>(), | ||
323 | 3326 | N_("Path to InnoDB log files.")); | ||
324 | 3327 | context("log-file-size", | ||
325 | 3328 | po::value<int64_t>(&innodb_log_file_size)->default_value(20*1024*1024L), | ||
326 | 3329 | N_("Size of each log file in a log group.")); | ||
327 | 3330 | context("innodb-log-files-in-group", | ||
328 | 3331 | po::value<int64_t>(&innodb_log_files_in_group)->default_value(2), | ||
329 | 3332 | N_("Number of log files in the log group. InnoDB writes to the files in a circular fashion. Value 3 is recommended here.")); | ||
330 | 3333 | context("lock-wait-timeout", | ||
331 | 3334 | po::value<unsigned long>(&innobase_lock_wait_timeout)->default_value(5), | ||
332 | 3335 | N_("Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.")); | ||
333 | 3336 | context("log-buffer-size", | ||
334 | 3337 | po::value<long>(&innobase_log_buffer_size)->default_value(8*1024*1024L), | ||
335 | 3338 | N_("The size of the buffer which InnoDB uses to write log to the log files on disk.")); | ||
336 | 3339 | context("lru-old-blocks-pct", | ||
337 | 3340 | po::value<unsigned long>(&innobase_lru_old_blocks_pct)->default_value(37), | ||
338 | 3341 | N_("Sets the point in the LRU list from where all pages are classified as old (Advanced users)")); | ||
339 | 3342 | context("lru-block-access-recency", | ||
340 | 3343 | po::value<unsigned long>(&innobase_lru_block_access_recency)->default_value(0), | ||
341 | 3344 | N_("Milliseconds between accesses to a block at which it is made young. 0=disabled (Advanced users)")); | ||
342 | 3345 | context("max-dirty-pages-pct", | ||
343 | 3346 | po::value<unsigned long>(&srv_max_buf_pool_modified_pct)->default_value(75), | ||
344 | 3347 | N_("Percentage of dirty pages allowed in bufferpool.")); | ||
345 | 3348 | context("max-purge-lag", | ||
346 | 3349 | po::value<unsigned long>(&srv_max_purge_lag)->default_value(0), | ||
347 | 3350 | N_("Desired maximum length of the purge queue (0 = no limit)")); | ||
348 | 3351 | context("rollback-on-timeout", | ||
349 | 3352 | po::value<bool>(&innobase_rollback_on_timeout)->default_value(false), | ||
350 | 3353 | N_("Roll back the complete transaction on lock wait timeout, for 4.x compatibility (disabled by default)")); | ||
351 | 3354 | context("open-files", | ||
352 | 3355 | po::value<long>(&innobase_open_files)->default_value(300), | ||
353 | 3356 | N_("How many files at the maximum InnoDB keeps open at the same time.")); | ||
354 | 3357 | context("read-io-threads", | ||
355 | 3358 | po::value<unsigned long>(&innobase_read_io_threads)->default_value(4), | ||
356 | 3359 | N_("Number of background read I/O threads in InnoDB.")); | ||
357 | 3360 | context("write-io-threads", | ||
358 | 3361 | po::value<unsigned long>(&innobase_write_io_threads)->default_value(4), | ||
359 | 3362 | N_("Number of background write I/O threads in InnoDB.")); | ||
360 | 3363 | context("print-verbose-log", | ||
361 | 3364 | po::value<bool>(&innobase_print_verbose_log)->default_value(true), | ||
362 | 3365 | N_("Disable if you want to reduce the number of messages written to the log (default: enabled).")); | ||
363 | 3366 | context("status-file", | ||
364 | 3367 | po::value<bool>(&innobase_create_status_file)->default_value(false), | ||
365 | 3368 | N_("Enable SHOW INNODB STATUS output in the log")); | ||
366 | 3369 | context("sync-spin-loops", | ||
367 | 3370 | po::value<unsigned long>(&srv_n_spin_wait_rounds)->default_value(30L), | ||
368 | 3371 | N_("Count of spin-loop rounds in InnoDB mutexes (30 by default)")); | ||
369 | 3372 | context("use-sys-malloc", | ||
370 | 3373 | po::value<bool>(&srv_use_sys_malloc)->default_value(true), | ||
371 | 3374 | N_("Use OS memory allocator instead of InnoDB's internal memory allocator")); | ||
372 | 3375 | } | ||
373 | 3376 | |||
374 | 3035 | static drizzle_sys_var* innobase_system_variables[]= { | 3377 | static drizzle_sys_var* innobase_system_variables[]= { |
375 | 3036 | DRIZZLE_SYSVAR(adaptive_hash_index), | 3378 | DRIZZLE_SYSVAR(adaptive_hash_index), |
376 | 3037 | DRIZZLE_SYSVAR(adaptive_flushing), | 3379 | DRIZZLE_SYSVAR(adaptive_flushing), |
377 | @@ -3079,6 +3421,6 @@ | |||
378 | 3079 | PLUGIN_LICENSE_GPL, | 3421 | PLUGIN_LICENSE_GPL, |
379 | 3080 | embedded_innodb_init, /* Plugin Init */ | 3422 | embedded_innodb_init, /* Plugin Init */ |
380 | 3081 | innobase_system_variables, /* system variables */ | 3423 | innobase_system_variables, /* system variables */ |
382 | 3082 | NULL /* config options */ | 3424 | init_options /* config options */ |
383 | 3083 | } | 3425 | } |
384 | 3084 | DRIZZLE_DECLARE_PLUGIN_END; | 3426 | DRIZZLE_DECLARE_PLUGIN_END; |
385 | 3085 | 3427 | ||
386 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_off-master.opt' | |||
387 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_off-master.opt 2010-05-10 13:17:59 +0000 | |||
388 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_off-master.opt 2010-08-10 11:53:44 +0000 | |||
389 | @@ -1,1 +1,1 @@ | |||
391 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-adaptive-flushing=false | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.adaptive-flushing=false |
392 | 2 | 2 | ||
393 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_on-master.opt' | |||
394 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_on-master.opt 2010-05-10 13:17:59 +0000 | |||
395 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_flushing_on-master.opt 2010-08-10 11:53:44 +0000 | |||
396 | @@ -1,1 +1,1 @@ | |||
398 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-adaptive-flushing=true | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.adaptive-flushing=true |
399 | 2 | 2 | ||
400 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_off-master.opt' | |||
401 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_off-master.opt 2010-05-10 13:14:39 +0000 | |||
402 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_off-master.opt 2010-08-10 11:53:44 +0000 | |||
403 | @@ -1,1 +1,1 @@ | |||
405 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-adaptive-hash-index=false | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.adaptive-hash-index=false |
406 | 2 | 2 | ||
407 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_on-master.opt' | |||
408 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_on-master.opt 2010-05-10 12:53:25 +0000 | |||
409 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_adaptive_hash_index_on-master.opt 2010-08-10 11:53:44 +0000 | |||
410 | @@ -1,1 +1,1 @@ | |||
412 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-adaptive-hash-index=true | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.adaptive-hash-index=true |
413 | 2 | 2 | ||
414 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_additional_mem_pool_size_32m-master.opt' | |||
415 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_additional_mem_pool_size_32m-master.opt 2010-05-10 13:27:43 +0000 | |||
416 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_additional_mem_pool_size_32m-master.opt 2010-08-10 11:53:44 +0000 | |||
417 | @@ -1,1 +1,1 @@ | |||
419 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-additional-mem-pool-size=32m | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.additional-mem-pool-size=33554432 |
420 | 2 | 2 | ||
421 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_autoextend_increment_42-master.opt' | |||
422 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_autoextend_increment_42-master.opt 2010-05-10 13:56:23 +0000 | |||
423 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_autoextend_increment_42-master.opt 2010-08-10 11:53:44 +0000 | |||
424 | @@ -1,1 +1,1 @@ | |||
426 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-autoextend-increment=42 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.autoextend-increment=42 |
427 | 2 | 2 | ||
428 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_buffer_pool_size_22m-master.opt' | |||
429 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_buffer_pool_size_22m-master.opt 2010-05-10 14:02:46 +0000 | |||
430 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_buffer_pool_size_22m-master.opt 2010-08-10 11:53:44 +0000 | |||
431 | @@ -1,1 +1,1 @@ | |||
433 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-buffer-pool-size=20m | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.buffer-pool-size=20971520 |
434 | 2 | 2 | ||
435 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_disable-master.opt' | |||
436 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_disable-master.opt 2010-04-30 05:50:45 +0000 | |||
437 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_disable-master.opt 2010-08-10 11:53:44 +0000 | |||
438 | @@ -1,1 +1,1 @@ | |||
440 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --skip-innodb-checksums | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.checksums=false |
441 | 2 | 2 | ||
442 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_enable-master.opt' | |||
443 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_enable-master.opt 2010-04-30 05:50:45 +0000 | |||
444 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_checksums_enable-master.opt 2010-08-10 11:53:44 +0000 | |||
445 | @@ -1,1 +1,1 @@ | |||
447 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase |
448 | 2 | 2 | ||
449 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_disable-master.opt' | |||
450 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_disable-master.opt 2010-05-03 04:14:08 +0000 | |||
451 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_disable-master.opt 2010-08-10 11:53:44 +0000 | |||
452 | @@ -1,1 +1,1 @@ | |||
454 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --skip-innodb-doublewrite | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.doublewrite=false |
455 | 2 | 2 | ||
456 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_enable-master.opt' | |||
457 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_enable-master.opt 2010-05-03 04:14:08 +0000 | |||
458 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_doublewrite_enable-master.opt 2010-08-10 11:53:44 +0000 | |||
459 | @@ -1,1 +1,1 @@ | |||
461 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-doublewrite | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase |
462 | 2 | 2 | ||
463 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown0-master.opt' | |||
464 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown0-master.opt 2010-05-03 13:41:05 +0000 | |||
465 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown0-master.opt 2010-08-10 11:53:44 +0000 | |||
466 | @@ -1,1 +1,1 @@ | |||
468 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-fast-shutdown=0 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.fast-shutdown=0 |
469 | 2 | 2 | ||
470 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown1-master.opt' | |||
471 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown1-master.opt 2010-05-03 13:41:05 +0000 | |||
472 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown1-master.opt 2010-08-10 11:53:44 +0000 | |||
473 | @@ -1,1 +1,1 @@ | |||
475 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-fast-shutdown=1 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.fast-shutdown=1 |
476 | 2 | 2 | ||
477 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown2-master.opt' | |||
478 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown2-master.opt 2010-05-03 13:41:05 +0000 | |||
479 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_fast_shutdown2-master.opt 2010-08-10 11:53:44 +0000 | |||
480 | @@ -1,1 +1,1 @@ | |||
482 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-fast-shutdown=2 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.fast-shutdown=2 |
483 | 2 | 2 | ||
484 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_disable-master.opt' | |||
485 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_disable-master.opt 2010-05-03 14:13:17 +0000 | |||
486 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_disable-master.opt 2010-08-10 11:53:44 +0000 | |||
487 | @@ -1,1 +1,1 @@ | |||
489 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-file-per-table=0 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.file-per-table=false |
490 | 2 | 2 | ||
491 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_enable-master.opt' | |||
492 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_enable-master.opt 2010-05-03 14:08:25 +0000 | |||
493 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_file_per_table_enable-master.opt 2010-08-10 11:53:44 +0000 | |||
494 | @@ -1,1 +1,1 @@ | |||
496 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-file-per-table | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.file-per-table=true |
497 | 2 | 2 | ||
498 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit0-master.opt' | |||
499 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit0-master.opt 2010-05-05 04:24:23 +0000 | |||
500 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit0-master.opt 2010-08-10 11:53:44 +0000 | |||
501 | @@ -1,1 +1,1 @@ | |||
503 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-flush-log-at-trx-commit=0 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.flush-log-at-trx-commit=0 |
504 | 2 | 2 | ||
505 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit1-master.opt' | |||
506 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit1-master.opt 2010-05-05 04:24:23 +0000 | |||
507 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit1-master.opt 2010-08-10 11:53:44 +0000 | |||
508 | @@ -1,1 +1,1 @@ | |||
510 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-flush-log-at-trx-commit=1 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.flush-log-at-trx-commit=1 |
511 | 2 | 2 | ||
512 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit2-master.opt' | |||
513 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit2-master.opt 2010-05-05 04:24:23 +0000 | |||
514 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_log_at_trx_commit2-master.opt 2010-08-10 11:53:44 +0000 | |||
515 | @@ -1,1 +1,1 @@ | |||
517 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-flush-log-at-trx-commit=2 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.flush-log-at-trx-commit=2 |
518 | 2 | 2 | ||
519 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_fsync-master.opt' | |||
520 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_fsync-master.opt 2010-05-06 09:50:02 +0000 | |||
521 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_fsync-master.opt 2010-08-10 11:53:44 +0000 | |||
522 | @@ -1,1 +1,1 @@ | |||
524 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-flush-method=fsync | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.flush-method=fsync |
525 | 2 | 2 | ||
526 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odirect-master.opt' | |||
527 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odirect-master.opt 2010-05-06 09:50:02 +0000 | |||
528 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odirect-master.opt 2010-08-10 11:53:44 +0000 | |||
529 | @@ -1,1 +1,1 @@ | |||
531 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-flush-method=O_DIRECT | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.flush-method=O_DIRECT |
532 | 2 | 2 | ||
533 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odsync-master.opt' | |||
534 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odsync-master.opt 2010-05-06 09:50:02 +0000 | |||
535 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_flush_method_odsync-master.opt 2010-08-10 11:53:44 +0000 | |||
536 | @@ -1,1 +1,1 @@ | |||
538 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-flush-method=O_DSYNC | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.flush-method=O_DSYNC |
539 | 2 | 2 | ||
540 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_force_recovery-master.opt' | |||
541 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_force_recovery-master.opt 2010-05-11 05:11:20 +0000 | |||
542 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_force_recovery-master.opt 2010-08-10 11:53:44 +0000 | |||
543 | @@ -1,1 +1,1 @@ | |||
545 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-force-recovery=1 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.force-recovery=1 |
546 | 2 | 2 | ||
547 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_io_capacity-master.opt' | |||
548 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_io_capacity-master.opt 2010-05-03 12:27:00 +0000 | |||
549 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_io_capacity-master.opt 2010-08-10 11:53:44 +0000 | |||
550 | @@ -1,1 +1,1 @@ | |||
552 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-io-capacity=500 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.io-capacity=500 |
553 | 2 | 2 | ||
554 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_lock_wait_timeout_1-master.opt' | |||
555 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_lock_wait_timeout_1-master.opt 2010-05-11 05:19:48 +0000 | |||
556 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_lock_wait_timeout_1-master.opt 2010-08-10 11:53:44 +0000 | |||
557 | @@ -1,1 +1,1 @@ | |||
559 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-lock-wait-timeout=1 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.lock-wait-timeout=1 |
560 | 2 | 2 | ||
561 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_log_buffer_size_5m-master.opt' | |||
562 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_log_buffer_size_5m-master.opt 2010-05-11 05:36:20 +0000 | |||
563 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_log_buffer_size_5m-master.opt 2010-08-10 11:53:44 +0000 | |||
564 | @@ -1,1 +1,1 @@ | |||
566 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-log-buffer-size=5m | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.log-buffer-size=5242880 |
567 | 2 | 2 | ||
568 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_dirty_pages_pct_50-master.opt' | |||
569 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_dirty_pages_pct_50-master.opt 2010-05-07 08:02:05 +0000 | |||
570 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_dirty_pages_pct_50-master.opt 2010-08-10 11:53:44 +0000 | |||
571 | @@ -1,1 +1,1 @@ | |||
573 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-max-dirty-pages-pct=50 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.max-dirty-pages-pct=50 |
574 | 2 | 2 | ||
575 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_purge_lag_42-master.opt' | |||
576 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_purge_lag_42-master.opt 2010-05-07 12:15:41 +0000 | |||
577 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_max_purge_lag_42-master.opt 2010-08-10 11:53:44 +0000 | |||
578 | @@ -1,1 +1,1 @@ | |||
580 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-max-purge-lag=42 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.max-purge-lag=42 |
581 | 2 | 2 | ||
582 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_open_files_800-master.opt' | |||
583 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_open_files_800-master.opt 2010-05-10 05:13:41 +0000 | |||
584 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_open_files_800-master.opt 2010-08-10 11:53:44 +0000 | |||
585 | @@ -1,1 +1,1 @@ | |||
587 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-open-files=800 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.open-files=800 |
588 | 2 | 2 | ||
589 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_off-master.opt' | |||
590 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_off-master.opt 2010-05-11 05:46:17 +0000 | |||
591 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_off-master.opt 2010-08-10 11:53:44 +0000 | |||
592 | @@ -1,1 +1,1 @@ | |||
594 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-print-verbose-log=false | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.print-verbose-log=false |
595 | 2 | 2 | ||
596 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_on-master.opt' | |||
597 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_on-master.opt 2010-05-11 05:46:17 +0000 | |||
598 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_print_verbose_log_on-master.opt 2010-08-10 11:53:44 +0000 | |||
599 | @@ -1,1 +1,1 @@ | |||
601 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-print-verbose-log=true | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.print-verbose-log=true |
602 | 2 | 2 | ||
603 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_read_io_threads_64-master.opt' | |||
604 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_read_io_threads_64-master.opt 2010-05-10 06:06:20 +0000 | |||
605 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_read_io_threads_64-master.opt 2010-08-10 11:53:44 +0000 | |||
606 | @@ -1,1 +1,1 @@ | |||
608 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-read-io-threads=64 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.read-io-threads=64 |
609 | 2 | 2 | ||
610 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_off-master.opt' | |||
611 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_off-master.opt 2010-05-11 07:09:35 +0000 | |||
612 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_off-master.opt 2010-08-10 11:53:44 +0000 | |||
613 | @@ -1,1 +1,1 @@ | |||
615 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-rollback-on-timeout=false | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.rollback-on-timeout=false |
616 | 2 | 2 | ||
617 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_on-master.opt' | |||
618 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_on-master.opt 2010-05-11 07:09:35 +0000 | |||
619 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_rollback_on_timeout_on-master.opt 2010-08-10 11:53:44 +0000 | |||
620 | @@ -1,1 +1,1 @@ | |||
622 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-rollback-on-timeout=1 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.rollback-on-timeout=1 |
623 | 2 | 2 | ||
624 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_sync_spin_loops_100-master.opt' | |||
625 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_sync_spin_loops_100-master.opt 2010-05-11 07:29:33 +0000 | |||
626 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_sync_spin_loops_100-master.opt 2010-08-10 11:53:44 +0000 | |||
627 | @@ -1,1 +1,1 @@ | |||
629 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-sync-spin-loops=100 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.sync-spin-loops=100 |
630 | 2 | 2 | ||
631 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_off-master.opt' | |||
632 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_off-master.opt 2010-05-11 07:29:33 +0000 | |||
633 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_off-master.opt 2010-08-10 11:53:44 +0000 | |||
634 | @@ -1,1 +1,1 @@ | |||
636 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-use-sys-malloc=0 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.use-sys-malloc=0 |
637 | 2 | 2 | ||
638 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_on-master.opt' | |||
639 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_on-master.opt 2010-05-11 07:29:33 +0000 | |||
640 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_use_sys_malloc_on-master.opt 2010-08-10 11:53:44 +0000 | |||
641 | @@ -1,1 +1,1 @@ | |||
643 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-use-sys-malloc=1 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.use-sys-malloc=1 |
644 | 2 | 2 | ||
645 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_write_io_threads_64-master.opt' | |||
646 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_write_io_threads_64-master.opt 2010-05-10 06:09:51 +0000 | |||
647 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/config_write_io_threads_64-master.opt 2010-08-10 11:53:44 +0000 | |||
648 | @@ -1,1 +1,1 @@ | |||
650 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-write-io-threads=64 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.write-io-threads=64 |
651 | 2 | 2 | ||
652 | === modified file 'plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format_file_per_table-master.opt' | |||
653 | --- plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format_file_per_table-master.opt 2010-06-07 08:46:37 +0000 | |||
654 | +++ plugin/embedded_innodb/test-suite-dir/embedded_innodb/tests/t/row_format_file_per_table-master.opt 2010-08-10 11:53:44 +0000 | |||
655 | @@ -1,1 +1,1 @@ | |||
657 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb-file-per-table=1 | 1 | --plugin_add=embedded_innodb --plugin_remove=innobase --innodb.file-per-table=1 |
658 | 2 | 2 | ||
659 | === modified file 'tests/test-run.pl' | |||
660 | --- tests/test-run.pl 2010-08-02 14:35:48 +0000 | |||
661 | +++ tests/test-run.pl 2010-08-10 11:53:44 +0000 | |||
662 | @@ -2592,9 +2592,7 @@ | |||
663 | 2592 | $idx > 0 ? $idx + 101 : 1); | 2592 | $idx > 0 ? $idx + 101 : 1); |
664 | 2593 | 2593 | ||
665 | 2594 | mtr_add_arg($args, | 2594 | mtr_add_arg($args, |
669 | 2595 | "%s--loose-innodb_data_file_path=ibdata1:20M:autoextend", $prefix); | 2595 | "%s--innodb.data-file-path=ibdata1:20M:autoextend", $prefix); |
667 | 2596 | |||
668 | 2597 | mtr_add_arg($args, "%s--loose-innodb-lock-wait-timeout=5", $prefix); | ||
670 | 2598 | 2596 | ||
671 | 2599 | } | 2597 | } |
672 | 2600 | else | 2598 | else |
Why is the default lock wait timeout being changed?
If we should change it, we should do it in a different patch..