Merge lp:~tsarev/percona-server/quilt-5.5-2 into lp:~stewart/percona-server/quilt-5.5
- quilt-5.5-2
- Merge into quilt-5.5
Status: | Rejected |
---|---|
Rejected by: | Stewart Smith |
Proposed branch: | lp:~tsarev/percona-server/quilt-5.5-2 |
Merge into: | lp:~stewart/percona-server/quilt-5.5 |
Prerequisite: | lp:~tsarev/percona-server/quilt-5.5-1 |
Diff against target: |
7372 lines (+1260/-1812) 54 files modified
patches/bug580324.patch (+6/-9) patches/bug813587.patch (+4/-5) patches/control_online_alter_index.patch (+10/-15) patches/error_pad.patch (+2/-3) patches/file-contents.patch (+2/-2) patches/innodb_adaptive_hash_index_partitions.patch (+36/-54) patches/innodb_admin_command_base.patch (+6/-9) patches/innodb_buffer_pool_pages_i_s.patch (+10/-15) patches/innodb_buffer_pool_shm.patch (+4/-6) patches/innodb_bug60788.patch (+10/-11) patches/innodb_deadlock_count.patch (+10/-15) patches/innodb_dict_size_limit.patch (+26/-39) patches/innodb_expand_fast_index_creation.patch (+20/-30) patches/innodb_expand_import.patch (+14/-21) patches/innodb_extend_slow.patch (+38/-52) patches/innodb_extra_rseg.patch (+6/-9) patches/innodb_fast_checksum.patch (+20/-30) patches/innodb_files_extend.patch (+36/-54) patches/innodb_fix_misc.patch (+50/-70) patches/innodb_io_patches.patch (+38/-57) patches/innodb_lru_dump_restore.patch (+33/-44) patches/innodb_opt_lru_count.patch (+14/-21) patches/innodb_overwrite_relay_log_info.patch (+10/-15) patches/innodb_pass_corrupt_table.patch (+58/-87) patches/innodb_recovery_patches.patch (+17/-25) patches/innodb_separate_doublewrite.patch (+32/-48) patches/innodb_show_lock_name.patch (+16/-24) patches/innodb_show_status.patch (+26/-39) patches/innodb_show_status_extend.patch (+18/-27) patches/innodb_show_sys_tables.patch (+8/-12) patches/innodb_split_buf_pool_mutex.patch (+42/-61) patches/innodb_stats.patch (+56/-78) patches/innodb_thread_concurrency_timer_based.patch (+6/-9) patches/log_connection_error.patch (+4/-6) patches/log_warnings_suppress.patch (+13/-19) patches/microsec_process.patch (+4/-6) patches/mysql-test.diff (+216/-324) patches/mysql_dump_ignore_ct.patch (+4/-6) patches/mysql_remove_eol_carret.patch (+8/-12) patches/mysql_syslog.patch (+4/-6) patches/optimizer_fix.patch (+12/-18) patches/percona_support.patch (+2/-3) patches/processlist_row_stats.patch (+6/-8) patches/query_cache_enhance.patch (+14/-21) patches/remove_fcntl_excessive_calls.patch (+4/-6) patches/response_time_distribution.patch (+34/-50) patches/show_slave_status_nolock.patch (+12/-18) patches/show_temp.patch (+20/-30) patches/slave_timeout_fix.patch (+2/-2) patches/slow_extended.patch (+91/-113) patches/sql_no_fcache.patch (+20/-30) patches/start-stop-messages.patch (+13/-13) patches/userstat.patch (+75/-101) patches/utf8_general50_ci.patch (+18/-24) |
To merge this branch: | bzr merge lp:~tsarev/percona-server/quilt-5.5-2 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Yasufumi Kinoshita (community) | Approve | ||
Stewart Smith | Pending | ||
Review via email: mp+69435@code.launchpad.net |
Commit message
1. patches/
2. patches/
3. patches/
4. patches/
5. patches/
6. patches/
7. patches/
8. patches/
9. patches/
10. patches/
11. patches/
12. patches/
13. update all patches: remove timestamp from header
14. update all patches: remove "diff -ruN a/... b/..." - this is not good, but not found solution for this yet.
Description of the change
1. patches/
2. patches/
3. patches/
4. patches/
5. patches/
6. patches/
7. patches/
8. patches/
9. patches/
10. patches/
11. patches/
12. patches/
13. update all patches: remove timestamp from header
14. update all patches: remove "diff -ruN a/... b/..." - this is not good, but not found solution for this yet.
Oleg Tsarev (tsarev) wrote : | # |
Yasufumi Kinoshita (yasufumi-kinoshita) : | # |
Laurynas Biveinis (laurynas-biveinis) wrote : | # |
LGTM
Stewart Smith (stewart) wrote : | # |
i've done this pretty much anyway, so we don't need this branch.
Unmerged revisions
- 144. By Oleg Tsarev
-
1. patches/
innodb_ bug60788. patch: fix offsets
2. patches/innodb_ extend_ slow.patch: fix offsets
3. patches/innodb_ fix_misc. patch: fix offsets
4. patches/innodb_ lru_dump_ restore. patch: updated on 'quilt refresh'
5. patches/innodb_ recovery_ patches. patch: fix offsets
6. patches/innodb_ split_buf_ pool_mutex. patch: updated on 'quilt refresh'
7. patches/innodb_ stats.patch: updated on 'quilt refresh'
8. patches/processlist_ row_stats. patch: fix offsets
9. patches/response- time-distributi on.patch: fix offsets
10. patches/slow_extended. patch: updated on 'quilt refresh'
11. patches/start-stop- messages. patch: fix offsets
12. patches/userstat. patch: fix offsets
13. update all patches: remove timestamp from header
14. update all patches: remove "diff -ruN a/... b/..." - this is not good, but not found solution for this yet. - 143. By Oleg Tsarev
-
1. Makefile:
* add symlink to quiltrc to $(PERCONA_SERVER) dir
* split "main" target to "prepare" and "main" (prepare just unpack source code and setup for patch appling, main also apply patches)
* add target "regenerate" (old normalize_patches. sh) (requires for future porting to new mysql version)
* fix "clean" target
2. apply_patches:
* fix usages: "--quiltrc=quiltrc"
* now uses sh instead of bash
3. install_tests:
* rename to install_tests from install_tests.sh
* fix path to series
4. normalize_patches:
* rename to normalize_patches from normalize_patches. sh
* now use quilt for regenerate patches
5. quiltrc:
* add QUILT_[REFRESH| DIFF|PATCH] _[ARGS| OPTS] options
6. regenerate_patch.sh:
* removed (unecessary now) - 142. By Stewart Smith
-
add back in applying of handlersocket patch, was accidently removed
- 141. By Stewart Smith
-
move to using quilt for patch management. also has fallback to piping patches to patch for systems without quilt installed
- 140. By Stewart Smith
-
merge FEDERATED bug fix of not clearing errors on close
- 139. By Stewart Smith
-
merge bug745241
- 138. By Alexey Kopytov
-
Merge from LP.
- 137. By Alexey Kopytov
-
Bug #745241: quering global_
temporary_ tables causes server crash The problem was in an insufficient locking in
fill_global_temporary_ tables( ). Iterating thread's temporary_tables list
could lead to race conditions, because other server code assumes that
list to only be accessed by a single (the current) thread at any time.Fixed by introducing a new mutex in THD protecting the temporary_tables
list and acquiring that mutex when modifying the list or in
fill_global_temporary_ tables( ). - 136. By Stewart Smith
-
merge fdatasync() usage for innodb log files
- 135. By Stewart Smith
-
merge bug 802829 fix
Preview Diff
1 | === modified file 'patches/bug580324.patch' | |||
2 | --- patches/bug580324.patch 2011-07-22 16:56:42 +0000 | |||
3 | +++ patches/bug580324.patch 2011-07-27 11:32:35 +0000 | |||
4 | @@ -5,9 +5,8 @@ | |||
5 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
6 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
7 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
11 | 8 | diff -ruN a/sql/sql_base.cc b/sql/sql_base.cc | 8 | --- a/sql/sql_base.cc |
12 | 9 | --- a/sql/sql_base.cc 2011-04-09 18:49:00.000000000 +0400 | 9 | +++ b/sql/sql_base.cc |
10 | 10 | +++ b/sql/sql_base.cc 2011-04-09 18:49:02.000000000 +0400 | ||
13 | 11 | @@ -251,8 +251,12 @@ | 10 | @@ -251,8 +251,12 @@ |
14 | 12 | const TABLE_LIST *table_list, | 11 | const TABLE_LIST *table_list, |
15 | 13 | bool tmp_table) | 12 | bool tmp_table) |
16 | @@ -23,9 +22,8 @@ | |||
17 | 23 | if (tmp_table) | 22 | if (tmp_table) |
18 | 24 | { | 23 | { |
19 | 25 | int4store(key + key_length, thd->server_id); | 24 | int4store(key + key_length, thd->server_id); |
23 | 26 | diff -ruN a/sql/sql_parse.cc b/sql/sql_parse.cc | 25 | --- a/sql/sql_parse.cc |
24 | 27 | --- a/sql/sql_parse.cc 2011-04-09 18:49:00.000000000 +0400 | 26 | +++ b/sql/sql_parse.cc |
22 | 28 | +++ b/sql/sql_parse.cc 2011-04-09 18:49:02.000000000 +0400 | ||
25 | 29 | @@ -1112,11 +1112,18 @@ | 27 | @@ -1112,11 +1112,18 @@ |
26 | 30 | break; | 28 | break; |
27 | 31 | #else | 29 | #else |
28 | @@ -93,9 +91,8 @@ | |||
29 | 93 | thd->set_query(fields, query_length); | 91 | thd->set_query(fields, query_length); |
30 | 94 | general_log_print(thd, command, "%s %s", table_list.table_name, fields); | 92 | general_log_print(thd, command, "%s %s", table_list.table_name, fields); |
31 | 95 | 93 | ||
35 | 96 | diff -ruN a/strings/ctype-utf8.c b/strings/ctype-utf8.c | 94 | --- a/strings/ctype-utf8.c |
36 | 97 | --- a/strings/ctype-utf8.c 2011-04-09 18:48:03.000000000 +0400 | 95 | +++ b/strings/ctype-utf8.c |
34 | 98 | +++ b/strings/ctype-utf8.c 2011-04-09 18:49:02.000000000 +0400 | ||
37 | 99 | @@ -4212,6 +4212,10 @@ | 96 | @@ -4212,6 +4212,10 @@ |
38 | 100 | { | 97 | { |
39 | 101 | int code; | 98 | int code; |
40 | 102 | 99 | ||
41 | === modified file 'patches/bug813587.patch' | |||
42 | --- patches/bug813587.patch 2011-07-22 16:56:42 +0000 | |||
43 | +++ patches/bug813587.patch 2011-07-27 11:32:35 +0000 | |||
44 | @@ -6,10 +6,9 @@ | |||
45 | 6 | # Clear MySQL connection errors in ha_federated::close(), since they | 6 | # Clear MySQL connection errors in ha_federated::close(), since they |
46 | 7 | # can affect queries on other tables due to table cache eviction. | 7 | # can affect queries on other tables due to table cache eviction. |
47 | 8 | # | 8 | # |
52 | 9 | diff -ruN Percona-Server.orig/storage/federated/ha_federated.cc Percona-Server/storage/federated/ha_federated.cc | 9 | --- a/storage/federated/ha_federated.cc |
53 | 10 | --- Percona-Server.orig/storage/federated/ha_federated.cc 2011-05-11 15:54:12.000000000 +0400 | 10 | +++ b/storage/federated/ha_federated.cc |
54 | 11 | +++ Percona-Server/storage/federated/ha_federated.cc 2011-07-21 13:07:30.000000000 +0400 | 11 | @@ -1675,6 +1675,8 @@ |
51 | 12 | @@ -1675,6 +1675,8 @@ int ha_federated::open(const char *name, | ||
55 | 13 | 12 | ||
56 | 14 | int ha_federated::close(void) | 13 | int ha_federated::close(void) |
57 | 15 | { | 14 | { |
58 | @@ -18,7 +17,7 @@ | |||
59 | 18 | DBUG_ENTER("ha_federated::close"); | 17 | DBUG_ENTER("ha_federated::close"); |
60 | 19 | 18 | ||
61 | 20 | free_result(); | 19 | free_result(); |
63 | 21 | @@ -1685,6 +1687,10 @@ int ha_federated::close(void) | 20 | @@ -1685,6 +1687,10 @@ |
64 | 22 | mysql_close(mysql); | 21 | mysql_close(mysql); |
65 | 23 | mysql= NULL; | 22 | mysql= NULL; |
66 | 24 | 23 | ||
67 | 25 | 24 | ||
68 | === modified file 'patches/control_online_alter_index.patch' | |||
69 | --- patches/control_online_alter_index.patch 2011-07-22 16:56:42 +0000 | |||
70 | +++ patches/control_online_alter_index.patch 2011-07-27 11:32:35 +0000 | |||
71 | @@ -5,9 +5,8 @@ | |||
72 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
73 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
74 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
78 | 8 | diff -ruN a/sql/handler.h b/sql/handler.h | 8 | --- a/sql/handler.h |
79 | 9 | --- a/sql/handler.h 2010-11-03 07:01:14.000000000 +0900 | 9 | +++ b/sql/handler.h |
77 | 10 | +++ b/sql/handler.h 2010-12-03 13:51:04.727293058 +0900 | ||
80 | 11 | @@ -205,6 +205,8 @@ | 10 | @@ -205,6 +205,8 @@ |
81 | 12 | #define HA_INPLACE_DROP_UNIQUE_INDEX_NO_WRITE (1L << 9) | 11 | #define HA_INPLACE_DROP_UNIQUE_INDEX_NO_WRITE (1L << 9) |
82 | 13 | #define HA_INPLACE_ADD_PK_INDEX_NO_WRITE (1L << 10) | 12 | #define HA_INPLACE_ADD_PK_INDEX_NO_WRITE (1L << 10) |
83 | @@ -17,9 +16,8 @@ | |||
84 | 17 | /* | 16 | /* |
85 | 18 | HA_PARTITION_FUNCTION_SUPPORTED indicates that the function is | 17 | HA_PARTITION_FUNCTION_SUPPORTED indicates that the function is |
86 | 19 | supported at all. | 18 | supported at all. |
90 | 20 | diff -ruN a/sql/sql_class.h b/sql/sql_class.h | 19 | --- a/sql/sql_class.h |
91 | 21 | --- a/sql/sql_class.h 2010-12-02 20:31:56.200956501 +0900 | 20 | +++ b/sql/sql_class.h |
89 | 22 | +++ b/sql/sql_class.h 2010-12-03 13:51:04.744953174 +0900 | ||
92 | 23 | @@ -481,6 +481,8 @@ | 21 | @@ -481,6 +481,8 @@ |
93 | 24 | my_bool engine_condition_pushdown; | 22 | my_bool engine_condition_pushdown; |
94 | 25 | my_bool keep_files_on_create; | 23 | my_bool keep_files_on_create; |
95 | @@ -29,9 +27,8 @@ | |||
96 | 29 | my_bool old_alter_table; | 27 | my_bool old_alter_table; |
97 | 30 | my_bool old_passwords; | 28 | my_bool old_passwords; |
98 | 31 | my_bool big_tables; | 29 | my_bool big_tables; |
102 | 32 | diff -ruN a/sql/sql_partition.cc b/sql/sql_partition.cc | 30 | --- a/sql/sql_partition.cc |
103 | 33 | --- a/sql/sql_partition.cc 2010-11-03 07:01:14.000000000 +0900 | 31 | +++ b/sql/sql_partition.cc |
101 | 34 | +++ b/sql/sql_partition.cc 2010-12-03 13:59:56.444039002 +0900 | ||
104 | 35 | @@ -4636,7 +4636,12 @@ | 32 | @@ -4636,7 +4636,12 @@ |
105 | 36 | alter_info->num_parts= curr_part_no - new_part_no; | 33 | alter_info->num_parts= curr_part_no - new_part_no; |
106 | 37 | } | 34 | } |
107 | @@ -46,9 +43,8 @@ | |||
108 | 46 | { | 43 | { |
109 | 47 | my_error(ER_PARTITION_FUNCTION_FAILURE, MYF(0)); | 44 | my_error(ER_PARTITION_FUNCTION_FAILURE, MYF(0)); |
110 | 48 | goto err; | 45 | goto err; |
114 | 49 | diff -ruN a/sql/sql_table.cc b/sql/sql_table.cc | 46 | --- a/sql/sql_table.cc |
115 | 50 | --- a/sql/sql_table.cc 2010-11-03 07:01:14.000000000 +0900 | 47 | +++ b/sql/sql_table.cc |
113 | 51 | +++ b/sql/sql_table.cc 2010-12-03 13:51:04.768955495 +0900 | ||
116 | 52 | @@ -6112,6 +6112,10 @@ | 48 | @@ -6112,6 +6112,10 @@ |
117 | 53 | uint *idx_end_p; | 49 | uint *idx_end_p; |
118 | 54 | 50 | ||
119 | @@ -60,9 +56,8 @@ | |||
120 | 60 | DBUG_PRINT("info", ("alter_flags: %lu", alter_flags)); | 56 | DBUG_PRINT("info", ("alter_flags: %lu", alter_flags)); |
121 | 61 | /* Check dropped indexes. */ | 57 | /* Check dropped indexes. */ |
122 | 62 | for (idx_p= index_drop_buffer, idx_end_p= idx_p + index_drop_count; | 58 | for (idx_p= index_drop_buffer, idx_end_p= idx_p + index_drop_count; |
126 | 63 | diff -ruN a/sql/sys_vars.cc b/sql/sys_vars.cc | 59 | --- a/sql/sys_vars.cc |
127 | 64 | --- a/sql/sys_vars.cc 2010-12-02 21:23:05.569356468 +0900 | 60 | +++ b/sql/sys_vars.cc |
125 | 65 | +++ b/sql/sys_vars.cc 2010-12-03 14:05:28.857356603 +0900 | ||
128 | 66 | @@ -2186,6 +2186,13 @@ | 61 | @@ -2186,6 +2186,13 @@ |
129 | 67 | GLOBAL_VAR(opt_optimizer_fix), | 62 | GLOBAL_VAR(opt_optimizer_fix), |
130 | 68 | NO_CMD_LINE, DEFAULT(TRUE)); | 63 | NO_CMD_LINE, DEFAULT(TRUE)); |
131 | 69 | 64 | ||
132 | === modified file 'patches/error_pad.patch' | |||
133 | --- patches/error_pad.patch 2011-07-22 16:56:42 +0000 | |||
134 | +++ patches/error_pad.patch 2011-07-27 11:32:35 +0000 | |||
135 | @@ -5,9 +5,8 @@ | |||
136 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
137 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
138 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
142 | 8 | diff -ruN a/extra/comp_err.c b/extra/comp_err.c | 8 | --- a/extra/comp_err.c |
143 | 9 | --- a/extra/comp_err.c 2011-04-09 18:48:04.000000000 +0400 | 9 | +++ b/extra/comp_err.c |
141 | 10 | +++ b/extra/comp_err.c 2011-04-09 18:48:56.000000000 +0400 | ||
144 | 11 | @@ -30,11 +30,12 @@ | 10 | @@ -30,11 +30,12 @@ |
145 | 12 | #include <assert.h> | 11 | #include <assert.h> |
146 | 13 | #include <my_dir.h> | 12 | #include <my_dir.h> |
147 | 14 | 13 | ||
148 | === modified file 'patches/file-contents.patch' | |||
149 | --- patches/file-contents.patch 2011-07-22 16:56:42 +0000 | |||
150 | +++ patches/file-contents.patch 2011-07-27 11:32:35 +0000 | |||
151 | @@ -1,6 +1,6 @@ | |||
152 | 1 | --- a/mysql-test/t/file_contents.test | 1 | --- a/mysql-test/t/file_contents.test |
153 | 2 | +++ b/mysql-test/t/file_contents.test | 2 | +++ b/mysql-test/t/file_contents.test |
155 | 3 | @@ -20,7 +20,7 @@ if ($dir_bin =~ m|/usr/|) { | 3 | @@ -20,7 +20,7 @@ |
156 | 4 | $dir_docs = "$dir_docs/packages/MySQL-server"; | 4 | $dir_docs = "$dir_docs/packages/MySQL-server"; |
157 | 5 | } else { | 5 | } else { |
158 | 6 | # RedHat: version number in directory name | 6 | # RedHat: version number in directory name |
159 | @@ -9,7 +9,7 @@ | |||
160 | 9 | } | 9 | } |
161 | 10 | } elsif ($dir_bin =~ m|/usr$|) { | 10 | } elsif ($dir_bin =~ m|/usr$|) { |
162 | 11 | # RPM build during development | 11 | # RPM build during development |
164 | 12 | @@ -28,9 +28,12 @@ if ($dir_bin =~ m|/usr/|) { | 12 | @@ -28,9 +28,12 @@ |
165 | 13 | if(-d "$dir_docs/packages/MySQL-server") { | 13 | if(-d "$dir_docs/packages/MySQL-server") { |
166 | 14 | # SuSE | 14 | # SuSE |
167 | 15 | $dir_docs = "$dir_docs/packages/MySQL-server"; | 15 | $dir_docs = "$dir_docs/packages/MySQL-server"; |
168 | 16 | 16 | ||
169 | === modified file 'patches/innodb_adaptive_hash_index_partitions.patch' | |||
170 | --- patches/innodb_adaptive_hash_index_partitions.patch 2011-07-22 16:56:42 +0000 | |||
171 | +++ patches/innodb_adaptive_hash_index_partitions.patch 2011-07-27 11:32:35 +0000 | |||
172 | @@ -5,9 +5,8 @@ | |||
173 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
174 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
175 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
179 | 8 | diff -ruN a/storage/innobase/btr/btr0btr.c b/storage/innobase/btr/btr0btr.c | 8 | --- a/storage/innobase/btr/btr0btr.c |
180 | 9 | --- a/storage/innobase/btr/btr0btr.c 2010-12-04 15:52:23.355483176 +0900 | 9 | +++ b/storage/innobase/btr/btr0btr.c |
178 | 10 | +++ b/storage/innobase/btr/btr0btr.c 2010-12-04 16:12:48.639514256 +0900 | ||
181 | 11 | @@ -1518,7 +1518,7 @@ | 10 | @@ -1518,7 +1518,7 @@ |
182 | 12 | } | 11 | } |
183 | 13 | ut_a(block); | 12 | ut_a(block); |
184 | @@ -80,9 +79,8 @@ | |||
185 | 80 | 79 | ||
186 | 81 | if (left_page_no == FIL_NULL && !page_is_leaf(page)) { | 80 | if (left_page_no == FIL_NULL && !page_is_leaf(page)) { |
187 | 82 | 81 | ||
191 | 83 | diff -ruN a/storage/innobase/btr/btr0cur.c b/storage/innobase/btr/btr0cur.c | 82 | --- a/storage/innobase/btr/btr0cur.c |
192 | 84 | --- a/storage/innobase/btr/btr0cur.c 2010-12-04 15:52:23.359513820 +0900 | 83 | +++ b/storage/innobase/btr/btr0cur.c |
190 | 85 | +++ b/storage/innobase/btr/btr0cur.c 2010-12-04 16:12:48.643551837 +0900 | ||
193 | 86 | @@ -498,7 +498,7 @@ | 84 | @@ -498,7 +498,7 @@ |
194 | 87 | #ifdef UNIV_SEARCH_PERF_STAT | 85 | #ifdef UNIV_SEARCH_PERF_STAT |
195 | 88 | info->n_searches++; | 86 | info->n_searches++; |
196 | @@ -162,9 +160,8 @@ | |||
197 | 162 | } | 160 | } |
198 | 163 | 161 | ||
199 | 164 | btr_cur_del_mark_set_sec_rec_log(rec, val, mtr); | 162 | btr_cur_del_mark_set_sec_rec_log(rec, val, mtr); |
203 | 165 | diff -ruN a/storage/innobase/btr/btr0sea.c b/storage/innobase/btr/btr0sea.c | 163 | --- a/storage/innobase/btr/btr0sea.c |
204 | 166 | --- a/storage/innobase/btr/btr0sea.c 2010-12-04 15:52:23.387513429 +0900 | 164 | +++ b/storage/innobase/btr/btr0sea.c |
202 | 167 | +++ b/storage/innobase/btr/btr0sea.c 2010-12-04 16:14:51.721884049 +0900 | ||
205 | 168 | @@ -48,6 +48,8 @@ | 165 | @@ -48,6 +48,8 @@ |
206 | 169 | UNIV_INTERN char btr_search_enabled = TRUE; | 166 | UNIV_INTERN char btr_search_enabled = TRUE; |
207 | 170 | UNIV_INTERN ibool btr_search_fully_disabled = FALSE; | 167 | UNIV_INTERN ibool btr_search_fully_disabled = FALSE; |
208 | @@ -961,9 +958,8 @@ | |||
209 | 961 | if (UNIV_LIKELY_NULL(heap)) { | 958 | if (UNIV_LIKELY_NULL(heap)) { |
210 | 962 | mem_heap_free(heap); | 959 | mem_heap_free(heap); |
211 | 963 | } | 960 | } |
215 | 964 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 961 | --- a/storage/innobase/buf/buf0buf.c |
216 | 965 | --- a/storage/innobase/buf/buf0buf.c 2010-12-04 15:55:21.351597052 +0900 | 962 | +++ b/storage/innobase/buf/buf0buf.c |
214 | 966 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-04 16:12:48.654550708 +0900 | ||
217 | 967 | @@ -949,6 +949,7 @@ | 963 | @@ -949,6 +949,7 @@ |
218 | 968 | 964 | ||
219 | 969 | block->check_index_page_at_flush = FALSE; | 965 | block->check_index_page_at_flush = FALSE; |
220 | @@ -1016,9 +1012,8 @@ | |||
221 | 1016 | 1012 | ||
222 | 1017 | block->n_hash_helps = 0; | 1013 | block->n_hash_helps = 0; |
223 | 1018 | block->is_hashed = FALSE; | 1014 | block->is_hashed = FALSE; |
227 | 1019 | diff -ruN a/storage/innobase/buf/buf0lru.c b/storage/innobase/buf/buf0lru.c | 1015 | --- a/storage/innobase/buf/buf0lru.c |
228 | 1020 | --- a/storage/innobase/buf/buf0lru.c 2010-12-04 15:35:29.137347521 +0900 | 1016 | +++ b/storage/innobase/buf/buf0lru.c |
226 | 1021 | +++ b/storage/innobase/buf/buf0lru.c 2010-12-04 16:12:48.658550840 +0900 | ||
229 | 1022 | @@ -1798,7 +1798,7 @@ | 1017 | @@ -1798,7 +1798,7 @@ |
230 | 1023 | 1018 | ||
231 | 1024 | UNIV_MEM_VALID(((buf_block_t*) bpage)->frame, | 1019 | UNIV_MEM_VALID(((buf_block_t*) bpage)->frame, |
232 | @@ -1028,9 +1023,8 @@ | |||
233 | 1028 | UNIV_MEM_INVALID(((buf_block_t*) bpage)->frame, | 1023 | UNIV_MEM_INVALID(((buf_block_t*) bpage)->frame, |
234 | 1029 | UNIV_PAGE_SIZE); | 1024 | UNIV_PAGE_SIZE); |
235 | 1030 | 1025 | ||
239 | 1031 | diff -ruN a/storage/innobase/dict/dict0dict.c b/storage/innobase/dict/dict0dict.c | 1026 | --- a/storage/innobase/dict/dict0dict.c |
240 | 1032 | --- a/storage/innobase/dict/dict0dict.c 2010-12-04 15:52:23.398513916 +0900 | 1027 | +++ b/storage/innobase/dict/dict0dict.c |
238 | 1033 | +++ b/storage/innobase/dict/dict0dict.c 2010-12-04 16:12:48.662550715 +0900 | ||
241 | 1034 | @@ -1811,7 +1811,7 @@ | 1028 | @@ -1811,7 +1811,7 @@ |
242 | 1035 | zero. */ | 1029 | zero. */ |
243 | 1036 | 1030 | ||
244 | @@ -1040,9 +1034,8 @@ | |||
245 | 1040 | if (ref_count == 0) { | 1034 | if (ref_count == 0) { |
246 | 1041 | break; | 1035 | break; |
247 | 1042 | } | 1036 | } |
251 | 1043 | diff -ruN a/storage/innobase/ha/ha0ha.c b/storage/innobase/ha/ha0ha.c | 1037 | --- a/storage/innobase/ha/ha0ha.c |
252 | 1044 | --- a/storage/innobase/ha/ha0ha.c 2010-11-03 07:01:13.000000000 +0900 | 1038 | +++ b/storage/innobase/ha/ha0ha.c |
250 | 1045 | +++ b/storage/innobase/ha/ha0ha.c 2010-12-04 16:12:48.665593752 +0900 | ||
253 | 1046 | @@ -102,7 +102,8 @@ | 1039 | @@ -102,7 +102,8 @@ |
254 | 1047 | ut_ad(table); | 1040 | ut_ad(table); |
255 | 1048 | ut_ad(table->magic_n == HASH_TABLE_MAGIC_N); | 1041 | ut_ad(table->magic_n == HASH_TABLE_MAGIC_N); |
256 | @@ -1053,9 +1046,8 @@ | |||
257 | 1053 | #endif /* UNIV_SYNC_DEBUG */ | 1046 | #endif /* UNIV_SYNC_DEBUG */ |
258 | 1054 | 1047 | ||
259 | 1055 | #ifndef UNIV_HOTBACKUP | 1048 | #ifndef UNIV_HOTBACKUP |
263 | 1056 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 1049 | --- a/storage/innobase/handler/ha_innodb.cc |
264 | 1057 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 16:12:20.185850734 +0900 | 1050 | +++ b/storage/innobase/handler/ha_innodb.cc |
262 | 1058 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 16:12:48.674552412 +0900 | ||
265 | 1059 | @@ -11702,6 +11702,11 @@ | 1051 | @@ -11702,6 +11702,11 @@ |
266 | 1060 | "Disable with --skip-innodb-adaptive-hash-index.", | 1052 | "Disable with --skip-innodb-adaptive-hash-index.", |
267 | 1061 | NULL, innodb_adaptive_hash_index_update, TRUE); | 1053 | NULL, innodb_adaptive_hash_index_update, TRUE); |
268 | @@ -1076,9 +1068,8 @@ | |||
269 | 1076 | MYSQL_SYSVAR(stats_method), | 1068 | MYSQL_SYSVAR(stats_method), |
270 | 1077 | MYSQL_SYSVAR(replication_delay), | 1069 | MYSQL_SYSVAR(replication_delay), |
271 | 1078 | MYSQL_SYSVAR(status_file), | 1070 | MYSQL_SYSVAR(status_file), |
275 | 1079 | diff -ruN a/storage/innobase/include/btr0sea.h b/storage/innobase/include/btr0sea.h | 1071 | --- a/storage/innobase/include/btr0sea.h |
276 | 1080 | --- a/storage/innobase/include/btr0sea.h 2010-12-03 15:48:03.070987226 +0900 | 1072 | +++ b/storage/innobase/include/btr0sea.h |
274 | 1081 | +++ b/storage/innobase/include/btr0sea.h 2010-12-04 16:12:48.707551382 +0900 | ||
277 | 1082 | @@ -85,7 +85,8 @@ | 1073 | @@ -85,7 +85,8 @@ |
278 | 1083 | ulint | 1074 | ulint |
279 | 1084 | btr_search_info_get_ref_count( | 1075 | btr_search_info_get_ref_count( |
280 | @@ -1174,9 +1165,8 @@ | |||
281 | 1174 | 1165 | ||
282 | 1175 | #ifdef UNIV_SEARCH_PERF_STAT | 1166 | #ifdef UNIV_SEARCH_PERF_STAT |
283 | 1176 | /** Number of successful adaptive hash index lookups */ | 1167 | /** Number of successful adaptive hash index lookups */ |
287 | 1177 | diff -ruN a/storage/innobase/include/btr0sea.ic b/storage/innobase/include/btr0sea.ic | 1168 | --- a/storage/innobase/include/btr0sea.ic |
288 | 1178 | --- a/storage/innobase/include/btr0sea.ic 2010-11-03 07:01:13.000000000 +0900 | 1169 | +++ b/storage/innobase/include/btr0sea.ic |
286 | 1179 | +++ b/storage/innobase/include/btr0sea.ic 2010-12-04 16:12:48.709511202 +0900 | ||
289 | 1180 | @@ -62,8 +62,8 @@ | 1170 | @@ -62,8 +62,8 @@ |
290 | 1181 | btr_search_t* info; | 1171 | btr_search_t* info; |
291 | 1182 | 1172 | ||
292 | @@ -1261,9 +1251,8 @@ | |||
293 | 1261 | + } | 1251 | + } |
294 | 1262 | +} | 1252 | +} |
295 | 1263 | + | 1253 | + |
299 | 1264 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 1254 | --- a/storage/innobase/include/buf0buf.h |
300 | 1265 | --- a/storage/innobase/include/buf0buf.h 2010-12-15 19:00:07.713604580 +0900 | 1255 | +++ b/storage/innobase/include/buf0buf.h |
298 | 1266 | +++ b/storage/innobase/include/buf0buf.h 2010-12-15 20:58:03.546839883 +0900 | ||
301 | 1267 | @@ -1546,7 +1546,7 @@ | 1256 | @@ -1546,7 +1546,7 @@ |
302 | 1268 | pointers in the adaptive hash index | 1257 | pointers in the adaptive hash index |
303 | 1269 | pointing to this frame */ | 1258 | pointing to this frame */ |
304 | @@ -1281,9 +1270,8 @@ | |||
305 | 1281 | /* @} */ | 1270 | /* @} */ |
306 | 1282 | # ifdef UNIV_SYNC_DEBUG | 1271 | # ifdef UNIV_SYNC_DEBUG |
307 | 1283 | /** @name Debug fields */ | 1272 | /** @name Debug fields */ |
311 | 1284 | diff -ruN a/storage/innobase/include/row0upd.ic b/storage/innobase/include/row0upd.ic | 1273 | --- a/storage/innobase/include/row0upd.ic |
312 | 1285 | --- a/storage/innobase/include/row0upd.ic 2010-11-03 07:01:13.000000000 +0900 | 1274 | +++ b/storage/innobase/include/row0upd.ic |
310 | 1286 | +++ b/storage/innobase/include/row0upd.ic 2010-12-04 16:12:48.710551113 +0900 | ||
313 | 1287 | @@ -158,7 +158,7 @@ | 1275 | @@ -158,7 +158,7 @@ |
314 | 1288 | ut_ad(dict_index_is_clust(index)); | 1276 | ut_ad(dict_index_is_clust(index)); |
315 | 1289 | ut_ad(rec_offs_validate(rec, index, offsets)); | 1277 | ut_ad(rec_offs_validate(rec, index, offsets)); |
316 | @@ -1293,9 +1281,8 @@ | |||
317 | 1293 | ut_ad(!buf_block_align(rec)->is_hashed); | 1281 | ut_ad(!buf_block_align(rec)->is_hashed); |
318 | 1294 | } | 1282 | } |
319 | 1295 | #endif /* UNIV_SYNC_DEBUG */ | 1283 | #endif /* UNIV_SYNC_DEBUG */ |
323 | 1296 | diff -ruN a/storage/innobase/page/page0page.c b/storage/innobase/page/page0page.c | 1284 | --- a/storage/innobase/page/page0page.c |
324 | 1297 | --- a/storage/innobase/page/page0page.c 2010-11-03 07:01:13.000000000 +0900 | 1285 | +++ b/storage/innobase/page/page0page.c |
322 | 1298 | +++ b/storage/innobase/page/page0page.c 2010-12-04 16:12:48.712550963 +0900 | ||
325 | 1299 | @@ -218,7 +218,7 @@ | 1286 | @@ -218,7 +218,7 @@ |
326 | 1300 | const ibool is_hashed = block->is_hashed; | 1287 | const ibool is_hashed = block->is_hashed; |
327 | 1301 | 1288 | ||
328 | @@ -1314,9 +1301,8 @@ | |||
329 | 1314 | } | 1301 | } |
330 | 1315 | #endif /* !UNIV_HOTBACKUP */ | 1302 | #endif /* !UNIV_HOTBACKUP */ |
331 | 1316 | } | 1303 | } |
335 | 1317 | diff -ruN a/storage/innobase/page/page0zip.c b/storage/innobase/page/page0zip.c | 1304 | --- a/storage/innobase/page/page0zip.c |
336 | 1318 | --- a/storage/innobase/page/page0zip.c 2010-12-04 15:57:13.061494433 +0900 | 1305 | +++ b/storage/innobase/page/page0zip.c |
334 | 1319 | +++ b/storage/innobase/page/page0zip.c 2010-12-04 16:12:48.716470334 +0900 | ||
337 | 1320 | @@ -4444,7 +4444,7 @@ | 1306 | @@ -4444,7 +4444,7 @@ |
338 | 1321 | 1307 | ||
339 | 1322 | #ifndef UNIV_HOTBACKUP | 1308 | #ifndef UNIV_HOTBACKUP |
340 | @@ -1326,9 +1312,8 @@ | |||
341 | 1326 | block->check_index_page_at_flush = TRUE; | 1312 | block->check_index_page_at_flush = TRUE; |
342 | 1327 | #else /* !UNIV_HOTBACKUP */ | 1313 | #else /* !UNIV_HOTBACKUP */ |
343 | 1328 | ut_ad(block == back_block1); | 1314 | ut_ad(block == back_block1); |
347 | 1329 | diff -ruN a/storage/innobase/row/row0sel.c b/storage/innobase/row/row0sel.c | 1315 | --- a/storage/innobase/row/row0sel.c |
348 | 1330 | --- a/storage/innobase/row/row0sel.c 2010-12-04 16:09:53.204513572 +0900 | 1316 | +++ b/storage/innobase/row/row0sel.c |
346 | 1331 | +++ b/storage/innobase/row/row0sel.c 2010-12-04 16:12:48.722551273 +0900 | ||
349 | 1332 | @@ -1210,7 +1210,7 @@ | 1317 | @@ -1210,7 +1210,7 @@ |
350 | 1333 | ut_ad(plan->unique_search); | 1318 | ut_ad(plan->unique_search); |
351 | 1334 | ut_ad(!plan->must_get_clust); | 1319 | ut_ad(!plan->must_get_clust); |
352 | @@ -1486,9 +1471,8 @@ | |||
353 | 1486 | trx->has_search_latch = FALSE; | 1471 | trx->has_search_latch = FALSE; |
354 | 1487 | } | 1472 | } |
355 | 1488 | 1473 | ||
359 | 1489 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 1474 | --- a/storage/innobase/srv/srv0srv.c |
360 | 1490 | --- a/storage/innobase/srv/srv0srv.c 2010-12-04 16:12:20.231484679 +0900 | 1475 | +++ b/storage/innobase/srv/srv0srv.c |
358 | 1491 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-04 16:12:48.726551018 +0900 | ||
361 | 1492 | @@ -2045,7 +2045,9 @@ | 1476 | @@ -2045,7 +2045,9 @@ |
362 | 1493 | "-------------------------------------\n", file); | 1477 | "-------------------------------------\n", file); |
363 | 1494 | ibuf_print(file); | 1478 | ibuf_print(file); |
364 | @@ -1533,9 +1517,8 @@ | |||
365 | 1533 | (ulong) btr_search_sys_subtotal, | 1517 | (ulong) btr_search_sys_subtotal, |
366 | 1534 | 1518 | ||
367 | 1535 | (ulong) (buf_pool_from_array(0)->page_hash->n_cells * sizeof(hash_cell_t)), | 1519 | (ulong) (buf_pool_from_array(0)->page_hash->n_cells * sizeof(hash_cell_t)), |
371 | 1536 | diff -ruN a/storage/innobase/sync/sync0sync.c b/storage/innobase/sync/sync0sync.c | 1520 | --- a/storage/innobase/sync/sync0sync.c |
372 | 1537 | --- a/storage/innobase/sync/sync0sync.c 2010-12-03 17:36:44.300986571 +0900 | 1521 | +++ b/storage/innobase/sync/sync0sync.c |
370 | 1538 | +++ b/storage/innobase/sync/sync0sync.c 2010-12-04 16:12:48.729513564 +0900 | ||
373 | 1539 | @@ -1223,7 +1223,6 @@ | 1522 | @@ -1223,7 +1223,6 @@ |
374 | 1540 | case SYNC_OUTER_ANY_LATCH: | 1523 | case SYNC_OUTER_ANY_LATCH: |
375 | 1541 | case SYNC_FILE_FORMAT_TAG: | 1524 | case SYNC_FILE_FORMAT_TAG: |
376 | @@ -1552,9 +1535,8 @@ | |||
377 | 1552 | case SYNC_BUF_LRU_LIST: | 1535 | case SYNC_BUF_LRU_LIST: |
378 | 1553 | case SYNC_BUF_FLUSH_LIST: | 1536 | case SYNC_BUF_FLUSH_LIST: |
379 | 1554 | case SYNC_BUF_PAGE_HASH: | 1537 | case SYNC_BUF_PAGE_HASH: |
383 | 1555 | diff -ruN a/storage/innobase/trx/trx0trx.c b/storage/innobase/trx/trx0trx.c | 1538 | --- a/storage/innobase/trx/trx0trx.c |
384 | 1556 | --- a/storage/innobase/trx/trx0trx.c 2010-12-03 17:49:11.623953784 +0900 | 1539 | +++ b/storage/innobase/trx/trx0trx.c |
382 | 1557 | +++ b/storage/innobase/trx/trx0trx.c 2010-12-04 16:12:48.731513275 +0900 | ||
385 | 1558 | @@ -265,8 +265,14 @@ | 1540 | @@ -265,8 +265,14 @@ |
386 | 1559 | /*=================================*/ | 1541 | /*=================================*/ |
387 | 1560 | trx_t* trx) /*!< in: transaction */ | 1542 | trx_t* trx) /*!< in: transaction */ |
388 | 1561 | 1543 | ||
389 | === modified file 'patches/innodb_admin_command_base.patch' | |||
390 | --- patches/innodb_admin_command_base.patch 2011-07-22 16:56:42 +0000 | |||
391 | +++ patches/innodb_admin_command_base.patch 2011-07-27 11:32:35 +0000 | |||
392 | @@ -5,9 +5,8 @@ | |||
393 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
394 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
395 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
399 | 8 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 8 | --- a/storage/innobase/handler/ha_innodb.cc |
400 | 9 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:32:15.624039043 +0900 | 9 | +++ b/storage/innobase/handler/ha_innodb.cc |
398 | 10 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:32:35.424957827 +0900 | ||
401 | 11 | @@ -11863,7 +11863,8 @@ | 10 | @@ -11863,7 +11863,8 @@ |
402 | 12 | i_s_innodb_sys_foreign_cols, | 11 | i_s_innodb_sys_foreign_cols, |
403 | 13 | i_s_innodb_sys_stats, | 12 | i_s_innodb_sys_stats, |
404 | @@ -18,9 +17,8 @@ | |||
405 | 18 | mysql_declare_plugin_end; | 17 | mysql_declare_plugin_end; |
406 | 19 | 18 | ||
407 | 20 | /** @brief Initialize the default value of innodb_commit_concurrency. | 19 | /** @brief Initialize the default value of innodb_commit_concurrency. |
411 | 21 | diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc | 20 | --- a/storage/innobase/handler/i_s.cc |
412 | 22 | --- a/storage/innobase/handler/i_s.cc 2010-12-03 17:30:16.299955549 +0900 | 21 | +++ b/storage/innobase/handler/i_s.cc |
410 | 23 | +++ b/storage/innobase/handler/i_s.cc 2010-12-03 17:32:35.425989972 +0900 | ||
413 | 24 | @@ -4177,3 +4177,139 @@ | 22 | @@ -4177,3 +4177,139 @@ |
414 | 25 | STRUCT_FLD(system_vars, NULL), | 23 | STRUCT_FLD(system_vars, NULL), |
415 | 26 | STRUCT_FLD(__reserved1, NULL) | 24 | STRUCT_FLD(__reserved1, NULL) |
416 | @@ -161,9 +159,8 @@ | |||
417 | 161 | + STRUCT_FLD(system_vars, NULL), | 159 | + STRUCT_FLD(system_vars, NULL), |
418 | 162 | + STRUCT_FLD(__reserved1, NULL) | 160 | + STRUCT_FLD(__reserved1, NULL) |
419 | 163 | +}; | 161 | +}; |
423 | 164 | diff -ruN a/storage/innobase/handler/i_s.h b/storage/innobase/handler/i_s.h | 162 | --- a/storage/innobase/handler/i_s.h |
424 | 165 | --- a/storage/innobase/handler/i_s.h 2010-12-03 17:30:16.301987692 +0900 | 163 | +++ b/storage/innobase/handler/i_s.h |
422 | 166 | +++ b/storage/innobase/handler/i_s.h 2010-12-03 17:32:35.426954555 +0900 | ||
425 | 167 | @@ -46,5 +46,6 @@ | 164 | @@ -46,5 +46,6 @@ |
426 | 168 | extern struct st_mysql_plugin i_s_innodb_sys_stats; | 165 | extern struct st_mysql_plugin i_s_innodb_sys_stats; |
427 | 169 | extern struct st_mysql_plugin i_s_innodb_table_stats; | 166 | extern struct st_mysql_plugin i_s_innodb_table_stats; |
428 | 170 | 167 | ||
429 | === modified file 'patches/innodb_buffer_pool_pages_i_s.patch' | |||
430 | --- patches/innodb_buffer_pool_pages_i_s.patch 2011-07-22 16:56:42 +0000 | |||
431 | +++ patches/innodb_buffer_pool_pages_i_s.patch 2011-07-27 11:32:35 +0000 | |||
432 | @@ -5,9 +5,8 @@ | |||
433 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
434 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
435 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
439 | 8 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 8 | --- a/storage/innobase/buf/buf0buf.c |
440 | 9 | --- a/storage/innobase/buf/buf0buf.c 2010-12-04 20:20:44.595483291 +0900 | 9 | +++ b/storage/innobase/buf/buf0buf.c |
438 | 10 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-06 19:28:04.055227506 +0900 | ||
441 | 11 | @@ -4560,6 +4560,36 @@ | 10 | @@ -4560,6 +4560,36 @@ |
442 | 12 | mutex_exit(block_mutex); | 11 | mutex_exit(block_mutex); |
443 | 13 | } | 12 | } |
444 | @@ -45,9 +44,8 @@ | |||
445 | 45 | /*********************************************************************//** | 44 | /*********************************************************************//** |
446 | 46 | Asserts that all file pages in the buffer are in a replaceable state. | 45 | Asserts that all file pages in the buffer are in a replaceable state. |
447 | 47 | @return TRUE */ | 46 | @return TRUE */ |
451 | 48 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 47 | --- a/storage/innobase/handler/ha_innodb.cc |
452 | 49 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 20:20:44.614551139 +0900 | 48 | +++ b/storage/innobase/handler/ha_innodb.cc |
450 | 50 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-06 19:23:47.622195800 +0900 | ||
453 | 51 | @@ -12148,6 +12148,9 @@ | 49 | @@ -12148,6 +12148,9 @@ |
454 | 52 | i_s_innodb_sys_stats, | 50 | i_s_innodb_sys_stats, |
455 | 53 | i_s_innodb_table_stats, | 51 | i_s_innodb_table_stats, |
456 | @@ -58,9 +56,8 @@ | |||
457 | 58 | i_s_innodb_admin_command | 56 | i_s_innodb_admin_command |
458 | 59 | mysql_declare_plugin_end; | 57 | mysql_declare_plugin_end; |
459 | 60 | 58 | ||
463 | 61 | diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc | 59 | --- a/storage/innobase/handler/i_s.cc |
464 | 62 | --- a/storage/innobase/handler/i_s.cc 2010-12-04 19:46:39.786513783 +0900 | 60 | +++ b/storage/innobase/handler/i_s.cc |
462 | 63 | +++ b/storage/innobase/handler/i_s.cc 2010-12-06 19:28:52.270226921 +0900 | ||
465 | 64 | @@ -51,6 +51,7 @@ | 61 | @@ -51,6 +51,7 @@ |
466 | 65 | #include "trx0sys.h" /* for trx_sys */ | 62 | #include "trx0sys.h" /* for trx_sys */ |
467 | 66 | #include "dict0dict.h" /* for dict_sys */ | 63 | #include "dict0dict.h" /* for dict_sys */ |
468 | @@ -771,9 +768,8 @@ | |||
469 | 771 | + STRUCT_FLD(__reserved1, NULL) | 768 | + STRUCT_FLD(__reserved1, NULL) |
470 | 772 | +}; | 769 | +}; |
471 | 773 | + | 770 | + |
475 | 774 | diff -ruN a/storage/innobase/handler/i_s.h b/storage/innobase/handler/i_s.h | 771 | --- a/storage/innobase/handler/i_s.h |
476 | 775 | --- a/storage/innobase/handler/i_s.h 2010-12-04 19:46:39.657513849 +0900 | 772 | +++ b/storage/innobase/handler/i_s.h |
474 | 776 | +++ b/storage/innobase/handler/i_s.h 2010-12-06 19:23:47.635192988 +0900 | ||
477 | 777 | @@ -47,5 +47,8 @@ | 773 | @@ -47,5 +47,8 @@ |
478 | 778 | extern struct st_mysql_plugin i_s_innodb_table_stats; | 774 | extern struct st_mysql_plugin i_s_innodb_table_stats; |
479 | 779 | extern struct st_mysql_plugin i_s_innodb_index_stats; | 775 | extern struct st_mysql_plugin i_s_innodb_index_stats; |
480 | @@ -783,9 +779,8 @@ | |||
481 | 783 | +extern struct st_mysql_plugin i_s_innodb_buffer_pool_pages_blob; | 779 | +extern struct st_mysql_plugin i_s_innodb_buffer_pool_pages_blob; |
482 | 784 | 780 | ||
483 | 785 | #endif /* i_s_h */ | 781 | #endif /* i_s_h */ |
487 | 786 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 782 | --- a/storage/innobase/include/buf0buf.h |
488 | 787 | --- a/storage/innobase/include/buf0buf.h 2010-12-04 19:46:40.197471531 +0900 | 783 | +++ b/storage/innobase/include/buf0buf.h |
486 | 788 | +++ b/storage/innobase/include/buf0buf.h 2010-12-06 19:23:47.638195824 +0900 | ||
489 | 789 | @@ -1144,6 +1144,14 @@ | 784 | @@ -1144,6 +1144,14 @@ |
490 | 790 | /*===========*/ | 785 | /*===========*/ |
491 | 791 | const buf_pool_t* buf_pool) /*!< in: buffer pool */ | 786 | const buf_pool_t* buf_pool) /*!< in: buffer pool */ |
492 | 792 | 787 | ||
493 | === modified file 'patches/innodb_buffer_pool_shm.patch' | |||
494 | --- patches/innodb_buffer_pool_shm.patch 2011-07-22 16:56:42 +0000 | |||
495 | +++ patches/innodb_buffer_pool_shm.patch 2011-07-27 11:32:35 +0000 | |||
496 | @@ -5,9 +5,8 @@ | |||
497 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
498 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
499 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
503 | 8 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 8 | --- a/storage/innobase/buf/buf0buf.c |
504 | 9 | --- a/storage/innobase/buf/buf0buf.c 2011-04-09 18:48:47.000000000 +0400 | 9 | +++ b/storage/innobase/buf/buf0buf.c |
502 | 10 | +++ b/storage/innobase/buf/buf0buf.c 2011-04-09 18:48:48.000000000 +0400 | ||
505 | 11 | @@ -1006,10 +1006,12 @@ | 10 | @@ -1006,10 +1006,12 @@ |
506 | 12 | buf_block_t* block; | 11 | buf_block_t* block; |
507 | 13 | byte* frame; | 12 | byte* frame; |
508 | @@ -32,9 +31,8 @@ | |||
509 | 32 | /* Init block structs and assign frames for them. Then we | 31 | /* Init block structs and assign frames for them. Then we |
510 | 33 | assign the frames to the first blocks (we already mapped the | 32 | assign the frames to the first blocks (we already mapped the |
511 | 34 | memory above). */ | 33 | memory above). */ |
515 | 35 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 34 | --- a/storage/innobase/handler/ha_innodb.cc |
516 | 36 | --- a/storage/innobase/handler/ha_innodb.cc 2011-04-09 18:48:47.000000000 +0400 | 35 | +++ b/storage/innobase/handler/ha_innodb.cc |
514 | 37 | +++ b/storage/innobase/handler/ha_innodb.cc 2011-04-09 18:48:48.000000000 +0400 | ||
517 | 38 | @@ -194,6 +194,8 @@ | 36 | @@ -194,6 +194,8 @@ |
518 | 39 | static my_bool innobase_create_status_file = FALSE; | 37 | static my_bool innobase_create_status_file = FALSE; |
519 | 40 | static my_bool innobase_stats_on_metadata = TRUE; | 38 | static my_bool innobase_stats_on_metadata = TRUE; |
520 | 41 | 39 | ||
521 | === modified file 'patches/innodb_bug60788.patch' | |||
522 | --- patches/innodb_bug60788.patch 2011-07-22 16:56:42 +0000 | |||
523 | +++ patches/innodb_bug60788.patch 2011-07-27 11:32:35 +0000 | |||
524 | @@ -7,10 +7,9 @@ | |||
525 | 7 | # Changes InnoDB IO code so that fsync(), pread() and pwrite() are restarted | 7 | # Changes InnoDB IO code so that fsync(), pread() and pwrite() are restarted |
526 | 8 | # when interrupted by a signal. | 8 | # when interrupted by a signal. |
527 | 9 | # | 9 | # |
532 | 10 | diff -ruN a/storage/innobase/os/os0file.c b/storage/innobase/os/os0file.c | 10 | --- a/storage/innobase/os/os0file.c |
533 | 11 | --- a/storage/innobase/os/os0file.c 2011-04-20 12:09:57.000000000 +0400 | 11 | +++ b/storage/innobase/os/os0file.c |
534 | 12 | +++ b/storage/innobase/os/os0file.c 2011-04-20 12:10:04.000000000 +0400 | 12 | @@ -2093,6 +2093,9 @@ |
531 | 13 | @@ -2092,6 +2092,9 @@ | ||
535 | 14 | failures++; | 13 | failures++; |
536 | 15 | 14 | ||
537 | 16 | retry = TRUE; | 15 | retry = TRUE; |
538 | @@ -20,7 +19,7 @@ | |||
539 | 20 | } else { | 19 | } else { |
540 | 21 | 20 | ||
541 | 22 | retry = FALSE; | 21 | retry = FALSE; |
543 | 23 | @@ -2222,6 +2225,7 @@ | 22 | @@ -2223,6 +2226,7 @@ |
544 | 24 | off_t offs; | 23 | off_t offs; |
545 | 25 | #if defined(HAVE_PREAD) && !defined(HAVE_BROKEN_PREAD) | 24 | #if defined(HAVE_PREAD) && !defined(HAVE_BROKEN_PREAD) |
546 | 26 | ssize_t n_bytes; | 25 | ssize_t n_bytes; |
547 | @@ -28,7 +27,7 @@ | |||
548 | 28 | #endif /* HAVE_PREAD && !HAVE_BROKEN_PREAD */ | 27 | #endif /* HAVE_PREAD && !HAVE_BROKEN_PREAD */ |
549 | 29 | ulint sec; | 28 | ulint sec; |
550 | 30 | ulint ms; | 29 | ulint ms; |
552 | 31 | @@ -2262,7 +2266,18 @@ | 30 | @@ -2263,7 +2267,18 @@ |
553 | 32 | os_n_pending_reads++; | 31 | os_n_pending_reads++; |
554 | 33 | os_mutex_exit(os_file_count_mutex); | 32 | os_mutex_exit(os_file_count_mutex); |
555 | 34 | 33 | ||
556 | @@ -48,7 +47,7 @@ | |||
557 | 48 | 47 | ||
558 | 49 | os_mutex_enter(os_file_count_mutex); | 48 | os_mutex_enter(os_file_count_mutex); |
559 | 50 | os_file_n_pending_preads--; | 49 | os_file_n_pending_preads--; |
561 | 51 | @@ -2281,6 +2296,7 @@ | 50 | @@ -2282,6 +2297,7 @@ |
562 | 52 | { | 51 | { |
563 | 53 | off_t ret_offset; | 52 | off_t ret_offset; |
564 | 54 | ssize_t ret; | 53 | ssize_t ret; |
565 | @@ -56,7 +55,7 @@ | |||
566 | 56 | #ifndef UNIV_HOTBACKUP | 55 | #ifndef UNIV_HOTBACKUP |
567 | 57 | ulint i; | 56 | ulint i; |
568 | 58 | #endif /* !UNIV_HOTBACKUP */ | 57 | #endif /* !UNIV_HOTBACKUP */ |
570 | 59 | @@ -2301,7 +2317,17 @@ | 58 | @@ -2302,7 +2318,17 @@ |
571 | 60 | if (ret_offset < 0) { | 59 | if (ret_offset < 0) { |
572 | 61 | ret = -1; | 60 | ret = -1; |
573 | 62 | } else { | 61 | } else { |
574 | @@ -75,7 +74,7 @@ | |||
575 | 75 | } | 74 | } |
576 | 76 | 75 | ||
577 | 77 | #ifndef UNIV_HOTBACKUP | 76 | #ifndef UNIV_HOTBACKUP |
579 | 78 | @@ -2340,6 +2366,7 @@ | 77 | @@ -2341,6 +2367,7 @@ |
580 | 79 | offset */ | 78 | offset */ |
581 | 80 | { | 79 | { |
582 | 81 | ssize_t ret; | 80 | ssize_t ret; |
583 | @@ -83,7 +82,7 @@ | |||
584 | 83 | off_t offs; | 82 | off_t offs; |
585 | 84 | 83 | ||
586 | 85 | ut_a((offset & 0xFFFFFFFFUL) == offset); | 84 | ut_a((offset & 0xFFFFFFFFUL) == offset); |
588 | 86 | @@ -2367,7 +2394,18 @@ | 85 | @@ -2368,7 +2395,18 @@ |
589 | 87 | os_n_pending_writes++; | 86 | os_n_pending_writes++; |
590 | 88 | os_mutex_exit(os_file_count_mutex); | 87 | os_mutex_exit(os_file_count_mutex); |
591 | 89 | 88 | ||
592 | @@ -103,7 +102,7 @@ | |||
593 | 103 | 102 | ||
594 | 104 | os_mutex_enter(os_file_count_mutex); | 103 | os_mutex_enter(os_file_count_mutex); |
595 | 105 | os_file_n_pending_pwrites--; | 104 | os_file_n_pending_pwrites--; |
597 | 106 | @@ -2414,7 +2452,17 @@ | 105 | @@ -2415,7 +2453,17 @@ |
598 | 107 | goto func_exit; | 106 | goto func_exit; |
599 | 108 | } | 107 | } |
600 | 109 | 108 | ||
601 | 110 | 109 | ||
602 | === modified file 'patches/innodb_deadlock_count.patch' | |||
603 | --- patches/innodb_deadlock_count.patch 2011-07-22 16:56:42 +0000 | |||
604 | +++ patches/innodb_deadlock_count.patch 2011-07-27 11:32:35 +0000 | |||
605 | @@ -5,9 +5,8 @@ | |||
606 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
607 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
608 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
612 | 8 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 8 | --- a/storage/innobase/handler/ha_innodb.cc |
613 | 9 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 16:09:53.145500265 +0900 | 9 | +++ b/storage/innobase/handler/ha_innodb.cc |
611 | 10 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 16:10:24.605515894 +0900 | ||
614 | 11 | @@ -686,6 +686,8 @@ | 10 | @@ -686,6 +686,8 @@ |
615 | 12 | (char*) &export_vars.innodb_dblwr_pages_written, SHOW_LONG}, | 11 | (char*) &export_vars.innodb_dblwr_pages_written, SHOW_LONG}, |
616 | 13 | {"dblwr_writes", | 12 | {"dblwr_writes", |
617 | @@ -17,9 +16,8 @@ | |||
618 | 17 | {"dict_tables", | 16 | {"dict_tables", |
619 | 18 | (char*) &export_vars.innodb_dict_tables, SHOW_LONG}, | 17 | (char*) &export_vars.innodb_dict_tables, SHOW_LONG}, |
620 | 19 | {"have_atomic_builtins", | 18 | {"have_atomic_builtins", |
624 | 20 | diff -ruN a/storage/innobase/include/lock0lock.h b/storage/innobase/include/lock0lock.h | 19 | --- a/storage/innobase/include/lock0lock.h |
625 | 21 | --- a/storage/innobase/include/lock0lock.h 2010-11-03 07:01:13.000000000 +0900 | 20 | +++ b/storage/innobase/include/lock0lock.h |
623 | 22 | +++ b/storage/innobase/include/lock0lock.h 2010-12-04 16:10:24.605515894 +0900 | ||
626 | 23 | @@ -43,6 +43,7 @@ | 21 | @@ -43,6 +43,7 @@ |
627 | 24 | #endif /* UNIV_DEBUG */ | 22 | #endif /* UNIV_DEBUG */ |
628 | 25 | /* Buffer for storing information about the most recent deadlock error */ | 23 | /* Buffer for storing information about the most recent deadlock error */ |
629 | @@ -28,9 +26,8 @@ | |||
630 | 28 | 26 | ||
631 | 29 | /*********************************************************************//** | 27 | /*********************************************************************//** |
632 | 30 | Gets the size of a lock struct. | 28 | Gets the size of a lock struct. |
636 | 31 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 29 | --- a/storage/innobase/include/srv0srv.h |
637 | 32 | --- a/storage/innobase/include/srv0srv.h 2010-12-04 15:55:21.378480843 +0900 | 30 | +++ b/storage/innobase/include/srv0srv.h |
635 | 33 | +++ b/storage/innobase/include/srv0srv.h 2010-12-04 16:10:24.606550983 +0900 | ||
638 | 34 | @@ -758,6 +758,7 @@ | 31 | @@ -758,6 +758,7 @@ |
639 | 35 | ulint innodb_buffer_pool_read_ahead_evicted;/*!< srv_read_ahead evicted*/ | 32 | ulint innodb_buffer_pool_read_ahead_evicted;/*!< srv_read_ahead evicted*/ |
640 | 36 | ulint innodb_dblwr_pages_written; /*!< srv_dblwr_pages_written */ | 33 | ulint innodb_dblwr_pages_written; /*!< srv_dblwr_pages_written */ |
641 | @@ -39,9 +36,8 @@ | |||
642 | 39 | ibool innodb_have_atomic_builtins; /*!< HAVE_ATOMIC_BUILTINS */ | 36 | ibool innodb_have_atomic_builtins; /*!< HAVE_ATOMIC_BUILTINS */ |
643 | 40 | ulint innodb_log_waits; /*!< srv_log_waits */ | 37 | ulint innodb_log_waits; /*!< srv_log_waits */ |
644 | 41 | ulint innodb_log_write_requests; /*!< srv_log_write_requests */ | 38 | ulint innodb_log_write_requests; /*!< srv_log_write_requests */ |
648 | 42 | diff -ruN a/storage/innobase/lock/lock0lock.c b/storage/innobase/lock/lock0lock.c | 39 | --- a/storage/innobase/lock/lock0lock.c |
649 | 43 | --- a/storage/innobase/lock/lock0lock.c 2010-12-03 17:49:11.609953956 +0900 | 40 | +++ b/storage/innobase/lock/lock0lock.c |
647 | 44 | +++ b/storage/innobase/lock/lock0lock.c 2010-12-04 16:10:24.608513889 +0900 | ||
650 | 45 | @@ -3328,6 +3328,7 @@ | 41 | @@ -3328,6 +3328,7 @@ |
651 | 46 | break; | 42 | break; |
652 | 47 | 43 | ||
653 | @@ -50,9 +46,8 @@ | |||
654 | 50 | fputs("*** WE ROLL BACK TRANSACTION (2)\n", | 46 | fputs("*** WE ROLL BACK TRANSACTION (2)\n", |
655 | 51 | lock_latest_err_file); | 47 | lock_latest_err_file); |
656 | 52 | break; | 48 | break; |
660 | 53 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 49 | --- a/storage/innobase/srv/srv0srv.c |
661 | 54 | --- a/storage/innobase/srv/srv0srv.c 2010-12-04 15:57:13.069513371 +0900 | 50 | +++ b/storage/innobase/srv/srv0srv.c |
659 | 55 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-04 16:10:24.610593039 +0900 | ||
662 | 56 | @@ -468,6 +468,7 @@ | 51 | @@ -468,6 +468,7 @@ |
663 | 57 | static ulint srv_n_rows_deleted_old = 0; | 52 | static ulint srv_n_rows_deleted_old = 0; |
664 | 58 | static ulint srv_n_rows_read_old = 0; | 53 | static ulint srv_n_rows_read_old = 0; |
665 | 59 | 54 | ||
666 | === modified file 'patches/innodb_dict_size_limit.patch' | |||
667 | --- patches/innodb_dict_size_limit.patch 2011-07-22 16:56:42 +0000 | |||
668 | +++ patches/innodb_dict_size_limit.patch 2011-07-27 11:32:35 +0000 | |||
669 | @@ -5,9 +5,8 @@ | |||
670 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
671 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
672 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
676 | 8 | diff -ruN a/storage/innobase/btr/btr0sea.c b/storage/innobase/btr/btr0sea.c | 8 | --- a/storage/innobase/btr/btr0sea.c |
677 | 9 | --- a/storage/innobase/btr/btr0sea.c 2010-11-03 07:01:13.000000000 +0900 | 9 | +++ b/storage/innobase/btr/btr0sea.c |
675 | 10 | +++ b/storage/innobase/btr/btr0sea.c 2010-12-03 15:45:47.503988924 +0900 | ||
678 | 11 | @@ -1185,6 +1185,179 @@ | 10 | @@ -1185,6 +1185,179 @@ |
679 | 12 | mem_free(folds); | 11 | mem_free(folds); |
680 | 13 | } | 12 | } |
681 | @@ -188,9 +187,8 @@ | |||
682 | 188 | /********************************************************************//** | 187 | /********************************************************************//** |
683 | 189 | Drops a page hash index when a page is freed from a fseg to the file system. | 188 | Drops a page hash index when a page is freed from a fseg to the file system. |
684 | 190 | Drops possible hash index if the page happens to be in the buffer pool. */ | 189 | Drops possible hash index if the page happens to be in the buffer pool. */ |
688 | 191 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 190 | --- a/storage/innobase/buf/buf0buf.c |
689 | 192 | --- a/storage/innobase/buf/buf0buf.c 2011-02-01 18:00:03.000000000 +0900 | 191 | +++ b/storage/innobase/buf/buf0buf.c |
687 | 193 | +++ b/storage/innobase/buf/buf0buf.c 2011-02-01 18:01:59.000000000 +0900 | ||
690 | 194 | @@ -294,14 +294,14 @@ | 192 | @@ -294,14 +294,14 @@ |
691 | 195 | # endif /* !PFS_SKIP_BUFFER_MUTEX_RWLOCK */ | 193 | # endif /* !PFS_SKIP_BUFFER_MUTEX_RWLOCK */ |
692 | 196 | #endif /* UNIV_PFS_MUTEX || UNIV_PFS_RWLOCK */ | 194 | #endif /* UNIV_PFS_MUTEX || UNIV_PFS_RWLOCK */ |
693 | @@ -214,9 +212,8 @@ | |||
694 | 214 | #endif /* !UNIV_HOTBACKUP */ | 212 | #endif /* !UNIV_HOTBACKUP */ |
695 | 215 | 213 | ||
696 | 216 | /********************************************************************//** | 214 | /********************************************************************//** |
700 | 217 | diff -ruN a/storage/innobase/dict/dict0boot.c b/storage/innobase/dict/dict0boot.c | 215 | --- a/storage/innobase/dict/dict0boot.c |
701 | 218 | --- a/storage/innobase/dict/dict0boot.c 2010-11-03 07:01:13.000000000 +0900 | 216 | +++ b/storage/innobase/dict/dict0boot.c |
699 | 219 | +++ b/storage/innobase/dict/dict0boot.c 2010-12-03 15:45:47.503988924 +0900 | ||
702 | 220 | @@ -284,6 +284,7 @@ | 217 | @@ -284,6 +284,7 @@ |
703 | 221 | system tables */ | 218 | system tables */ |
704 | 222 | /*-------------------------*/ | 219 | /*-------------------------*/ |
705 | @@ -249,9 +246,8 @@ | |||
706 | 249 | 246 | ||
707 | 250 | dict_mem_table_add_col(table, heap, "INDEX_ID", DATA_BINARY, 0, 0); | 247 | dict_mem_table_add_col(table, heap, "INDEX_ID", DATA_BINARY, 0, 0); |
708 | 251 | dict_mem_table_add_col(table, heap, "POS", DATA_INT, 0, 4); | 248 | dict_mem_table_add_col(table, heap, "POS", DATA_INT, 0, 4); |
712 | 252 | diff -ruN a/storage/innobase/dict/dict0crea.c b/storage/innobase/dict/dict0crea.c | 249 | --- a/storage/innobase/dict/dict0crea.c |
713 | 253 | --- a/storage/innobase/dict/dict0crea.c 2010-11-03 07:01:13.000000000 +0900 | 250 | +++ b/storage/innobase/dict/dict0crea.c |
711 | 254 | +++ b/storage/innobase/dict/dict0crea.c 2010-12-03 15:45:47.521955810 +0900 | ||
714 | 255 | @@ -1210,6 +1210,9 @@ | 251 | @@ -1210,6 +1210,9 @@ |
715 | 256 | /* Foreign constraint system tables have already been | 252 | /* Foreign constraint system tables have already been |
716 | 257 | created, and they are ok */ | 253 | created, and they are ok */ |
717 | @@ -274,9 +270,8 @@ | |||
718 | 274 | row_mysql_unlock_data_dictionary(trx); | 270 | row_mysql_unlock_data_dictionary(trx); |
719 | 275 | 271 | ||
720 | 276 | trx_free_for_mysql(trx); | 272 | trx_free_for_mysql(trx); |
724 | 277 | diff -ruN a/storage/innobase/dict/dict0dict.c b/storage/innobase/dict/dict0dict.c | 273 | --- a/storage/innobase/dict/dict0dict.c |
725 | 278 | --- a/storage/innobase/dict/dict0dict.c 2010-11-03 07:01:13.000000000 +0900 | 274 | +++ b/storage/innobase/dict/dict0dict.c |
723 | 279 | +++ b/storage/innobase/dict/dict0dict.c 2010-12-03 15:45:47.525953769 +0900 | ||
726 | 280 | @@ -626,6 +626,8 @@ | 275 | @@ -626,6 +626,8 @@ |
727 | 281 | 276 | ||
728 | 282 | table = dict_table_get_on_id_low(table_id); | 277 | table = dict_table_get_on_id_low(table_id); |
729 | @@ -372,9 +367,8 @@ | |||
730 | 372 | /* We always create search info whether or not adaptive | 367 | /* We always create search info whether or not adaptive |
731 | 373 | hash index is enabled or not. */ | 368 | hash index is enabled or not. */ |
732 | 374 | info = index->search_info; | 369 | info = index->search_info; |
736 | 375 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 370 | --- a/storage/innobase/handler/ha_innodb.cc |
737 | 376 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:43:57.294986852 +0900 | 371 | +++ b/storage/innobase/handler/ha_innodb.cc |
735 | 377 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:45:47.534959966 +0900 | ||
738 | 378 | @@ -674,6 +674,8 @@ | 372 | @@ -674,6 +674,8 @@ |
739 | 379 | (char*) &export_vars.innodb_dblwr_pages_written, SHOW_LONG}, | 373 | (char*) &export_vars.innodb_dblwr_pages_written, SHOW_LONG}, |
740 | 380 | {"dblwr_writes", | 374 | {"dblwr_writes", |
741 | @@ -404,9 +398,8 @@ | |||
742 | 404 | MYSQL_SYSVAR(use_sys_malloc), | 398 | MYSQL_SYSVAR(use_sys_malloc), |
743 | 405 | MYSQL_SYSVAR(use_native_aio), | 399 | MYSQL_SYSVAR(use_native_aio), |
744 | 406 | MYSQL_SYSVAR(change_buffering), | 400 | MYSQL_SYSVAR(change_buffering), |
748 | 407 | diff -ruN a/storage/innobase/ibuf/ibuf0ibuf.c b/storage/innobase/ibuf/ibuf0ibuf.c | 401 | --- a/storage/innobase/ibuf/ibuf0ibuf.c |
749 | 408 | --- a/storage/innobase/ibuf/ibuf0ibuf.c 2010-12-03 15:18:48.889024455 +0900 | 402 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c |
747 | 409 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c 2010-12-03 15:45:47.553025057 +0900 | ||
750 | 410 | @@ -566,6 +566,7 @@ | 403 | @@ -566,6 +566,7 @@ |
751 | 411 | 404 | ||
752 | 412 | /* Use old-style record format for the insert buffer. */ | 405 | /* Use old-style record format for the insert buffer. */ |
753 | @@ -415,9 +408,8 @@ | |||
754 | 415 | 408 | ||
755 | 416 | dict_mem_table_add_col(table, heap, "DUMMY_COLUMN", DATA_BINARY, 0, 0); | 409 | dict_mem_table_add_col(table, heap, "DUMMY_COLUMN", DATA_BINARY, 0, 0); |
756 | 417 | 410 | ||
760 | 418 | diff -ruN a/storage/innobase/include/btr0sea.h b/storage/innobase/include/btr0sea.h | 411 | --- a/storage/innobase/include/btr0sea.h |
761 | 419 | --- a/storage/innobase/include/btr0sea.h 2010-11-03 07:01:13.000000000 +0900 | 412 | +++ b/storage/innobase/include/btr0sea.h |
759 | 420 | +++ b/storage/innobase/include/btr0sea.h 2010-12-03 15:45:47.555024229 +0900 | ||
762 | 421 | @@ -140,6 +140,13 @@ | 413 | @@ -140,6 +140,13 @@ |
763 | 422 | s- or x-latched, or an index page | 414 | s- or x-latched, or an index page |
764 | 423 | for which we know that | 415 | for which we know that |
765 | @@ -432,9 +424,8 @@ | |||
766 | 432 | /********************************************************************//** | 424 | /********************************************************************//** |
767 | 433 | Drops a page hash index when a page is freed from a fseg to the file system. | 425 | Drops a page hash index when a page is freed from a fseg to the file system. |
768 | 434 | Drops possible hash index if the page happens to be in the buffer pool. */ | 426 | Drops possible hash index if the page happens to be in the buffer pool. */ |
772 | 435 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 427 | --- a/storage/innobase/include/buf0buf.h |
773 | 436 | --- a/storage/innobase/include/buf0buf.h 2011-02-01 18:00:03.000000000 +0900 | 428 | +++ b/storage/innobase/include/buf0buf.h |
771 | 437 | +++ b/storage/innobase/include/buf0buf.h 2011-02-01 18:03:29.000000000 +0900 | ||
774 | 438 | @@ -1555,6 +1555,15 @@ | 429 | @@ -1555,6 +1555,15 @@ |
775 | 439 | #define BUF_POOL_ZIP_FOLD_BPAGE(b) BUF_POOL_ZIP_FOLD((buf_block_t*) (b)) | 430 | #define BUF_POOL_ZIP_FOLD_BPAGE(b) BUF_POOL_ZIP_FOLD((buf_block_t*) (b)) |
776 | 440 | /* @} */ | 431 | /* @} */ |
777 | @@ -451,9 +442,8 @@ | |||
778 | 451 | /** @brief The buffer pool statistics structure. */ | 442 | /** @brief The buffer pool statistics structure. */ |
779 | 452 | struct buf_pool_stat_struct{ | 443 | struct buf_pool_stat_struct{ |
780 | 453 | ulint n_page_gets; /*!< number of page gets performed; | 444 | ulint n_page_gets; /*!< number of page gets performed; |
784 | 454 | diff -ruN a/storage/innobase/include/dict0dict.h b/storage/innobase/include/dict0dict.h | 445 | --- a/storage/innobase/include/dict0dict.h |
785 | 455 | --- a/storage/innobase/include/dict0dict.h 2010-11-03 07:01:13.000000000 +0900 | 446 | +++ b/storage/innobase/include/dict0dict.h |
783 | 456 | +++ b/storage/innobase/include/dict0dict.h 2010-12-03 15:45:47.558024515 +0900 | ||
786 | 457 | @@ -1170,6 +1170,12 @@ | 447 | @@ -1170,6 +1170,12 @@ |
787 | 458 | /*====================================*/ | 448 | /*====================================*/ |
788 | 459 | dict_table_t* table, /*!< in: table */ | 449 | dict_table_t* table, /*!< in: table */ |
789 | @@ -467,9 +457,8 @@ | |||
790 | 467 | /* Buffers for storing detailed information about the latest foreign key | 457 | /* Buffers for storing detailed information about the latest foreign key |
791 | 468 | and unique key errors */ | 458 | and unique key errors */ |
792 | 469 | extern FILE* dict_foreign_err_file; | 459 | extern FILE* dict_foreign_err_file; |
796 | 470 | diff -ruN a/storage/innobase/include/dict0dict.ic b/storage/innobase/include/dict0dict.ic | 460 | --- a/storage/innobase/include/dict0dict.ic |
797 | 471 | --- a/storage/innobase/include/dict0dict.ic 2010-11-03 07:01:13.000000000 +0900 | 461 | +++ b/storage/innobase/include/dict0dict.ic |
795 | 472 | +++ b/storage/innobase/include/dict0dict.ic 2010-12-03 15:45:47.560024398 +0900 | ||
798 | 473 | @@ -824,6 +824,13 @@ | 462 | @@ -824,6 +824,13 @@ |
799 | 474 | HASH_SEARCH(name_hash, dict_sys->table_hash, table_fold, | 463 | HASH_SEARCH(name_hash, dict_sys->table_hash, table_fold, |
800 | 475 | dict_table_t*, table, ut_ad(table->cached), | 464 | dict_table_t*, table, ut_ad(table->cached), |
801 | @@ -497,9 +486,8 @@ | |||
802 | 497 | ut_ad(!table || table->cached); | 486 | ut_ad(!table || table->cached); |
803 | 498 | 487 | ||
804 | 499 | /* TODO: should get the type information from MySQL */ | 488 | /* TODO: should get the type information from MySQL */ |
808 | 500 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 489 | --- a/storage/innobase/include/srv0srv.h |
809 | 501 | --- a/storage/innobase/include/srv0srv.h 2010-12-03 15:43:57.297067100 +0900 | 490 | +++ b/storage/innobase/include/srv0srv.h |
807 | 502 | +++ b/storage/innobase/include/srv0srv.h 2010-12-03 15:45:47.562024404 +0900 | ||
810 | 503 | @@ -229,6 +229,7 @@ | 491 | @@ -229,6 +229,7 @@ |
811 | 504 | extern ulint srv_read_ahead; | 492 | extern ulint srv_read_ahead; |
812 | 505 | extern ulint srv_adaptive_flushing_method; | 493 | extern ulint srv_adaptive_flushing_method; |
813 | @@ -516,9 +504,8 @@ | |||
814 | 516 | ulint innodb_buffer_pool_pages_total; /*!< Buffer pool size */ | 504 | ulint innodb_buffer_pool_pages_total; /*!< Buffer pool size */ |
815 | 517 | ulint innodb_buffer_pool_pages_data; /*!< Data pages */ | 505 | ulint innodb_buffer_pool_pages_data; /*!< Data pages */ |
816 | 518 | ulint innodb_buffer_pool_pages_dirty; /*!< Dirty data pages */ | 506 | ulint innodb_buffer_pool_pages_dirty; /*!< Dirty data pages */ |
820 | 519 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 507 | --- a/storage/innobase/srv/srv0srv.c |
821 | 520 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 15:43:57.301024390 +0900 | 508 | +++ b/storage/innobase/srv/srv0srv.c |
819 | 521 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 15:45:47.565023830 +0900 | ||
822 | 522 | @@ -415,6 +415,8 @@ | 509 | @@ -415,6 +415,8 @@ |
823 | 523 | UNIV_INTERN ulint srv_enable_unsafe_group_commit = 0; /* 0:disable 1:enable */ | 510 | UNIV_INTERN ulint srv_enable_unsafe_group_commit = 0; /* 0:disable 1:enable */ |
824 | 524 | UNIV_INTERN ulint srv_read_ahead = 3; /* 1: random 2: linear 3: Both */ | 511 | UNIV_INTERN ulint srv_read_ahead = 3; /* 1: random 2: linear 3: Both */ |
825 | 525 | 512 | ||
826 | === modified file 'patches/innodb_expand_fast_index_creation.patch' | |||
827 | --- patches/innodb_expand_fast_index_creation.patch 2011-07-22 16:56:42 +0000 | |||
828 | +++ patches/innodb_expand_fast_index_creation.patch 2011-07-27 11:32:35 +0000 | |||
829 | @@ -5,9 +5,8 @@ | |||
830 | 5 | # ALTER TABLE and OPTIMIZE TABLE. | 5 | # ALTER TABLE and OPTIMIZE TABLE. |
831 | 6 | # | 6 | # |
832 | 7 | # | 7 | # |
836 | 8 | diff -ruN a/client/client_priv.h b/client/client_priv.h | 8 | --- a/client/client_priv.h |
837 | 9 | --- a/client/client_priv.h 2011-04-11 08:57:20.000000000 +0400 | 9 | +++ b/client/client_priv.h |
835 | 10 | +++ b/client/client_priv.h 2011-04-11 08:57:21.000000000 +0400 | ||
838 | 11 | @@ -90,6 +90,7 @@ | 10 | @@ -90,6 +90,7 @@ |
839 | 12 | OPT_NO_REMOVE_EOL_CARRET, | 11 | OPT_NO_REMOVE_EOL_CARRET, |
840 | 13 | OPT_DEFAULT_AUTH, | 12 | OPT_DEFAULT_AUTH, |
841 | @@ -16,9 +15,8 @@ | |||
842 | 16 | OPT_MAX_CLIENT_OPTION | 15 | OPT_MAX_CLIENT_OPTION |
843 | 17 | }; | 16 | }; |
844 | 18 | 17 | ||
848 | 19 | diff -ruN a/client/mysqldump.c b/client/mysqldump.c | 18 | --- a/client/mysqldump.c |
849 | 20 | --- a/client/mysqldump.c 2011-04-11 08:57:17.000000000 +0400 | 19 | +++ b/client/mysqldump.c |
847 | 21 | +++ b/client/mysqldump.c 2011-04-11 08:57:21.000000000 +0400 | ||
850 | 22 | @@ -45,6 +45,7 @@ | 20 | @@ -45,6 +45,7 @@ |
851 | 23 | #include <m_ctype.h> | 21 | #include <m_ctype.h> |
852 | 24 | #include <hash.h> | 22 | #include <hash.h> |
853 | @@ -173,9 +171,8 @@ | |||
854 | 173 | /* Moved enable keys to before unlock per bug 15977 */ | 171 | /* Moved enable keys to before unlock per bug 15977 */ |
855 | 174 | if (opt_disable_keys) | 172 | if (opt_disable_keys) |
856 | 175 | { | 173 | { |
860 | 176 | diff -ruN /dev/null b/mysql-test/r/percona_mysqldump_innodb_optimize_keys.result | 174 | --- /dev/null |
861 | 177 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 175 | +++ b/mysql-test/r/percona_mysqldump_innodb_optimize_keys.result |
859 | 178 | +++ b/mysql-test/r/percona_mysqldump_innodb_optimize_keys.result 2011-04-11 08:57:21.000000000 +0400 | ||
862 | 179 | @@ -0,0 +1,109 @@ | 176 | @@ -0,0 +1,109 @@ |
863 | 180 | +# | 177 | +# |
864 | 181 | +# Test the --innodb-optimize-keys option. | 178 | +# Test the --innodb-optimize-keys option. |
865 | @@ -286,9 +283,8 @@ | |||
866 | 286 | + | 283 | + |
867 | 287 | +###################################### | 284 | +###################################### |
868 | 288 | +DROP TABLE t1, t2; | 285 | +DROP TABLE t1, t2; |
872 | 289 | diff -ruN a/mysql-test/suite/innodb/r/innodb.result b/mysql-test/suite/innodb/r/innodb.result | 286 | --- a/mysql-test/suite/innodb/r/innodb.result |
873 | 290 | --- a/mysql-test/suite/innodb/r/innodb.result 2011-03-31 17:36:17.000000000 +0400 | 287 | +++ b/mysql-test/suite/innodb/r/innodb.result |
871 | 291 | +++ b/mysql-test/suite/innodb/r/innodb.result 2011-04-11 23:26:45.000000000 +0400 | ||
874 | 292 | @@ -1673,7 +1673,7 @@ | 288 | @@ -1673,7 +1673,7 @@ |
875 | 293 | 71 | 289 | 71 |
876 | 294 | SELECT variable_value - @innodb_rows_inserted_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_inserted'; | 290 | SELECT variable_value - @innodb_rows_inserted_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_inserted'; |
877 | @@ -298,9 +294,8 @@ | |||
878 | 298 | SELECT variable_value - @innodb_rows_updated_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_updated'; | 294 | SELECT variable_value - @innodb_rows_updated_orig FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_rows_updated'; |
879 | 299 | variable_value - @innodb_rows_updated_orig | 295 | variable_value - @innodb_rows_updated_orig |
880 | 300 | 866 | 296 | 866 |
884 | 301 | diff -ruN a/mysql-test/suite/innodb/t/innodb-index.test b/mysql-test/suite/innodb/t/innodb-index.test | 297 | --- a/mysql-test/suite/innodb/t/innodb-index.test |
885 | 302 | --- a/mysql-test/suite/innodb/t/innodb-index.test 2011-03-31 17:36:17.000000000 +0400 | 298 | +++ b/mysql-test/suite/innodb/t/innodb-index.test |
883 | 303 | +++ b/mysql-test/suite/innodb/t/innodb-index.test 2011-04-11 08:57:21.000000000 +0400 | ||
886 | 304 | @@ -28,6 +28,11 @@ | 299 | @@ -28,6 +28,11 @@ |
887 | 305 | show create table t1; | 300 | show create table t1; |
888 | 306 | --error ER_MULTIPLE_PRI_KEY | 301 | --error ER_MULTIPLE_PRI_KEY |
889 | @@ -313,9 +308,8 @@ | |||
890 | 313 | --error ER_DUP_ENTRY | 308 | --error ER_DUP_ENTRY |
891 | 314 | alter table t1 drop primary key, add primary key (b); | 309 | alter table t1 drop primary key, add primary key (b); |
892 | 315 | create unique index c on t1 (c); | 310 | create unique index c on t1 (c); |
896 | 316 | diff -ruN a/mysql-test/suite/innodb/t/innodb.test b/mysql-test/suite/innodb/t/innodb.test | 311 | --- a/mysql-test/suite/innodb/t/innodb.test |
897 | 317 | --- a/mysql-test/suite/innodb/t/innodb.test 2011-03-31 17:36:17.000000000 +0400 | 312 | +++ b/mysql-test/suite/innodb/t/innodb.test |
895 | 318 | +++ b/mysql-test/suite/innodb/t/innodb.test 2011-04-11 08:57:21.000000000 +0400 | ||
898 | 319 | @@ -21,6 +21,12 @@ | 313 | @@ -21,6 +21,12 @@ |
899 | 320 | 314 | ||
900 | 321 | -- source include/have_innodb.inc | 315 | -- source include/have_innodb.inc |
901 | @@ -329,9 +323,8 @@ | |||
902 | 329 | let $MYSQLD_DATADIR= `select @@datadir`; | 323 | let $MYSQLD_DATADIR= `select @@datadir`; |
903 | 330 | 324 | ||
904 | 331 | # Save the original values of some variables in order to be able to | 325 | # Save the original values of some variables in order to be able to |
908 | 332 | diff -ruN /dev/null b/mysql-test/t/percona_mysqldump_innodb_optimize_keys.test | 326 | --- /dev/null |
909 | 333 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 327 | +++ b/mysql-test/t/percona_mysqldump_innodb_optimize_keys.test |
907 | 334 | +++ b/mysql-test/t/percona_mysqldump_innodb_optimize_keys.test 2011-04-11 08:57:21.000000000 +0400 | ||
910 | 335 | @@ -0,0 +1,62 @@ | 328 | @@ -0,0 +1,62 @@ |
911 | 336 | +# Embedded server doesn't support external clients | 329 | +# Embedded server doesn't support external clients |
912 | 337 | +--source include/not_embedded.inc | 330 | +--source include/not_embedded.inc |
913 | @@ -395,9 +388,8 @@ | |||
914 | 395 | + | 388 | + |
915 | 396 | +# Wait till we reached the initial number of concurrent sessions | 389 | +# Wait till we reached the initial number of concurrent sessions |
916 | 397 | +--source include/wait_until_count_sessions.inc | 390 | +--source include/wait_until_count_sessions.inc |
920 | 398 | diff -ruN a/sql/sql_lex.cc b/sql/sql_lex.cc | 391 | --- a/sql/sql_lex.cc |
921 | 399 | --- a/sql/sql_lex.cc 2011-04-11 08:57:17.000000000 +0400 | 392 | +++ b/sql/sql_lex.cc |
919 | 400 | +++ b/sql/sql_lex.cc 2011-04-11 08:57:21.000000000 +0400 | ||
922 | 401 | @@ -1630,6 +1630,9 @@ | 393 | @@ -1630,6 +1630,9 @@ |
923 | 402 | alter_list(rhs.alter_list, mem_root), | 394 | alter_list(rhs.alter_list, mem_root), |
924 | 403 | key_list(rhs.key_list, mem_root), | 395 | key_list(rhs.key_list, mem_root), |
925 | @@ -416,9 +408,8 @@ | |||
926 | 416 | /* partition_names are not deeply copied currently */ | 408 | /* partition_names are not deeply copied currently */ |
927 | 417 | } | 409 | } |
928 | 418 | 410 | ||
932 | 419 | diff -ruN a/sql/sql_lex.h b/sql/sql_lex.h | 411 | --- a/sql/sql_lex.h |
933 | 420 | --- a/sql/sql_lex.h 2011-04-11 08:57:19.000000000 +0400 | 412 | +++ b/sql/sql_lex.h |
931 | 421 | +++ b/sql/sql_lex.h 2011-04-11 08:57:21.000000000 +0400 | ||
934 | 422 | @@ -1003,6 +1003,9 @@ | 413 | @@ -1003,6 +1003,9 @@ |
935 | 423 | List<Alter_column> alter_list; | 414 | List<Alter_column> alter_list; |
936 | 424 | List<Key> key_list; | 415 | List<Key> key_list; |
937 | @@ -448,9 +439,8 @@ | |||
938 | 448 | flags= 0; | 439 | flags= 0; |
939 | 449 | keys_onoff= LEAVE_AS_IS; | 440 | keys_onoff= LEAVE_AS_IS; |
940 | 450 | tablespace_op= NO_TABLESPACE_OP; | 441 | tablespace_op= NO_TABLESPACE_OP; |
944 | 451 | diff -ruN a/sql/sql_table.cc b/sql/sql_table.cc | 442 | --- a/sql/sql_table.cc |
945 | 452 | --- a/sql/sql_table.cc 2011-04-11 08:56:57.000000000 +0400 | 443 | +++ b/sql/sql_table.cc |
943 | 453 | +++ b/sql/sql_table.cc 2011-04-11 23:30:02.000000000 +0400 | ||
946 | 454 | @@ -2773,7 +2773,7 @@ | 444 | @@ -2773,7 +2773,7 @@ |
947 | 455 | file The handler for the new table. | 445 | file The handler for the new table. |
948 | 456 | key_info_buffer OUT An array of KEY structs for the indexes. | 446 | key_info_buffer OUT An array of KEY structs for the indexes. |
949 | 457 | 447 | ||
950 | === modified file 'patches/innodb_expand_import.patch' | |||
951 | --- patches/innodb_expand_import.patch 2011-07-22 16:56:42 +0000 | |||
952 | +++ patches/innodb_expand_import.patch 2011-07-27 11:32:35 +0000 | |||
953 | @@ -5,9 +5,8 @@ | |||
954 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
955 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
956 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
960 | 8 | diff -ruN a/storage/innobase/btr/btr0btr.c b/storage/innobase/btr/btr0btr.c | 8 | --- a/storage/innobase/btr/btr0btr.c |
961 | 9 | --- a/storage/innobase/btr/btr0btr.c 2011-04-11 19:44:03.000000000 +0900 | 9 | +++ b/storage/innobase/btr/btr0btr.c |
959 | 10 | +++ b/storage/innobase/btr/btr0btr.c 2011-05-24 20:30:12.455852287 +0900 | ||
962 | 11 | @@ -837,7 +837,7 @@ | 10 | @@ -837,7 +837,7 @@ |
963 | 12 | /**************************************************************//** | 11 | /**************************************************************//** |
964 | 13 | Creates a new index page (not the root, and also not | 12 | Creates a new index page (not the root, and also not |
965 | @@ -35,9 +34,8 @@ | |||
966 | 35 | void | 34 | void |
967 | 36 | btr_attach_half_pages( | 35 | btr_attach_half_pages( |
968 | 37 | /*==================*/ | 36 | /*==================*/ |
972 | 38 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 37 | --- a/storage/innobase/fil/fil0fil.c |
973 | 39 | --- a/storage/innobase/fil/fil0fil.c 2010-12-03 15:09:51.274957577 +0900 | 38 | +++ b/storage/innobase/fil/fil0fil.c |
971 | 40 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-03 15:52:23.553986552 +0900 | ||
974 | 41 | @@ -40,6 +40,14 @@ | 39 | @@ -40,6 +40,14 @@ |
975 | 42 | #include "dict0dict.h" | 40 | #include "dict0dict.h" |
976 | 43 | #include "page0page.h" | 41 | #include "page0page.h" |
977 | @@ -865,9 +863,8 @@ | |||
978 | 865 | return(success); | 863 | return(success); |
979 | 866 | } | 864 | } |
980 | 867 | #endif /* !UNIV_HOTBACKUP */ | 865 | #endif /* !UNIV_HOTBACKUP */ |
984 | 868 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 866 | --- a/storage/innobase/handler/ha_innodb.cc |
985 | 869 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:49:59.195023983 +0900 | 867 | +++ b/storage/innobase/handler/ha_innodb.cc |
983 | 870 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:52:23.555957062 +0900 | ||
986 | 871 | @@ -7377,6 +7377,14 @@ | 868 | @@ -7377,6 +7377,14 @@ |
987 | 872 | err = row_discard_tablespace_for_mysql(dict_table->name, trx); | 869 | err = row_discard_tablespace_for_mysql(dict_table->name, trx); |
988 | 873 | } else { | 870 | } else { |
989 | @@ -903,9 +900,8 @@ | |||
990 | 903 | MYSQL_SYSVAR(dict_size_limit), | 900 | MYSQL_SYSVAR(dict_size_limit), |
991 | 904 | MYSQL_SYSVAR(use_sys_malloc), | 901 | MYSQL_SYSVAR(use_sys_malloc), |
992 | 905 | MYSQL_SYSVAR(use_native_aio), | 902 | MYSQL_SYSVAR(use_native_aio), |
996 | 906 | diff -ruN a/storage/innobase/include/btr0btr.h b/storage/innobase/include/btr0btr.h | 903 | --- a/storage/innobase/include/btr0btr.h |
997 | 907 | --- a/storage/innobase/include/btr0btr.h 2011-04-11 19:44:03.000000000 +0900 | 904 | +++ b/storage/innobase/include/btr0btr.h |
995 | 908 | +++ b/storage/innobase/include/btr0btr.h 2011-05-24 20:30:12.459853343 +0900 | ||
998 | 909 | @@ -219,6 +219,17 @@ | 905 | @@ -219,6 +219,17 @@ |
999 | 910 | @return the uncompressed page frame */ | 906 | @return the uncompressed page frame */ |
1000 | 911 | # define btr_page_get(space,zip_size,page_no,mode,mtr) \ | 907 | # define btr_page_get(space,zip_size,page_no,mode,mtr) \ |
1001 | @@ -1018,9 +1014,8 @@ | |||
1002 | 1018 | /****************************************************************//** | 1014 | /****************************************************************//** |
1003 | 1019 | Sets a record as the predefined minimum record. */ | 1015 | Sets a record as the predefined minimum record. */ |
1004 | 1020 | UNIV_INTERN | 1016 | UNIV_INTERN |
1008 | 1021 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 1017 | --- a/storage/innobase/include/srv0srv.h |
1009 | 1022 | --- a/storage/innobase/include/srv0srv.h 2010-12-03 15:48:03.077954270 +0900 | 1018 | +++ b/storage/innobase/include/srv0srv.h |
1007 | 1023 | +++ b/storage/innobase/include/srv0srv.h 2010-12-03 15:52:23.561986996 +0900 | ||
1010 | 1024 | @@ -229,6 +229,8 @@ | 1019 | @@ -229,6 +229,8 @@ |
1011 | 1025 | extern ulint srv_read_ahead; | 1020 | extern ulint srv_read_ahead; |
1012 | 1026 | extern ulint srv_adaptive_flushing_method; | 1021 | extern ulint srv_adaptive_flushing_method; |
1013 | @@ -1030,9 +1025,8 @@ | |||
1014 | 1030 | extern ulint srv_dict_size_limit; | 1025 | extern ulint srv_dict_size_limit; |
1015 | 1031 | /*-------------------------------------------*/ | 1026 | /*-------------------------------------------*/ |
1016 | 1032 | 1027 | ||
1020 | 1033 | diff -ruN a/storage/innobase/row/row0mysql.c b/storage/innobase/row/row0mysql.c | 1028 | --- a/storage/innobase/row/row0mysql.c |
1021 | 1034 | --- a/storage/innobase/row/row0mysql.c 2011-04-11 19:44:03.000000000 +0900 | 1029 | +++ b/storage/innobase/row/row0mysql.c |
1019 | 1035 | +++ b/storage/innobase/row/row0mysql.c 2011-06-06 11:53:18.395764565 +0900 | ||
1022 | 1036 | @@ -2568,6 +2568,11 @@ | 1030 | @@ -2568,6 +2568,11 @@ |
1023 | 1037 | 1031 | ||
1024 | 1038 | current_lsn = log_get_lsn(); | 1032 | current_lsn = log_get_lsn(); |
1025 | @@ -1057,9 +1051,8 @@ | |||
1026 | 1057 | return((int) err); | 1051 | return((int) err); |
1027 | 1058 | } | 1052 | } |
1028 | 1059 | 1053 | ||
1032 | 1060 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 1054 | --- a/storage/innobase/srv/srv0srv.c |
1033 | 1061 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 15:49:59.230956118 +0900 | 1055 | +++ b/storage/innobase/srv/srv0srv.c |
1031 | 1062 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 15:52:23.562954411 +0900 | ||
1034 | 1063 | @@ -416,6 +416,8 @@ | 1056 | @@ -416,6 +416,8 @@ |
1035 | 1064 | UNIV_INTERN ulint srv_read_ahead = 3; /* 1: random 2: linear 3: Both */ | 1057 | UNIV_INTERN ulint srv_read_ahead = 3; /* 1: random 2: linear 3: Both */ |
1036 | 1065 | UNIV_INTERN ulint srv_adaptive_flushing_method = 0; /* 0: native 1: estimate 2: keep_average */ | 1058 | UNIV_INTERN ulint srv_adaptive_flushing_method = 0; /* 0: native 1: estimate 2: keep_average */ |
1037 | 1066 | 1059 | ||
1038 | === modified file 'patches/innodb_extend_slow.patch' | |||
1039 | --- patches/innodb_extend_slow.patch 2011-07-22 16:56:42 +0000 | |||
1040 | +++ patches/innodb_extend_slow.patch 2011-07-27 11:32:35 +0000 | |||
1041 | @@ -5,9 +5,8 @@ | |||
1042 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
1043 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
1044 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
1048 | 8 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 8 | --- a/storage/innobase/buf/buf0buf.c |
1049 | 9 | --- a/storage/innobase/buf/buf0buf.c 2010-12-03 15:49:59.175955882 +0900 | 9 | +++ b/storage/innobase/buf/buf0buf.c |
1047 | 10 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-03 17:42:42.074307123 +0900 | ||
1050 | 11 | @@ -51,6 +51,40 @@ | 10 | @@ -51,6 +51,40 @@ |
1051 | 12 | #include "dict0dict.h" | 11 | #include "dict0dict.h" |
1052 | 13 | #include "log0recv.h" | 12 | #include "log0recv.h" |
1053 | @@ -237,9 +236,8 @@ | |||
1054 | 237 | return(TRUE); | 236 | return(TRUE); |
1055 | 238 | } | 237 | } |
1056 | 239 | 238 | ||
1060 | 240 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 239 | --- a/storage/innobase/buf/buf0rea.c |
1061 | 241 | --- a/storage/innobase/buf/buf0rea.c 2010-12-03 17:32:15.617037263 +0900 | 240 | +++ b/storage/innobase/buf/buf0rea.c |
1059 | 242 | +++ b/storage/innobase/buf/buf0rea.c 2010-12-03 17:42:42.075297193 +0900 | ||
1062 | 243 | @@ -77,7 +77,8 @@ | 241 | @@ -77,7 +77,8 @@ |
1063 | 244 | treat the tablespace as dropped; this is a timestamp we | 242 | treat the tablespace as dropped; this is a timestamp we |
1064 | 245 | use to stop dangling page reads from a tablespace | 243 | use to stop dangling page reads from a tablespace |
1065 | @@ -332,9 +330,8 @@ | |||
1066 | 332 | } | 330 | } |
1067 | 333 | } | 331 | } |
1068 | 334 | 332 | ||
1072 | 335 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 333 | --- a/storage/innobase/fil/fil0fil.c |
1073 | 336 | --- a/storage/innobase/fil/fil0fil.c 2010-12-03 15:53:54.610037199 +0900 | 334 | +++ b/storage/innobase/fil/fil0fil.c |
1071 | 337 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-03 17:42:42.079064198 +0900 | ||
1074 | 338 | @@ -4747,7 +4747,7 @@ | 335 | @@ -4747,7 +4747,7 @@ |
1075 | 339 | node->name, node->handle, buf, | 336 | node->name, node->handle, buf, |
1076 | 340 | offset_low, offset_high, | 337 | offset_low, offset_high, |
1077 | @@ -373,9 +370,8 @@ | |||
1078 | 373 | #endif | 370 | #endif |
1079 | 374 | ut_a(ret); | 371 | ut_a(ret); |
1080 | 375 | 372 | ||
1084 | 376 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 373 | --- a/storage/innobase/handler/ha_innodb.cc |
1085 | 377 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:36:44.293955189 +0900 | 374 | +++ b/storage/innobase/handler/ha_innodb.cc |
1083 | 378 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:42:42.090024586 +0900 | ||
1086 | 379 | @@ -1573,6 +1573,16 @@ | 375 | @@ -1573,6 +1573,16 @@ |
1087 | 380 | trx->check_unique_secondary = !thd_test_options( | 376 | trx->check_unique_secondary = !thd_test_options( |
1088 | 381 | thd, OPTION_RELAXED_UNIQUE_CHECKS); | 377 | thd, OPTION_RELAXED_UNIQUE_CHECKS); |
1089 | @@ -452,9 +448,8 @@ | |||
1090 | 452 | 448 | ||
1091 | 453 | trx->mysql_n_tables_locked = 0; | 449 | trx->mysql_n_tables_locked = 0; |
1092 | 454 | prebuilt->used_in_HANDLER = FALSE; | 450 | prebuilt->used_in_HANDLER = FALSE; |
1096 | 455 | diff -ruN a/storage/innobase/include/buf0rea.h b/storage/innobase/include/buf0rea.h | 451 | --- a/storage/innobase/include/buf0rea.h |
1097 | 456 | --- a/storage/innobase/include/buf0rea.h 2010-12-03 15:18:48.891024406 +0900 | 452 | +++ b/storage/innobase/include/buf0rea.h |
1095 | 457 | +++ b/storage/innobase/include/buf0rea.h 2010-12-03 17:42:42.096026873 +0900 | ||
1098 | 458 | @@ -27,6 +27,7 @@ | 453 | @@ -27,6 +27,7 @@ |
1099 | 459 | #define buf0rea_h | 454 | #define buf0rea_h |
1100 | 460 | 455 | ||
1101 | @@ -483,9 +478,8 @@ | |||
1102 | 483 | /********************************************************************//** | 478 | /********************************************************************//** |
1103 | 484 | Issues read requests for pages which the ibuf module wants to read in, in | 479 | Issues read requests for pages which the ibuf module wants to read in, in |
1104 | 485 | order to contract the insert buffer tree. Technically, this function is like | 480 | order to contract the insert buffer tree. Technically, this function is like |
1108 | 486 | diff -ruN a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h | 481 | --- a/storage/innobase/include/fil0fil.h |
1109 | 487 | --- a/storage/innobase/include/fil0fil.h 2010-12-03 15:09:51.290958543 +0900 | 482 | +++ b/storage/innobase/include/fil0fil.h |
1107 | 488 | +++ b/storage/innobase/include/fil0fil.h 2010-12-03 17:42:42.097027548 +0900 | ||
1110 | 489 | @@ -611,9 +611,12 @@ | 483 | @@ -611,9 +611,12 @@ |
1111 | 490 | Reads or writes data. This operation is asynchronous (aio). | 484 | Reads or writes data. This operation is asynchronous (aio). |
1112 | 491 | @return DB_SUCCESS, or DB_TABLESPACE_DELETED if we are trying to do | 485 | @return DB_SUCCESS, or DB_TABLESPACE_DELETED if we are trying to do |
1113 | @@ -511,9 +505,8 @@ | |||
1114 | 511 | /**********************************************************************//** | 505 | /**********************************************************************//** |
1115 | 512 | Waits for an aio operation to complete. This function is used to write the | 506 | Waits for an aio operation to complete. This function is used to write the |
1116 | 513 | handler for completed requests. The aio array of pending requests is divided | 507 | handler for completed requests. The aio array of pending requests is divided |
1120 | 514 | diff -ruN a/storage/innobase/include/os0file.h b/storage/innobase/include/os0file.h | 508 | --- a/storage/innobase/include/os0file.h |
1121 | 515 | --- a/storage/innobase/include/os0file.h 2010-11-03 07:01:13.000000000 +0900 | 509 | +++ b/storage/innobase/include/os0file.h |
1119 | 516 | +++ b/storage/innobase/include/os0file.h 2010-12-03 17:42:42.100023783 +0900 | ||
1122 | 517 | @@ -36,6 +36,7 @@ | 510 | @@ -36,6 +36,7 @@ |
1123 | 518 | #define os0file_h | 511 | #define os0file_h |
1124 | 519 | 512 | ||
1125 | @@ -601,9 +594,8 @@ | |||
1126 | 601 | /************************************************************************//** | 594 | /************************************************************************//** |
1127 | 602 | Wakes up all async i/o threads so that they know to exit themselves in | 595 | Wakes up all async i/o threads so that they know to exit themselves in |
1128 | 603 | shutdown. */ | 596 | shutdown. */ |
1132 | 604 | diff -ruN a/storage/innobase/include/os0file.ic b/storage/innobase/include/os0file.ic | 597 | --- a/storage/innobase/include/os0file.ic |
1133 | 605 | --- a/storage/innobase/include/os0file.ic 2010-11-03 07:01:13.000000000 +0900 | 598 | +++ b/storage/innobase/include/os0file.ic |
1131 | 606 | +++ b/storage/innobase/include/os0file.ic 2010-12-03 17:42:42.102024458 +0900 | ||
1134 | 607 | @@ -229,6 +229,7 @@ | 599 | @@ -229,6 +229,7 @@ |
1135 | 608 | (can be used to identify a completed | 600 | (can be used to identify a completed |
1136 | 609 | aio operation); ignored if mode is | 601 | aio operation); ignored if mode is |
1137 | @@ -638,9 +630,8 @@ | |||
1138 | 638 | 630 | ||
1139 | 639 | register_pfs_file_io_end(locker, n); | 631 | register_pfs_file_io_end(locker, n); |
1140 | 640 | 632 | ||
1144 | 641 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 633 | --- a/storage/innobase/include/srv0srv.h |
1145 | 642 | --- a/storage/innobase/include/srv0srv.h 2010-12-03 17:32:15.634987408 +0900 | 634 | +++ b/storage/innobase/include/srv0srv.h |
1143 | 643 | +++ b/storage/innobase/include/srv0srv.h 2010-12-03 17:42:42.104028644 +0900 | ||
1146 | 644 | @@ -71,6 +71,9 @@ | 635 | @@ -71,6 +71,9 @@ |
1147 | 645 | #define SRV_AUTO_EXTEND_INCREMENT \ | 636 | #define SRV_AUTO_EXTEND_INCREMENT \ |
1148 | 646 | (srv_auto_extend_increment * ((1024 * 1024) / UNIV_PAGE_SIZE)) | 637 | (srv_auto_extend_increment * ((1024 * 1024) / UNIV_PAGE_SIZE)) |
1149 | @@ -651,9 +642,8 @@ | |||
1150 | 651 | /* Mutex for locking srv_monitor_file */ | 642 | /* Mutex for locking srv_monitor_file */ |
1151 | 652 | extern mutex_t srv_monitor_file_mutex; | 643 | extern mutex_t srv_monitor_file_mutex; |
1152 | 653 | /* Temporary file for innodb monitor output */ | 644 | /* Temporary file for innodb monitor output */ |
1156 | 654 | diff -ruN a/storage/innobase/include/trx0trx.h b/storage/innobase/include/trx0trx.h | 645 | --- a/storage/innobase/include/trx0trx.h |
1157 | 655 | --- a/storage/innobase/include/trx0trx.h 2010-12-03 15:41:52.049372966 +0900 | 646 | +++ b/storage/innobase/include/trx0trx.h |
1155 | 656 | +++ b/storage/innobase/include/trx0trx.h 2010-12-03 17:42:42.107024532 +0900 | ||
1158 | 657 | @@ -743,6 +743,17 @@ | 647 | @@ -743,6 +743,17 @@ |
1159 | 658 | /*------------------------------*/ | 648 | /*------------------------------*/ |
1160 | 659 | char detailed_error[256]; /*!< detailed error message for last | 649 | char detailed_error[256]; /*!< detailed error message for last |
1161 | @@ -672,9 +662,8 @@ | |||
1162 | 672 | }; | 662 | }; |
1163 | 673 | 663 | ||
1164 | 674 | #define TRX_MAX_N_THREADS 32 /* maximum number of | 664 | #define TRX_MAX_N_THREADS 32 /* maximum number of |
1168 | 675 | diff -ruN a/storage/innobase/lock/lock0lock.c b/storage/innobase/lock/lock0lock.c | 665 | --- a/storage/innobase/lock/lock0lock.c |
1169 | 676 | --- a/storage/innobase/lock/lock0lock.c 2010-12-03 15:09:51.297986437 +0900 | 666 | +++ b/storage/innobase/lock/lock0lock.c |
1167 | 677 | +++ b/storage/innobase/lock/lock0lock.c 2010-12-03 17:42:42.111024587 +0900 | ||
1170 | 678 | @@ -1755,6 +1755,8 @@ | 667 | @@ -1755,6 +1755,8 @@ |
1171 | 679 | { | 668 | { |
1172 | 680 | lock_t* lock; | 669 | lock_t* lock; |
1173 | @@ -715,9 +704,8 @@ | |||
1174 | 715 | trx->que_state = TRX_QUE_LOCK_WAIT; | 704 | trx->que_state = TRX_QUE_LOCK_WAIT; |
1175 | 716 | trx->was_chosen_as_deadlock_victim = FALSE; | 705 | trx->was_chosen_as_deadlock_victim = FALSE; |
1176 | 717 | trx->wait_started = time(NULL); | 706 | trx->wait_started = time(NULL); |
1180 | 718 | diff -ruN a/storage/innobase/os/os0file.c b/storage/innobase/os/os0file.c | 707 | --- a/storage/innobase/os/os0file.c |
1181 | 719 | --- a/storage/innobase/os/os0file.c 2010-12-03 17:32:15.644024974 +0900 | 708 | +++ b/storage/innobase/os/os0file.c |
1179 | 720 | +++ b/storage/innobase/os/os0file.c 2010-12-03 17:42:42.117023467 +0900 | ||
1182 | 721 | @@ -43,6 +43,8 @@ | 709 | @@ -43,6 +43,8 @@ |
1183 | 722 | #include "srv0start.h" | 710 | #include "srv0start.h" |
1184 | 723 | #include "fil0fil.h" | 711 | #include "fil0fil.h" |
1185 | @@ -727,7 +715,7 @@ | |||
1186 | 727 | #include "log0recv.h" | 715 | #include "log0recv.h" |
1187 | 728 | #ifndef UNIV_HOTBACKUP | 716 | #ifndef UNIV_HOTBACKUP |
1188 | 729 | # include "os0sync.h" | 717 | # include "os0sync.h" |
1190 | 730 | @@ -2212,13 +2214,18 @@ | 718 | @@ -2213,13 +2215,18 @@ |
1191 | 731 | ulint n, /*!< in: number of bytes to read */ | 719 | ulint n, /*!< in: number of bytes to read */ |
1192 | 732 | ulint offset, /*!< in: least significant 32 bits of file | 720 | ulint offset, /*!< in: least significant 32 bits of file |
1193 | 733 | offset from where to read */ | 721 | offset from where to read */ |
1194 | @@ -747,7 +735,7 @@ | |||
1195 | 747 | 735 | ||
1196 | 748 | ut_a((offset & 0xFFFFFFFFUL) == offset); | 736 | ut_a((offset & 0xFFFFFFFFUL) == offset); |
1197 | 749 | 737 | ||
1199 | 750 | @@ -2239,6 +2246,15 @@ | 738 | @@ -2240,6 +2247,15 @@ |
1200 | 751 | 739 | ||
1201 | 752 | os_n_file_reads++; | 740 | os_n_file_reads++; |
1202 | 753 | 741 | ||
1203 | @@ -763,7 +751,7 @@ | |||
1204 | 763 | #if defined(HAVE_PREAD) && !defined(HAVE_BROKEN_PREAD) | 751 | #if defined(HAVE_PREAD) && !defined(HAVE_BROKEN_PREAD) |
1205 | 764 | os_mutex_enter(os_file_count_mutex); | 752 | os_mutex_enter(os_file_count_mutex); |
1206 | 765 | os_file_n_pending_preads++; | 753 | os_file_n_pending_preads++; |
1208 | 766 | @@ -2252,6 +2268,13 @@ | 754 | @@ -2253,6 +2269,13 @@ |
1209 | 767 | os_n_pending_reads--; | 755 | os_n_pending_reads--; |
1210 | 768 | os_mutex_exit(os_file_count_mutex); | 756 | os_mutex_exit(os_file_count_mutex); |
1211 | 769 | 757 | ||
1212 | @@ -777,7 +765,7 @@ | |||
1213 | 777 | return(n_bytes); | 765 | return(n_bytes); |
1214 | 778 | #else | 766 | #else |
1215 | 779 | { | 767 | { |
1217 | 780 | @@ -2288,6 +2311,13 @@ | 768 | @@ -2289,6 +2312,13 @@ |
1218 | 781 | os_n_pending_reads--; | 769 | os_n_pending_reads--; |
1219 | 782 | os_mutex_exit(os_file_count_mutex); | 770 | os_mutex_exit(os_file_count_mutex); |
1220 | 783 | 771 | ||
1221 | @@ -791,7 +779,7 @@ | |||
1222 | 791 | return(ret); | 779 | return(ret); |
1223 | 792 | } | 780 | } |
1224 | 793 | #endif | 781 | #endif |
1226 | 794 | @@ -2428,7 +2458,8 @@ | 782 | @@ -2429,7 +2459,8 @@ |
1227 | 795 | offset where to read */ | 783 | offset where to read */ |
1228 | 796 | ulint offset_high, /*!< in: most significant 32 bits of | 784 | ulint offset_high, /*!< in: most significant 32 bits of |
1229 | 797 | offset */ | 785 | offset */ |
1230 | @@ -801,7 +789,7 @@ | |||
1231 | 801 | { | 789 | { |
1232 | 802 | #ifdef __WIN__ | 790 | #ifdef __WIN__ |
1233 | 803 | BOOL ret; | 791 | BOOL ret; |
1235 | 804 | @@ -2503,7 +2534,7 @@ | 792 | @@ -2504,7 +2535,7 @@ |
1236 | 805 | os_bytes_read_since_printout += n; | 793 | os_bytes_read_since_printout += n; |
1237 | 806 | 794 | ||
1238 | 807 | try_again: | 795 | try_again: |
1239 | @@ -810,7 +798,7 @@ | |||
1240 | 810 | 798 | ||
1241 | 811 | if ((ulint)ret == n) { | 799 | if ((ulint)ret == n) { |
1242 | 812 | 800 | ||
1244 | 813 | @@ -2632,7 +2663,7 @@ | 801 | @@ -2633,7 +2664,7 @@ |
1245 | 814 | os_bytes_read_since_printout += n; | 802 | os_bytes_read_since_printout += n; |
1246 | 815 | 803 | ||
1247 | 816 | try_again: | 804 | try_again: |
1248 | @@ -819,7 +807,7 @@ | |||
1249 | 819 | 807 | ||
1250 | 820 | if ((ulint)ret == n) { | 808 | if ((ulint)ret == n) { |
1251 | 821 | 809 | ||
1253 | 822 | @@ -4026,10 +4057,11 @@ | 810 | @@ -4027,10 +4058,11 @@ |
1254 | 823 | (can be used to identify a completed | 811 | (can be used to identify a completed |
1255 | 824 | aio operation); ignored if mode is | 812 | aio operation); ignored if mode is |
1256 | 825 | OS_AIO_SYNC */ | 813 | OS_AIO_SYNC */ |
1257 | @@ -832,7 +820,7 @@ | |||
1258 | 832 | { | 820 | { |
1259 | 833 | os_aio_array_t* array; | 821 | os_aio_array_t* array; |
1260 | 834 | os_aio_slot_t* slot; | 822 | os_aio_slot_t* slot; |
1262 | 835 | @@ -4070,8 +4102,8 @@ | 823 | @@ -4071,8 +4103,8 @@ |
1263 | 836 | wait in the Windows case. */ | 824 | wait in the Windows case. */ |
1264 | 837 | 825 | ||
1265 | 838 | if (type == OS_FILE_READ) { | 826 | if (type == OS_FILE_READ) { |
1266 | @@ -843,7 +831,7 @@ | |||
1267 | 843 | } | 831 | } |
1268 | 844 | 832 | ||
1269 | 845 | ut_a(type == OS_FILE_WRITE); | 833 | ut_a(type == OS_FILE_WRITE); |
1271 | 846 | @@ -4111,6 +4143,11 @@ | 834 | @@ -4112,6 +4144,11 @@ |
1272 | 847 | array = NULL; /* Eliminate compiler warning */ | 835 | array = NULL; /* Eliminate compiler warning */ |
1273 | 848 | } | 836 | } |
1274 | 849 | 837 | ||
1275 | @@ -855,9 +843,8 @@ | |||
1276 | 855 | slot = os_aio_array_reserve_slot(type, array, message1, message2, file, | 843 | slot = os_aio_array_reserve_slot(type, array, message1, message2, file, |
1277 | 856 | name, buf, offset, offset_high, n); | 844 | name, buf, offset, offset_high, n); |
1278 | 857 | if (type == OS_FILE_READ) { | 845 | if (type == OS_FILE_READ) { |
1282 | 858 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 846 | --- a/storage/innobase/srv/srv0srv.c |
1283 | 859 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 17:32:15.648024399 +0900 | 847 | +++ b/storage/innobase/srv/srv0srv.c |
1281 | 860 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 17:45:05.067023254 +0900 | ||
1284 | 861 | @@ -87,6 +87,9 @@ | 848 | @@ -87,6 +87,9 @@ |
1285 | 862 | #include "mysql/plugin.h" | 849 | #include "mysql/plugin.h" |
1286 | 863 | #include "mysql/service_thd_wait.h" | 850 | #include "mysql/service_thd_wait.h" |
1287 | @@ -915,9 +902,8 @@ | |||
1288 | 915 | os_fast_mutex_lock(&srv_conc_mutex); | 902 | os_fast_mutex_lock(&srv_conc_mutex); |
1289 | 916 | 903 | ||
1290 | 917 | srv_conc_n_waiting_threads--; | 904 | srv_conc_n_waiting_threads--; |
1294 | 918 | diff -ruN a/storage/innobase/trx/trx0trx.c b/storage/innobase/trx/trx0trx.c | 905 | --- a/storage/innobase/trx/trx0trx.c |
1295 | 919 | --- a/storage/innobase/trx/trx0trx.c 2010-12-03 15:41:52.053955669 +0900 | 906 | +++ b/storage/innobase/trx/trx0trx.c |
1293 | 920 | +++ b/storage/innobase/trx/trx0trx.c 2010-12-03 17:42:42.127023410 +0900 | ||
1296 | 921 | @@ -188,6 +188,15 @@ | 907 | @@ -188,6 +188,15 @@ |
1297 | 922 | trx->global_read_view = NULL; | 908 | trx->global_read_view = NULL; |
1298 | 923 | trx->read_view = NULL; | 909 | trx->read_view = NULL; |
1299 | 924 | 910 | ||
1300 | === modified file 'patches/innodb_extra_rseg.patch' | |||
1301 | --- patches/innodb_extra_rseg.patch 2011-07-22 16:56:42 +0000 | |||
1302 | +++ patches/innodb_extra_rseg.patch 2011-07-27 11:32:35 +0000 | |||
1303 | @@ -5,9 +5,8 @@ | |||
1304 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
1305 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
1306 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
1310 | 8 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 8 | --- a/storage/innobase/handler/ha_innodb.cc |
1311 | 9 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:18:48.879955903 +0900 | 9 | +++ b/storage/innobase/handler/ha_innodb.cc |
1309 | 10 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:22:53.779955671 +0900 | ||
1312 | 11 | @@ -11528,6 +11528,7 @@ | 10 | @@ -11528,6 +11528,7 @@ |
1313 | 12 | innobase_system_variables, /* system variables */ | 11 | innobase_system_variables, /* system variables */ |
1314 | 13 | NULL /* reserved */ | 12 | NULL /* reserved */ |
1315 | @@ -16,9 +15,8 @@ | |||
1316 | 16 | i_s_innodb_trx, | 15 | i_s_innodb_trx, |
1317 | 17 | i_s_innodb_locks, | 16 | i_s_innodb_locks, |
1318 | 18 | i_s_innodb_lock_waits, | 17 | i_s_innodb_lock_waits, |
1322 | 19 | diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc | 18 | --- a/storage/innobase/handler/i_s.cc |
1323 | 20 | --- a/storage/innobase/handler/i_s.cc 2010-12-03 15:06:58.742986460 +0900 | 19 | +++ b/storage/innobase/handler/i_s.cc |
1321 | 21 | +++ b/storage/innobase/handler/i_s.cc 2010-12-03 15:33:08.790070078 +0900 | ||
1324 | 22 | @@ -45,6 +45,8 @@ | 20 | @@ -45,6 +45,8 @@ |
1325 | 23 | #include "srv0start.h" /* for srv_was_started */ | 21 | #include "srv0start.h" /* for srv_was_started */ |
1326 | 24 | #include "trx0i_s.h" | 22 | #include "trx0i_s.h" |
1327 | @@ -195,9 +193,8 @@ | |||
1328 | 195 | + /* void* */ | 193 | + /* void* */ |
1329 | 196 | + STRUCT_FLD(__reserved1, NULL) | 194 | + STRUCT_FLD(__reserved1, NULL) |
1330 | 197 | +}; | 195 | +}; |
1334 | 198 | diff -ruN a/storage/innobase/handler/i_s.h b/storage/innobase/handler/i_s.h | 196 | --- a/storage/innobase/handler/i_s.h |
1335 | 199 | --- a/storage/innobase/handler/i_s.h 2010-12-03 15:06:58.744953398 +0900 | 197 | +++ b/storage/innobase/handler/i_s.h |
1333 | 200 | +++ b/storage/innobase/handler/i_s.h 2010-12-03 15:22:53.783953418 +0900 | ||
1336 | 201 | @@ -35,5 +35,6 @@ | 198 | @@ -35,5 +35,6 @@ |
1337 | 202 | extern struct st_mysql_plugin i_s_innodb_cmp_reset; | 199 | extern struct st_mysql_plugin i_s_innodb_cmp_reset; |
1338 | 203 | extern struct st_mysql_plugin i_s_innodb_cmpmem; | 200 | extern struct st_mysql_plugin i_s_innodb_cmpmem; |
1339 | 204 | 201 | ||
1340 | === modified file 'patches/innodb_fast_checksum.patch' | |||
1341 | --- patches/innodb_fast_checksum.patch 2011-07-22 16:56:42 +0000 | |||
1342 | +++ patches/innodb_fast_checksum.patch 2011-07-27 11:32:35 +0000 | |||
1343 | @@ -5,9 +5,8 @@ | |||
1344 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
1345 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
1346 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
1350 | 8 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 8 | --- a/storage/innobase/buf/buf0buf.c |
1351 | 9 | --- a/storage/innobase/buf/buf0buf.c 2010-12-04 15:52:23.391514910 +0900 | 9 | +++ b/storage/innobase/buf/buf0buf.c |
1349 | 10 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-04 15:53:45.013513772 +0900 | ||
1352 | 11 | @@ -511,6 +511,27 @@ | 10 | @@ -511,6 +511,27 @@ |
1353 | 12 | return(checksum); | 11 | return(checksum); |
1354 | 13 | } | 12 | } |
1355 | @@ -92,9 +91,8 @@ | |||
1356 | 92 | (ulong) mach_read_from_4(read_buf + FIL_PAGE_SPACE_OR_CHKSUM), | 91 | (ulong) mach_read_from_4(read_buf + FIL_PAGE_SPACE_OR_CHKSUM), |
1357 | 93 | (ulong) mach_read_from_4(read_buf + UNIV_PAGE_SIZE | 92 | (ulong) mach_read_from_4(read_buf + UNIV_PAGE_SIZE |
1358 | 94 | - FIL_PAGE_END_LSN_OLD_CHKSUM), | 93 | - FIL_PAGE_END_LSN_OLD_CHKSUM), |
1362 | 95 | diff -ruN a/storage/innobase/buf/buf0flu.c b/storage/innobase/buf/buf0flu.c | 94 | --- a/storage/innobase/buf/buf0flu.c |
1363 | 96 | --- a/storage/innobase/buf/buf0flu.c 2010-12-04 15:37:50.555568346 +0900 | 95 | +++ b/storage/innobase/buf/buf0flu.c |
1361 | 97 | +++ b/storage/innobase/buf/buf0flu.c 2010-12-04 15:53:45.015513917 +0900 | ||
1364 | 98 | @@ -1055,7 +1055,9 @@ | 96 | @@ -1055,7 +1055,9 @@ |
1365 | 99 | 97 | ||
1366 | 100 | mach_write_to_4(page + FIL_PAGE_SPACE_OR_CHKSUM, | 98 | mach_write_to_4(page + FIL_PAGE_SPACE_OR_CHKSUM, |
1367 | @@ -106,9 +104,8 @@ | |||
1368 | 106 | : BUF_NO_CHECKSUM_MAGIC); | 104 | : BUF_NO_CHECKSUM_MAGIC); |
1369 | 107 | 105 | ||
1370 | 108 | /* We overwrite the first 4 bytes of the end lsn field to store | 106 | /* We overwrite the first 4 bytes of the end lsn field to store |
1374 | 109 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 107 | --- a/storage/innobase/fil/fil0fil.c |
1375 | 110 | --- a/storage/innobase/fil/fil0fil.c 2010-12-04 15:52:23.406513743 +0900 | 108 | +++ b/storage/innobase/fil/fil0fil.c |
1373 | 111 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-04 15:53:45.020513800 +0900 | ||
1376 | 112 | @@ -3094,13 +3094,24 @@ | 109 | @@ -3094,13 +3094,24 @@ |
1377 | 113 | return(TRUE); | 110 | return(TRUE); |
1378 | 114 | } | 111 | } |
1379 | @@ -146,9 +143,8 @@ | |||
1380 | 146 | : BUF_NO_CHECKSUM_MAGIC); | 143 | : BUF_NO_CHECKSUM_MAGIC); |
1381 | 147 | mach_write_to_4(page + UNIV_PAGE_SIZE - FIL_PAGE_END_LSN_OLD_CHKSUM, | 144 | mach_write_to_4(page + UNIV_PAGE_SIZE - FIL_PAGE_END_LSN_OLD_CHKSUM, |
1382 | 148 | srv_use_checksums | 145 | srv_use_checksums |
1386 | 149 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 146 | --- a/storage/innobase/handler/ha_innodb.cc |
1387 | 150 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:52:23.420480329 +0900 | 147 | +++ b/storage/innobase/handler/ha_innodb.cc |
1385 | 151 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:53:45.029551892 +0900 | ||
1388 | 152 | @@ -183,6 +183,7 @@ | 148 | @@ -183,6 +183,7 @@ |
1389 | 153 | #endif /* UNIV_LOG_ARCHIVE */ | 149 | #endif /* UNIV_LOG_ARCHIVE */ |
1390 | 154 | static my_bool innobase_use_doublewrite = TRUE; | 150 | static my_bool innobase_use_doublewrite = TRUE; |
1391 | @@ -189,9 +185,8 @@ | |||
1392 | 189 | MYSQL_SYSVAR(commit_concurrency), | 185 | MYSQL_SYSVAR(commit_concurrency), |
1393 | 190 | MYSQL_SYSVAR(concurrency_tickets), | 186 | MYSQL_SYSVAR(concurrency_tickets), |
1394 | 191 | MYSQL_SYSVAR(data_file_path), | 187 | MYSQL_SYSVAR(data_file_path), |
1398 | 192 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 188 | --- a/storage/innobase/include/buf0buf.h |
1399 | 193 | --- a/storage/innobase/include/buf0buf.h 2010-12-04 15:52:23.458514045 +0900 | 189 | +++ b/storage/innobase/include/buf0buf.h |
1397 | 194 | +++ b/storage/innobase/include/buf0buf.h 2010-12-04 15:53:45.044514150 +0900 | ||
1400 | 195 | @@ -604,6 +604,11 @@ | 190 | @@ -604,6 +604,11 @@ |
1401 | 196 | buf_calc_page_new_checksum( | 191 | buf_calc_page_new_checksum( |
1402 | 197 | /*=======================*/ | 192 | /*=======================*/ |
1403 | @@ -204,9 +199,8 @@ | |||
1404 | 204 | /********************************************************************//** | 199 | /********************************************************************//** |
1405 | 205 | In versions < 4.0.14 and < 4.1.1 there was a bug that the checksum only | 200 | In versions < 4.0.14 and < 4.1.1 there was a bug that the checksum only |
1406 | 206 | looked at the first few bytes of the page. This calculates that old | 201 | looked at the first few bytes of the page. This calculates that old |
1410 | 207 | diff -ruN a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h | 202 | --- a/storage/innobase/include/fil0fil.h |
1411 | 208 | --- a/storage/innobase/include/fil0fil.h 2010-12-04 15:52:23.466513796 +0900 | 203 | +++ b/storage/innobase/include/fil0fil.h |
1409 | 209 | +++ b/storage/innobase/include/fil0fil.h 2010-12-04 15:53:45.046513558 +0900 | ||
1412 | 210 | @@ -118,6 +118,7 @@ | 204 | @@ -118,6 +118,7 @@ |
1413 | 211 | #define FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID 34 /*!< starting from 4.1.x this | 205 | #define FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID 34 /*!< starting from 4.1.x this |
1414 | 212 | contains the space id of the page */ | 206 | contains the space id of the page */ |
1415 | @@ -215,9 +209,8 @@ | |||
1416 | 215 | /* @} */ | 209 | /* @} */ |
1417 | 216 | /** File page trailer @{ */ | 210 | /** File page trailer @{ */ |
1418 | 217 | #define FIL_PAGE_END_LSN_OLD_CHKSUM 8 /*!< the low 4 bytes of this are used | 211 | #define FIL_PAGE_END_LSN_OLD_CHKSUM 8 /*!< the low 4 bytes of this are used |
1422 | 218 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 212 | --- a/storage/innobase/include/srv0srv.h |
1423 | 219 | --- a/storage/innobase/include/srv0srv.h 2010-12-04 15:52:23.474482590 +0900 | 213 | +++ b/storage/innobase/include/srv0srv.h |
1421 | 220 | +++ b/storage/innobase/include/srv0srv.h 2010-12-04 15:53:45.048512100 +0900 | ||
1424 | 221 | @@ -224,6 +224,7 @@ | 214 | @@ -224,6 +224,7 @@ |
1425 | 222 | 215 | ||
1426 | 223 | extern ibool srv_use_doublewrite_buf; | 216 | extern ibool srv_use_doublewrite_buf; |
1427 | @@ -226,9 +219,8 @@ | |||
1428 | 226 | 219 | ||
1429 | 227 | extern ulong srv_max_buf_pool_modified_pct; | 220 | extern ulong srv_max_buf_pool_modified_pct; |
1430 | 228 | extern ulong srv_max_purge_lag; | 221 | extern ulong srv_max_purge_lag; |
1434 | 229 | diff -ruN a/storage/innobase/include/ut0rnd.h b/storage/innobase/include/ut0rnd.h | 222 | --- a/storage/innobase/include/ut0rnd.h |
1435 | 230 | --- a/storage/innobase/include/ut0rnd.h 2010-11-03 07:01:13.000000000 +0900 | 223 | +++ b/storage/innobase/include/ut0rnd.h |
1433 | 231 | +++ b/storage/innobase/include/ut0rnd.h 2010-12-04 15:53:45.049510146 +0900 | ||
1436 | 232 | @@ -124,6 +124,13 @@ | 224 | @@ -124,6 +124,13 @@ |
1437 | 233 | const byte* str, /*!< in: string of bytes */ | 225 | const byte* str, /*!< in: string of bytes */ |
1438 | 234 | ulint len) /*!< in: length */ | 226 | ulint len) /*!< in: length */ |
1439 | @@ -243,9 +235,8 @@ | |||
1440 | 243 | /***********************************************************//** | 235 | /***********************************************************//** |
1441 | 244 | Looks for a prime number slightly greater than the given argument. | 236 | Looks for a prime number slightly greater than the given argument. |
1442 | 245 | The prime is chosen so that it is not near any power of 2. | 237 | The prime is chosen so that it is not near any power of 2. |
1446 | 246 | diff -ruN a/storage/innobase/include/ut0rnd.ic b/storage/innobase/include/ut0rnd.ic | 238 | --- a/storage/innobase/include/ut0rnd.ic |
1447 | 247 | --- a/storage/innobase/include/ut0rnd.ic 2010-11-03 07:01:13.000000000 +0900 | 239 | +++ b/storage/innobase/include/ut0rnd.ic |
1445 | 248 | +++ b/storage/innobase/include/ut0rnd.ic 2010-12-04 15:53:45.050565975 +0900 | ||
1448 | 249 | @@ -226,3 +226,28 @@ | 240 | @@ -226,3 +226,28 @@ |
1449 | 250 | 241 | ||
1450 | 251 | return(fold); | 242 | return(fold); |
1451 | @@ -275,9 +266,8 @@ | |||
1452 | 275 | + | 266 | + |
1453 | 276 | + return(fold); | 267 | + return(fold); |
1454 | 277 | +} | 268 | +} |
1458 | 278 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 269 | --- a/storage/innobase/srv/srv0srv.c |
1459 | 279 | --- a/storage/innobase/srv/srv0srv.c 2010-12-04 15:52:23.498513634 +0900 | 270 | +++ b/storage/innobase/srv/srv0srv.c |
1457 | 280 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-04 15:53:45.053550283 +0900 | ||
1460 | 281 | @@ -414,6 +414,7 @@ | 271 | @@ -414,6 +414,7 @@ |
1461 | 282 | 272 | ||
1462 | 283 | UNIV_INTERN ibool srv_use_doublewrite_buf = TRUE; | 273 | UNIV_INTERN ibool srv_use_doublewrite_buf = TRUE; |
1463 | 284 | 274 | ||
1464 | === modified file 'patches/innodb_files_extend.patch' | |||
1465 | --- patches/innodb_files_extend.patch 2011-07-22 16:56:42 +0000 | |||
1466 | +++ patches/innodb_files_extend.patch 2011-07-27 11:32:35 +0000 | |||
1467 | @@ -5,9 +5,8 @@ | |||
1468 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
1469 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
1470 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
1474 | 8 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 8 | --- a/storage/innobase/fil/fil0fil.c |
1475 | 9 | --- a/storage/innobase/fil/fil0fil.c 2010-12-04 15:55:21.358513751 +0900 | 9 | +++ b/storage/innobase/fil/fil0fil.c |
1473 | 10 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-04 15:55:58.243481131 +0900 | ||
1476 | 11 | @@ -731,7 +731,7 @@ | 10 | @@ -731,7 +731,7 @@ |
1477 | 12 | ut_a(space->purpose != FIL_LOG); | 11 | ut_a(space->purpose != FIL_LOG); |
1478 | 13 | ut_a(!trx_sys_sys_space(space->id)); | 12 | ut_a(!trx_sys_sys_space(space->id)); |
1479 | @@ -48,9 +47,8 @@ | |||
1480 | 48 | ut_ad(fil_validate_skip()); | 47 | ut_ad(fil_validate_skip()); |
1481 | 49 | #ifndef UNIV_HOTBACKUP | 48 | #ifndef UNIV_HOTBACKUP |
1482 | 50 | # ifndef UNIV_LOG_DEBUG | 49 | # ifndef UNIV_LOG_DEBUG |
1486 | 51 | diff -ruN a/storage/innobase/fsp/fsp0fsp.c b/storage/innobase/fsp/fsp0fsp.c | 50 | --- a/storage/innobase/fsp/fsp0fsp.c |
1487 | 52 | --- a/storage/innobase/fsp/fsp0fsp.c 2010-12-04 15:52:23.411513754 +0900 | 51 | +++ b/storage/innobase/fsp/fsp0fsp.c |
1485 | 53 | +++ b/storage/innobase/fsp/fsp0fsp.c 2010-12-04 15:55:58.244514273 +0900 | ||
1488 | 54 | @@ -656,16 +656,18 @@ | 52 | @@ -656,16 +656,18 @@ |
1489 | 55 | 0 for uncompressed pages */ | 53 | 0 for uncompressed pages */ |
1490 | 56 | ulint offset) /*!< in: page offset */ | 54 | ulint offset) /*!< in: page offset */ |
1491 | @@ -99,9 +97,8 @@ | |||
1492 | 99 | 97 | ||
1493 | 100 | if (UNIV_UNLIKELY(init_xdes)) { | 98 | if (UNIV_UNLIKELY(init_xdes)) { |
1494 | 101 | 99 | ||
1498 | 102 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 100 | --- a/storage/innobase/handler/ha_innodb.cc |
1499 | 103 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:55:21.367482924 +0900 | 101 | +++ b/storage/innobase/handler/ha_innodb.cc |
1497 | 104 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:55:58.248549631 +0900 | ||
1500 | 105 | @@ -148,6 +148,9 @@ | 102 | @@ -148,6 +148,9 @@ |
1501 | 106 | static ulong innobase_write_io_threads; | 103 | static ulong innobase_write_io_threads; |
1502 | 107 | static long innobase_buffer_pool_instances = 1; | 104 | static long innobase_buffer_pool_instances = 1; |
1503 | @@ -217,9 +214,8 @@ | |||
1504 | 217 | MYSQL_SYSVAR(additional_mem_pool_size), | 214 | MYSQL_SYSVAR(additional_mem_pool_size), |
1505 | 218 | MYSQL_SYSVAR(autoextend_increment), | 215 | MYSQL_SYSVAR(autoextend_increment), |
1506 | 219 | MYSQL_SYSVAR(buffer_pool_size), | 216 | MYSQL_SYSVAR(buffer_pool_size), |
1510 | 220 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 217 | --- a/storage/innobase/include/buf0buf.h |
1511 | 221 | --- a/storage/innobase/include/buf0buf.h 2010-12-04 15:55:21.375482937 +0900 | 218 | +++ b/storage/innobase/include/buf0buf.h |
1509 | 222 | +++ b/storage/innobase/include/buf0buf.h 2010-12-04 15:55:58.258469088 +0900 | ||
1512 | 223 | @@ -1683,7 +1683,7 @@ | 219 | @@ -1683,7 +1683,7 @@ |
1513 | 224 | time_t last_printout_time; | 220 | time_t last_printout_time; |
1514 | 225 | /*!< when buf_print_io was last time | 221 | /*!< when buf_print_io was last time |
1515 | @@ -251,9 +247,8 @@ | |||
1516 | 251 | #if BUF_BUDDY_LOW > PAGE_ZIP_MIN_SIZE | 247 | #if BUF_BUDDY_LOW > PAGE_ZIP_MIN_SIZE |
1517 | 252 | # error "BUF_BUDDY_LOW > PAGE_ZIP_MIN_SIZE" | 248 | # error "BUF_BUDDY_LOW > PAGE_ZIP_MIN_SIZE" |
1518 | 253 | #endif | 249 | #endif |
1522 | 254 | diff -ruN a/storage/innobase/include/buf0types.h b/storage/innobase/include/buf0types.h | 250 | --- a/storage/innobase/include/buf0types.h |
1523 | 255 | --- a/storage/innobase/include/buf0types.h 2010-11-03 07:01:13.000000000 +0900 | 251 | +++ b/storage/innobase/include/buf0types.h |
1521 | 256 | +++ b/storage/innobase/include/buf0types.h 2010-12-04 15:55:58.259482590 +0900 | ||
1524 | 257 | @@ -72,12 +72,13 @@ | 252 | @@ -72,12 +72,13 @@ |
1525 | 258 | buddy system; must be at least | 253 | buddy system; must be at least |
1526 | 259 | sizeof(buf_page_t) */ | 254 | sizeof(buf_page_t) */ |
1527 | @@ -269,9 +264,8 @@ | |||
1528 | 269 | /* @} */ | 264 | /* @} */ |
1529 | 270 | 265 | ||
1530 | 271 | #endif | 266 | #endif |
1534 | 272 | diff -ruN a/storage/innobase/include/fsp0types.h b/storage/innobase/include/fsp0types.h | 267 | --- a/storage/innobase/include/fsp0types.h |
1535 | 273 | --- a/storage/innobase/include/fsp0types.h 2010-12-04 02:58:26.000000000 +0900 | 268 | +++ b/storage/innobase/include/fsp0types.h |
1533 | 274 | +++ b/storage/innobase/include/fsp0types.h 2011-02-03 15:14:21.000000000 +0900 | ||
1536 | 275 | @@ -42,7 +42,7 @@ | 269 | @@ -42,7 +42,7 @@ |
1537 | 276 | /* @} */ | 270 | /* @} */ |
1538 | 277 | 271 | ||
1539 | @@ -281,9 +275,8 @@ | |||
1540 | 281 | 275 | ||
1541 | 282 | /** On a page of any file segment, data may be put starting from this | 276 | /** On a page of any file segment, data may be put starting from this |
1542 | 283 | offset */ | 277 | offset */ |
1546 | 284 | diff -ruN a/storage/innobase/include/log0log.h b/storage/innobase/include/log0log.h | 278 | --- a/storage/innobase/include/log0log.h |
1547 | 285 | --- a/storage/innobase/include/log0log.h 2010-11-03 07:01:13.000000000 +0900 | 279 | +++ b/storage/innobase/include/log0log.h |
1545 | 286 | +++ b/storage/innobase/include/log0log.h 2010-12-09 18:16:47.737728305 +0900 | ||
1548 | 287 | @@ -672,6 +672,9 @@ | 280 | @@ -672,6 +672,9 @@ |
1549 | 288 | when mysqld is first time started | 281 | when mysqld is first time started |
1550 | 289 | on the restored database, it can | 282 | on the restored database, it can |
1551 | @@ -294,9 +287,8 @@ | |||
1552 | 294 | #define LOG_FILE_ARCH_COMPLETED OS_FILE_LOG_BLOCK_SIZE | 287 | #define LOG_FILE_ARCH_COMPLETED OS_FILE_LOG_BLOCK_SIZE |
1553 | 295 | /* this 4-byte field is TRUE when | 288 | /* this 4-byte field is TRUE when |
1554 | 296 | the writing of an archived log file | 289 | the writing of an archived log file |
1558 | 297 | diff -ruN a/storage/innobase/include/mtr0log.ic b/storage/innobase/include/mtr0log.ic | 290 | --- a/storage/innobase/include/mtr0log.ic |
1559 | 298 | --- a/storage/innobase/include/mtr0log.ic 2010-12-04 15:37:50.590551517 +0900 | 291 | +++ b/storage/innobase/include/mtr0log.ic |
1557 | 299 | +++ b/storage/innobase/include/mtr0log.ic 2010-12-04 15:55:58.260482404 +0900 | ||
1560 | 300 | @@ -203,7 +203,7 @@ | 292 | @@ -203,7 +203,7 @@ |
1561 | 301 | system tablespace */ | 293 | system tablespace */ |
1562 | 302 | if ((space == TRX_SYS_SPACE | 294 | if ((space == TRX_SYS_SPACE |
1563 | @@ -306,9 +298,8 @@ | |||
1564 | 306 | if (trx_doublewrite_buf_is_being_created) { | 298 | if (trx_doublewrite_buf_is_being_created) { |
1565 | 307 | /* Do nothing: we only come to this branch in an | 299 | /* Do nothing: we only come to this branch in an |
1566 | 308 | InnoDB database creation. We do not redo log | 300 | InnoDB database creation. We do not redo log |
1570 | 309 | diff -ruN a/storage/innobase/include/os0file.h b/storage/innobase/include/os0file.h | 301 | --- a/storage/innobase/include/os0file.h |
1571 | 310 | --- a/storage/innobase/include/os0file.h 2010-12-09 18:16:02.323727427 +0900 | 302 | +++ b/storage/innobase/include/os0file.h |
1569 | 311 | +++ b/storage/innobase/include/os0file.h 2010-12-09 18:16:47.738694194 +0900 | ||
1572 | 312 | @@ -101,7 +101,7 @@ | 303 | @@ -101,7 +101,7 @@ |
1573 | 313 | if this fails for a log block, then it is equivalent to a media failure in the | 304 | if this fails for a log block, then it is equivalent to a media failure in the |
1574 | 314 | log. */ | 305 | log. */ |
1575 | @@ -327,9 +318,8 @@ | |||
1576 | 327 | #ifdef UNIV_PFS_IO | 318 | #ifdef UNIV_PFS_IO |
1577 | 328 | /* Keys to register InnoDB I/O with performance schema */ | 319 | /* Keys to register InnoDB I/O with performance schema */ |
1578 | 329 | extern mysql_pfs_key_t innodb_file_data_key; | 320 | extern mysql_pfs_key_t innodb_file_data_key; |
1582 | 330 | diff -ruN a/storage/innobase/include/page0types.h b/storage/innobase/include/page0types.h | 321 | --- a/storage/innobase/include/page0types.h |
1583 | 331 | --- a/storage/innobase/include/page0types.h 2010-11-03 07:01:13.000000000 +0900 | 322 | +++ b/storage/innobase/include/page0types.h |
1581 | 332 | +++ b/storage/innobase/include/page0types.h 2010-12-04 15:55:58.261483930 +0900 | ||
1584 | 333 | @@ -56,8 +56,9 @@ | 323 | @@ -56,8 +56,9 @@ |
1585 | 334 | 324 | ||
1586 | 335 | /** Number of supported compressed page sizes */ | 325 | /** Number of supported compressed page sizes */ |
1587 | @@ -351,9 +341,8 @@ | |||
1588 | 351 | 341 | ||
1589 | 352 | /**********************************************************************//** | 342 | /**********************************************************************//** |
1590 | 353 | Write the "deleted" flag of a record on a compressed page. The flag must | 343 | Write the "deleted" flag of a record on a compressed page. The flag must |
1594 | 354 | diff -ruN a/storage/innobase/include/trx0sys.h b/storage/innobase/include/trx0sys.h | 344 | --- a/storage/innobase/include/trx0sys.h |
1595 | 355 | --- a/storage/innobase/include/trx0sys.h 2010-12-04 15:37:50.593480594 +0900 | 345 | +++ b/storage/innobase/include/trx0sys.h |
1593 | 356 | +++ b/storage/innobase/include/trx0sys.h 2010-12-04 15:55:58.262549554 +0900 | ||
1596 | 357 | @@ -515,9 +515,9 @@ | 346 | @@ -515,9 +515,9 @@ |
1597 | 358 | /** Contents of TRX_SYS_MYSQL_LOG_MAGIC_N_FLD */ | 347 | /** Contents of TRX_SYS_MYSQL_LOG_MAGIC_N_FLD */ |
1598 | 359 | #define TRX_SYS_MYSQL_LOG_MAGIC_N 873422344 | 348 | #define TRX_SYS_MYSQL_LOG_MAGIC_N 873422344 |
1599 | @@ -367,9 +356,8 @@ | |||
1600 | 367 | /** The offset of the MySQL replication info in the trx system header; | 356 | /** The offset of the MySQL replication info in the trx system header; |
1601 | 368 | this contains the same fields as TRX_SYS_MYSQL_LOG_INFO below */ | 357 | this contains the same fields as TRX_SYS_MYSQL_LOG_INFO below */ |
1602 | 369 | #define TRX_SYS_MYSQL_MASTER_LOG_INFO (UNIV_PAGE_SIZE - 2000) | 358 | #define TRX_SYS_MYSQL_MASTER_LOG_INFO (UNIV_PAGE_SIZE - 2000) |
1606 | 370 | diff -ruN a/storage/innobase/include/univ.i b/storage/innobase/include/univ.i | 359 | --- a/storage/innobase/include/univ.i |
1607 | 371 | --- a/storage/innobase/include/univ.i 2010-11-03 07:01:13.000000000 +0900 | 360 | +++ b/storage/innobase/include/univ.i |
1605 | 372 | +++ b/storage/innobase/include/univ.i 2010-12-04 15:55:58.263549721 +0900 | ||
1608 | 373 | @@ -311,9 +311,13 @@ | 361 | @@ -311,9 +311,13 @@ |
1609 | 374 | */ | 362 | */ |
1610 | 375 | 363 | ||
1611 | @@ -402,9 +390,8 @@ | |||
1612 | 402 | +extern ulint srv_page_size_shift; | 390 | +extern ulint srv_page_size_shift; |
1613 | 403 | +extern ulint srv_page_size; | 391 | +extern ulint srv_page_size; |
1614 | 404 | #endif | 392 | #endif |
1618 | 405 | diff -ruN a/storage/innobase/log/log0log.c b/storage/innobase/log/log0log.c | 393 | --- a/storage/innobase/log/log0log.c |
1619 | 406 | --- a/storage/innobase/log/log0log.c 2010-12-03 15:18:48.899986203 +0900 | 394 | +++ b/storage/innobase/log/log0log.c |
1617 | 407 | +++ b/storage/innobase/log/log0log.c 2010-12-04 15:55:58.266551567 +0900 | ||
1620 | 408 | @@ -604,7 +604,9 @@ | 395 | @@ -604,7 +604,9 @@ |
1621 | 409 | 396 | ||
1622 | 410 | offset = (gr_lsn_size_offset + difference) % group_size; | 397 | offset = (gr_lsn_size_offset + difference) % group_size; |
1623 | @@ -455,9 +442,8 @@ | |||
1624 | 455 | #endif /* UNIV_LOG_ARCHIVE */ | 442 | #endif /* UNIV_LOG_ARCHIVE */ |
1625 | 456 | 443 | ||
1626 | 457 | for (i = 0; i < LOG_MAX_N_GROUPS; i++) { | 444 | for (i = 0; i < LOG_MAX_N_GROUPS; i++) { |
1630 | 458 | diff -ruN a/storage/innobase/log/log0recv.c b/storage/innobase/log/log0recv.c | 445 | --- a/storage/innobase/log/log0recv.c |
1631 | 459 | --- a/storage/innobase/log/log0recv.c 2010-12-03 17:32:15.638986405 +0900 | 446 | +++ b/storage/innobase/log/log0recv.c |
1629 | 460 | +++ b/storage/innobase/log/log0recv.c 2010-12-04 15:55:58.269550689 +0900 | ||
1632 | 461 | @@ -712,8 +712,22 @@ | 447 | @@ -712,8 +712,22 @@ |
1633 | 462 | 448 | ||
1634 | 463 | group->lsn = mach_read_from_8( | 449 | group->lsn = mach_read_from_8( |
1635 | @@ -511,9 +497,8 @@ | |||
1636 | 511 | #ifdef UNIV_LOG_ARCHIVE | 497 | #ifdef UNIV_LOG_ARCHIVE |
1637 | 512 | group = UT_LIST_GET_FIRST(log_sys->log_groups); | 498 | group = UT_LIST_GET_FIRST(log_sys->log_groups); |
1638 | 513 | 499 | ||
1642 | 514 | diff -ruN a/storage/innobase/page/page0zip.c b/storage/innobase/page/page0zip.c | 500 | --- a/storage/innobase/page/page0zip.c |
1643 | 515 | --- a/storage/innobase/page/page0zip.c 2010-12-04 15:52:23.484482786 +0900 | 501 | +++ b/storage/innobase/page/page0zip.c |
1641 | 516 | +++ b/storage/innobase/page/page0zip.c 2010-12-04 15:55:58.274551431 +0900 | ||
1644 | 517 | @@ -49,7 +49,7 @@ | 502 | @@ -49,7 +49,7 @@ |
1645 | 518 | 503 | ||
1646 | 519 | #ifndef UNIV_HOTBACKUP | 504 | #ifndef UNIV_HOTBACKUP |
1647 | @@ -523,9 +508,8 @@ | |||
1648 | 523 | #endif /* !UNIV_HOTBACKUP */ | 508 | #endif /* !UNIV_HOTBACKUP */ |
1649 | 524 | 509 | ||
1650 | 525 | /* Please refer to ../include/page0zip.ic for a description of the | 510 | /* Please refer to ../include/page0zip.ic for a description of the |
1654 | 526 | diff -ruN a/storage/innobase/row/row0merge.c b/storage/innobase/row/row0merge.c | 511 | --- a/storage/innobase/row/row0merge.c |
1655 | 527 | --- a/storage/innobase/row/row0merge.c 2010-12-04 15:52:23.490513562 +0900 | 512 | +++ b/storage/innobase/row/row0merge.c |
1653 | 528 | +++ b/storage/innobase/row/row0merge.c 2010-12-04 15:55:58.277550562 +0900 | ||
1656 | 529 | @@ -97,7 +97,7 @@ | 513 | @@ -97,7 +97,7 @@ |
1657 | 530 | row_merge_block_t. Thus, it must be able to hold one merge record, | 514 | row_merge_block_t. Thus, it must be able to hold one merge record, |
1658 | 531 | whose maximum size is the same as the minimum size of | 515 | whose maximum size is the same as the minimum size of |
1659 | @@ -535,9 +519,8 @@ | |||
1660 | 535 | 519 | ||
1661 | 536 | /** @brief Merge record in row_merge_block_t. | 520 | /** @brief Merge record in row_merge_block_t. |
1662 | 537 | 521 | ||
1666 | 538 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 522 | --- a/storage/innobase/srv/srv0srv.c |
1667 | 539 | --- a/storage/innobase/srv/srv0srv.c 2010-12-04 15:55:21.384486344 +0900 | 523 | +++ b/storage/innobase/srv/srv0srv.c |
1665 | 540 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-04 15:55:58.282550845 +0900 | ||
1668 | 541 | @@ -234,6 +234,13 @@ | 524 | @@ -234,6 +234,13 @@ |
1669 | 542 | UNIV_INTERN ulint srv_n_read_io_threads = ULINT_MAX; | 525 | UNIV_INTERN ulint srv_n_read_io_threads = ULINT_MAX; |
1670 | 543 | UNIV_INTERN ulint srv_n_write_io_threads = ULINT_MAX; | 526 | UNIV_INTERN ulint srv_n_write_io_threads = ULINT_MAX; |
1671 | @@ -552,9 +535,8 @@ | |||
1672 | 552 | /* User settable value of the number of pages that must be present | 535 | /* User settable value of the number of pages that must be present |
1673 | 553 | in the buffer cache and accessed sequentially for InnoDB to trigger a | 536 | in the buffer cache and accessed sequentially for InnoDB to trigger a |
1674 | 554 | readahead request. */ | 537 | readahead request. */ |
1678 | 555 | diff -ruN a/storage/innobase/srv/srv0start.c b/storage/innobase/srv/srv0start.c | 538 | --- a/storage/innobase/srv/srv0start.c |
1679 | 556 | --- a/storage/innobase/srv/srv0start.c 2010-12-04 15:52:23.502513556 +0900 | 539 | +++ b/storage/innobase/srv/srv0start.c |
1677 | 557 | +++ b/storage/innobase/srv/srv0start.c 2010-12-04 15:55:58.285550583 +0900 | ||
1680 | 558 | @@ -1561,11 +1561,13 @@ | 540 | @@ -1561,11 +1561,13 @@ |
1681 | 559 | } | 541 | } |
1682 | 560 | #endif /* UNIV_LOG_ARCHIVE */ | 542 | #endif /* UNIV_LOG_ARCHIVE */ |
1683 | 561 | 543 | ||
1684 | === modified file 'patches/innodb_fix_misc.patch' | |||
1685 | --- patches/innodb_fix_misc.patch 2011-07-22 16:56:42 +0000 | |||
1686 | +++ patches/innodb_fix_misc.patch 2011-07-27 11:32:35 +0000 | |||
1687 | @@ -10,9 +10,8 @@ | |||
1688 | 10 | #!!! notice !!! | 10 | #!!! notice !!! |
1689 | 11 | # Any small change to this file in the main branch | 11 | # Any small change to this file in the main branch |
1690 | 12 | # should be done or reviewed by the maintainer! | 12 | # should be done or reviewed by the maintainer! |
1694 | 13 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 13 | --- a/storage/innobase/buf/buf0buf.c |
1695 | 14 | --- a/storage/innobase/buf/buf0buf.c 2011-02-23 19:00:48.178696354 +0900 | 14 | +++ b/storage/innobase/buf/buf0buf.c |
1693 | 15 | +++ b/storage/innobase/buf/buf0buf.c 2011-02-23 19:01:19.138826278 +0900 | ||
1696 | 16 | @@ -4084,6 +4084,7 @@ | 15 | @@ -4084,6 +4084,7 @@ |
1697 | 17 | bpage->state = BUF_BLOCK_ZIP_PAGE; | 16 | bpage->state = BUF_BLOCK_ZIP_PAGE; |
1698 | 18 | bpage->space = space; | 17 | bpage->space = space; |
1699 | @@ -21,9 +20,8 @@ | |||
1700 | 21 | 20 | ||
1701 | 22 | 21 | ||
1702 | 23 | #ifdef UNIV_DEBUG | 22 | #ifdef UNIV_DEBUG |
1706 | 24 | diff -ruN a/storage/innobase/buf/buf0flu.c b/storage/innobase/buf/buf0flu.c | 23 | --- a/storage/innobase/buf/buf0flu.c |
1707 | 25 | --- a/storage/innobase/buf/buf0flu.c 2011-02-23 19:00:48.182659256 +0900 | 24 | +++ b/storage/innobase/buf/buf0flu.c |
1705 | 26 | +++ b/storage/innobase/buf/buf0flu.c 2011-02-23 19:01:19.138826278 +0900 | ||
1708 | 27 | @@ -439,7 +439,7 @@ | 25 | @@ -439,7 +439,7 @@ |
1709 | 28 | 26 | ||
1710 | 29 | if (UNIV_LIKELY(bpage->in_LRU_list && buf_page_in_file(bpage))) { | 27 | if (UNIV_LIKELY(bpage->in_LRU_list && buf_page_in_file(bpage))) { |
1711 | @@ -47,9 +45,8 @@ | |||
1712 | 47 | if (flush_type != BUF_FLUSH_LRU) { | 45 | if (flush_type != BUF_FLUSH_LRU) { |
1713 | 48 | 46 | ||
1714 | 49 | return(TRUE); | 47 | return(TRUE); |
1718 | 50 | diff -ruN a/storage/innobase/buf/buf0lru.c b/storage/innobase/buf/buf0lru.c | 48 | --- a/storage/innobase/buf/buf0lru.c |
1719 | 51 | --- a/storage/innobase/buf/buf0lru.c 2011-02-23 19:00:47.939695791 +0900 | 49 | +++ b/storage/innobase/buf/buf0lru.c |
1717 | 52 | +++ b/storage/innobase/buf/buf0lru.c 2011-02-23 19:01:19.142741970 +0900 | ||
1720 | 53 | @@ -574,6 +574,37 @@ | 50 | @@ -574,6 +574,37 @@ |
1721 | 54 | } | 51 | } |
1722 | 55 | } | 52 | } |
1723 | @@ -99,9 +96,8 @@ | |||
1724 | 99 | #ifdef UNIV_IBUF_COUNT_DEBUG | 96 | #ifdef UNIV_IBUF_COUNT_DEBUG |
1725 | 100 | ut_a(ibuf_count_get(bpage->space, bpage->offset) == 0); | 97 | ut_a(ibuf_count_get(bpage->space, bpage->offset) == 0); |
1726 | 101 | #endif /* UNIV_IBUF_COUNT_DEBUG */ | 98 | #endif /* UNIV_IBUF_COUNT_DEBUG */ |
1730 | 102 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 99 | --- a/storage/innobase/fil/fil0fil.c |
1731 | 103 | --- a/storage/innobase/fil/fil0fil.c 2011-02-23 19:00:48.223696428 +0900 | 100 | +++ b/storage/innobase/fil/fil0fil.c |
1729 | 104 | +++ b/storage/innobase/fil/fil0fil.c 2011-02-23 19:01:19.147655510 +0900 | ||
1732 | 105 | @@ -254,6 +254,7 @@ | 101 | @@ -254,6 +254,7 @@ |
1733 | 106 | struct fil_system_struct { | 102 | struct fil_system_struct { |
1734 | 107 | #ifndef UNIV_HOTBACKUP | 103 | #ifndef UNIV_HOTBACKUP |
1735 | @@ -300,9 +296,8 @@ | |||
1736 | 300 | } | 296 | } |
1737 | 301 | 297 | ||
1738 | 302 | ut_a(ret); | 298 | ut_a(ret); |
1742 | 303 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 299 | --- a/storage/innobase/handler/ha_innodb.cc |
1743 | 304 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:57:13.035513990 +0900 | 300 | +++ b/storage/innobase/handler/ha_innodb.cc |
1741 | 305 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:57:53.084513775 +0900 | ||
1744 | 306 | @@ -12007,6 +12007,12 @@ | 301 | @@ -12007,6 +12007,12 @@ |
1745 | 307 | "except for the deletion.", | 302 | "except for the deletion.", |
1746 | 308 | NULL, NULL, 0, &corrupt_table_action_typelib); | 303 | NULL, NULL, 0, &corrupt_table_action_typelib); |
1747 | @@ -333,9 +328,8 @@ | |||
1748 | 333 | PLUGIN_LICENSE_GPL, | 328 | PLUGIN_LICENSE_GPL, |
1749 | 334 | innobase_init, /* Plugin Init */ | 329 | innobase_init, /* Plugin Init */ |
1750 | 335 | NULL, /* Plugin Deinit */ | 330 | NULL, /* Plugin Deinit */ |
1754 | 336 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 331 | --- a/storage/innobase/include/buf0buf.h |
1755 | 337 | --- a/storage/innobase/include/buf0buf.h 2011-02-23 19:00:48.252696774 +0900 | 332 | +++ b/storage/innobase/include/buf0buf.h |
1753 | 338 | +++ b/storage/innobase/include/buf0buf.h 2011-02-23 19:01:19.182655902 +0900 | ||
1756 | 339 | @@ -1438,6 +1438,7 @@ | 333 | @@ -1438,6 +1438,7 @@ |
1757 | 340 | 0 if the block was never accessed | 334 | 0 if the block was never accessed |
1758 | 341 | in the buffer pool */ | 335 | in the buffer pool */ |
1759 | @@ -344,9 +338,8 @@ | |||
1760 | 344 | ibool is_corrupt; | 338 | ibool is_corrupt; |
1761 | 345 | # if defined UNIV_DEBUG_FILE_ACCESSES || defined UNIV_DEBUG | 339 | # if defined UNIV_DEBUG_FILE_ACCESSES || defined UNIV_DEBUG |
1762 | 346 | ibool file_page_was_freed; | 340 | ibool file_page_was_freed; |
1766 | 347 | diff -ruN a/storage/innobase/include/buf0buf.ic b/storage/innobase/include/buf0buf.ic | 341 | --- a/storage/innobase/include/buf0buf.ic |
1767 | 348 | --- a/storage/innobase/include/buf0buf.ic 2011-02-23 19:00:48.130659154 +0900 | 342 | +++ b/storage/innobase/include/buf0buf.ic |
1765 | 349 | +++ b/storage/innobase/include/buf0buf.ic 2011-02-23 19:01:19.185655906 +0900 | ||
1768 | 350 | @@ -408,6 +408,7 @@ | 343 | @@ -408,6 +408,7 @@ |
1769 | 351 | buf_block_set_state(block, BUF_BLOCK_FILE_PAGE); | 344 | buf_block_set_state(block, BUF_BLOCK_FILE_PAGE); |
1770 | 352 | block->page.space = space; | 345 | block->page.space = space; |
1771 | @@ -355,9 +348,8 @@ | |||
1772 | 355 | } | 348 | } |
1773 | 356 | 349 | ||
1774 | 357 | /*********************************************************************//** | 350 | /*********************************************************************//** |
1778 | 358 | diff -ruN a/storage/innobase/include/buf0lru.h b/storage/innobase/include/buf0lru.h | 351 | --- a/storage/innobase/include/buf0lru.h |
1779 | 359 | --- a/storage/innobase/include/buf0lru.h 2011-02-23 19:00:47.977658923 +0900 | 352 | +++ b/storage/innobase/include/buf0lru.h |
1777 | 360 | +++ b/storage/innobase/include/buf0lru.h 2011-02-23 19:01:19.188625768 +0900 | ||
1780 | 361 | @@ -85,6 +85,13 @@ | 353 | @@ -85,6 +85,13 @@ |
1781 | 362 | buf_LRU_invalidate_tablespace( | 354 | buf_LRU_invalidate_tablespace( |
1782 | 363 | /*==========================*/ | 355 | /*==========================*/ |
1783 | @@ -372,9 +364,8 @@ | |||
1784 | 372 | /********************************************************************//** | 364 | /********************************************************************//** |
1785 | 373 | Insert a compressed block into buf_pool->zip_clean in the LRU order. */ | 365 | Insert a compressed block into buf_pool->zip_clean in the LRU order. */ |
1786 | 374 | UNIV_INTERN | 366 | UNIV_INTERN |
1790 | 375 | diff -ruN a/storage/innobase/include/os0file.h b/storage/innobase/include/os0file.h | 367 | --- a/storage/innobase/include/os0file.h |
1791 | 376 | --- a/storage/innobase/include/os0file.h 2011-02-23 19:00:48.260696646 +0900 | 368 | +++ b/storage/innobase/include/os0file.h |
1789 | 377 | +++ b/storage/innobase/include/os0file.h 2011-02-23 19:01:19.190656054 +0900 | ||
1792 | 378 | @@ -280,9 +280,9 @@ | 369 | @@ -280,9 +280,9 @@ |
1793 | 379 | pfs_os_file_close_func(file, __FILE__, __LINE__) | 370 | pfs_os_file_close_func(file, __FILE__, __LINE__) |
1794 | 380 | 371 | ||
1795 | @@ -445,9 +436,8 @@ | |||
1796 | 445 | #endif /* LINUX_NATIVE_AIO */ | 436 | #endif /* LINUX_NATIVE_AIO */ |
1797 | 446 | 437 | ||
1798 | 447 | #ifndef UNIV_NONINL | 438 | #ifndef UNIV_NONINL |
1802 | 448 | diff -ruN a/storage/innobase/include/os0file.ic b/storage/innobase/include/os0file.ic | 439 | --- a/storage/innobase/include/os0file.ic |
1803 | 449 | --- a/storage/innobase/include/os0file.ic 2011-02-23 19:00:47.915696756 +0900 | 440 | +++ b/storage/innobase/include/os0file.ic |
1801 | 450 | +++ b/storage/innobase/include/os0file.ic 2011-02-23 19:01:19.191625891 +0900 | ||
1804 | 451 | @@ -229,6 +229,7 @@ | 441 | @@ -229,6 +229,7 @@ |
1805 | 452 | (can be used to identify a completed | 442 | (can be used to identify a completed |
1806 | 453 | aio operation); ignored if mode is | 443 | aio operation); ignored if mode is |
1807 | @@ -465,9 +455,8 @@ | |||
1808 | 465 | 455 | ||
1809 | 466 | register_pfs_file_io_end(locker, n); | 456 | register_pfs_file_io_end(locker, n); |
1810 | 467 | 457 | ||
1814 | 468 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 458 | --- a/storage/innobase/include/srv0srv.h |
1815 | 469 | --- a/storage/innobase/include/srv0srv.h 2011-02-23 19:00:48.212625715 +0900 | 459 | +++ b/storage/innobase/include/srv0srv.h |
1813 | 470 | +++ b/storage/innobase/include/srv0srv.h 2011-02-23 19:01:19.193655990 +0900 | ||
1816 | 471 | @@ -244,6 +244,8 @@ | 460 | @@ -244,6 +244,8 @@ |
1817 | 472 | extern ulint srv_pass_corrupt_table; | 461 | extern ulint srv_pass_corrupt_table; |
1818 | 473 | 462 | ||
1819 | @@ -477,9 +466,8 @@ | |||
1820 | 477 | /*-------------------------------------------*/ | 466 | /*-------------------------------------------*/ |
1821 | 478 | 467 | ||
1822 | 479 | extern ulint srv_n_rows_inserted; | 468 | extern ulint srv_n_rows_inserted; |
1826 | 480 | diff -ruN a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h | 469 | --- a/storage/innobase/include/sync0sync.h |
1827 | 481 | --- a/storage/innobase/include/sync0sync.h 2011-02-23 19:00:47.875625940 +0900 | 470 | +++ b/storage/innobase/include/sync0sync.h |
1825 | 482 | +++ b/storage/innobase/include/sync0sync.h 2011-02-23 19:01:19.195703856 +0900 | ||
1828 | 483 | @@ -691,6 +691,7 @@ | 471 | @@ -691,6 +691,7 @@ |
1829 | 484 | #define SYNC_BUF_POOL 150 /* Buffer pool mutex */ | 472 | #define SYNC_BUF_POOL 150 /* Buffer pool mutex */ |
1830 | 485 | #define SYNC_BUF_FLUSH_LIST 145 /* Buffer flush list mutex */ | 473 | #define SYNC_BUF_FLUSH_LIST 145 /* Buffer flush list mutex */ |
1831 | @@ -488,9 +476,8 @@ | |||
1832 | 488 | #define SYNC_ANY_LATCH 135 | 476 | #define SYNC_ANY_LATCH 135 |
1833 | 489 | #define SYNC_THR_LOCAL 133 | 477 | #define SYNC_THR_LOCAL 133 |
1834 | 490 | #define SYNC_MEM_HASH 131 | 478 | #define SYNC_MEM_HASH 131 |
1838 | 491 | diff -ruN a/storage/innobase/include/univ.i b/storage/innobase/include/univ.i | 479 | --- a/storage/innobase/include/univ.i |
1839 | 492 | --- a/storage/innobase/include/univ.i 2010-12-04 15:57:13.050485224 +0900 | 480 | +++ b/storage/innobase/include/univ.i |
1837 | 493 | +++ b/storage/innobase/include/univ.i 2010-12-04 15:57:53.091592933 +0900 | ||
1840 | 494 | @@ -53,6 +53,11 @@ | 481 | @@ -53,6 +53,11 @@ |
1841 | 495 | #define INNODB_VERSION_MINOR 1 | 482 | #define INNODB_VERSION_MINOR 1 |
1842 | 496 | #define INNODB_VERSION_BUGFIX 7 | 483 | #define INNODB_VERSION_BUGFIX 7 |
1843 | @@ -513,9 +500,8 @@ | |||
1844 | 513 | 500 | ||
1845 | 514 | #define REFMAN "http://dev.mysql.com/doc/refman/" \ | 501 | #define REFMAN "http://dev.mysql.com/doc/refman/" \ |
1846 | 515 | IB_TO_STR(MYSQL_MAJOR_VERSION) "." \ | 502 | IB_TO_STR(MYSQL_MAJOR_VERSION) "." \ |
1850 | 516 | diff -ruN a/storage/innobase/os/os0file.c b/storage/innobase/os/os0file.c | 503 | --- a/storage/innobase/os/os0file.c |
1851 | 517 | --- a/storage/innobase/os/os0file.c 2011-02-23 19:00:47.928696481 +0900 | 504 | +++ b/storage/innobase/os/os0file.c |
1849 | 518 | +++ b/storage/innobase/os/os0file.c 2011-02-23 19:01:19.200696353 +0900 | ||
1852 | 519 | @@ -180,6 +180,7 @@ | 505 | @@ -180,6 +180,7 @@ |
1853 | 520 | made and only the slot message | 506 | made and only the slot message |
1854 | 521 | needs to be passed to the caller | 507 | needs to be passed to the caller |
1855 | @@ -524,7 +510,7 @@ | |||
1856 | 524 | fil_node_t* message1; /*!< message which is given by the */ | 510 | fil_node_t* message1; /*!< message which is given by the */ |
1857 | 525 | void* message2; /*!< the requester of an aio operation | 511 | void* message2; /*!< the requester of an aio operation |
1858 | 526 | and which can be used to identify | 512 | and which can be used to identify |
1860 | 527 | @@ -3685,7 +3686,8 @@ | 513 | @@ -3686,7 +3687,8 @@ |
1861 | 528 | offset */ | 514 | offset */ |
1862 | 529 | ulint offset_high, /*!< in: most significant 32 bits of | 515 | ulint offset_high, /*!< in: most significant 32 bits of |
1863 | 530 | offset */ | 516 | offset */ |
1864 | @@ -534,7 +520,7 @@ | |||
1865 | 534 | { | 520 | { |
1866 | 535 | os_aio_slot_t* slot = NULL; | 521 | os_aio_slot_t* slot = NULL; |
1867 | 536 | #ifdef WIN_ASYNC_IO | 522 | #ifdef WIN_ASYNC_IO |
1869 | 537 | @@ -3774,6 +3776,7 @@ | 523 | @@ -3775,6 +3777,7 @@ |
1870 | 538 | slot->offset = offset; | 524 | slot->offset = offset; |
1871 | 539 | slot->offset_high = offset_high; | 525 | slot->offset_high = offset_high; |
1872 | 540 | slot->io_already_done = FALSE; | 526 | slot->io_already_done = FALSE; |
1873 | @@ -542,7 +528,7 @@ | |||
1874 | 542 | 528 | ||
1875 | 543 | #ifdef WIN_ASYNC_IO | 529 | #ifdef WIN_ASYNC_IO |
1876 | 544 | control = &(slot->control); | 530 | control = &(slot->control); |
1878 | 545 | @@ -4061,6 +4064,7 @@ | 531 | @@ -4062,6 +4065,7 @@ |
1879 | 546 | (can be used to identify a completed | 532 | (can be used to identify a completed |
1880 | 547 | aio operation); ignored if mode is | 533 | aio operation); ignored if mode is |
1881 | 548 | OS_AIO_SYNC */ | 534 | OS_AIO_SYNC */ |
1882 | @@ -550,7 +536,7 @@ | |||
1883 | 550 | trx_t* trx) | 536 | trx_t* trx) |
1884 | 551 | { | 537 | { |
1885 | 552 | os_aio_array_t* array; | 538 | os_aio_array_t* array; |
1887 | 553 | @@ -4149,7 +4153,7 @@ | 539 | @@ -4150,7 +4154,7 @@ |
1888 | 554 | trx->io_read += n; | 540 | trx->io_read += n; |
1889 | 555 | } | 541 | } |
1890 | 556 | slot = os_aio_array_reserve_slot(type, array, message1, message2, file, | 542 | slot = os_aio_array_reserve_slot(type, array, message1, message2, file, |
1891 | @@ -559,7 +545,7 @@ | |||
1892 | 559 | if (type == OS_FILE_READ) { | 545 | if (type == OS_FILE_READ) { |
1893 | 560 | if (srv_use_native_aio) { | 546 | if (srv_use_native_aio) { |
1894 | 561 | os_n_file_reads++; | 547 | os_n_file_reads++; |
1896 | 562 | @@ -4268,7 +4272,8 @@ | 548 | @@ -4269,7 +4273,8 @@ |
1897 | 563 | parameters are valid and can be used to | 549 | parameters are valid and can be used to |
1898 | 564 | restart the operation, for example */ | 550 | restart the operation, for example */ |
1899 | 565 | void** message2, | 551 | void** message2, |
1900 | @@ -569,7 +555,7 @@ | |||
1901 | 569 | { | 555 | { |
1902 | 570 | ulint orig_seg = segment; | 556 | ulint orig_seg = segment; |
1903 | 571 | os_aio_array_t* array; | 557 | os_aio_array_t* array; |
1905 | 572 | @@ -4347,6 +4352,7 @@ | 558 | @@ -4348,6 +4353,7 @@ |
1906 | 573 | *message2 = slot->message2; | 559 | *message2 = slot->message2; |
1907 | 574 | 560 | ||
1908 | 575 | *type = slot->type; | 561 | *type = slot->type; |
1909 | @@ -577,7 +563,7 @@ | |||
1910 | 577 | 563 | ||
1911 | 578 | if (ret && len == slot->len) { | 564 | if (ret && len == slot->len) { |
1912 | 579 | ret_val = TRUE; | 565 | ret_val = TRUE; |
1914 | 580 | @@ -4575,7 +4581,8 @@ | 566 | @@ -4576,7 +4582,8 @@ |
1915 | 581 | aio operation failed, these output | 567 | aio operation failed, these output |
1916 | 582 | parameters are valid and can be used to | 568 | parameters are valid and can be used to |
1917 | 583 | restart the operation. */ | 569 | restart the operation. */ |
1918 | @@ -587,7 +573,7 @@ | |||
1919 | 587 | { | 573 | { |
1920 | 588 | ulint segment; | 574 | ulint segment; |
1921 | 589 | os_aio_array_t* array; | 575 | os_aio_array_t* array; |
1923 | 590 | @@ -4648,6 +4655,7 @@ | 576 | @@ -4649,6 +4656,7 @@ |
1924 | 591 | *message2 = slot->message2; | 577 | *message2 = slot->message2; |
1925 | 592 | 578 | ||
1926 | 593 | *type = slot->type; | 579 | *type = slot->type; |
1927 | @@ -595,7 +581,7 @@ | |||
1928 | 595 | 581 | ||
1929 | 596 | if ((slot->ret == 0) && (slot->n_bytes == (long)slot->len)) { | 582 | if ((slot->ret == 0) && (slot->n_bytes == (long)slot->len)) { |
1930 | 597 | ret = TRUE; | 583 | ret = TRUE; |
1932 | 598 | @@ -4701,7 +4709,8 @@ | 584 | @@ -4702,7 +4710,8 @@ |
1933 | 599 | parameters are valid and can be used to | 585 | parameters are valid and can be used to |
1934 | 600 | restart the operation, for example */ | 586 | restart the operation, for example */ |
1935 | 601 | void** message2, | 587 | void** message2, |
1936 | @@ -605,7 +591,7 @@ | |||
1937 | 605 | { | 591 | { |
1938 | 606 | os_aio_array_t* array; | 592 | os_aio_array_t* array; |
1939 | 607 | ulint segment; | 593 | ulint segment; |
1941 | 608 | @@ -4997,6 +5006,7 @@ | 594 | @@ -4998,6 +5007,7 @@ |
1942 | 609 | *message2 = slot->message2; | 595 | *message2 = slot->message2; |
1943 | 610 | 596 | ||
1944 | 611 | *type = slot->type; | 597 | *type = slot->type; |
1945 | @@ -613,9 +599,8 @@ | |||
1946 | 613 | 599 | ||
1947 | 614 | os_mutex_exit(array->mutex); | 600 | os_mutex_exit(array->mutex); |
1948 | 615 | 601 | ||
1952 | 616 | diff -ruN a/storage/innobase/row/row0mysql.c b/storage/innobase/row/row0mysql.c | 602 | --- a/storage/innobase/row/row0mysql.c |
1953 | 617 | --- a/storage/innobase/row/row0mysql.c 2010-12-04 15:37:50.598481116 +0900 | 603 | +++ b/storage/innobase/row/row0mysql.c |
1951 | 618 | +++ b/storage/innobase/row/row0mysql.c 2010-12-04 15:57:53.092563335 +0900 | ||
1954 | 619 | @@ -51,6 +51,7 @@ | 604 | @@ -51,6 +51,7 @@ |
1955 | 620 | #include "btr0sea.h" | 605 | #include "btr0sea.h" |
1956 | 621 | #include "fil0fil.h" | 606 | #include "fil0fil.h" |
1957 | @@ -638,9 +623,8 @@ | |||
1958 | 638 | if (prebuilt->sql_stat_start) { | 623 | if (prebuilt->sql_stat_start) { |
1959 | 639 | node->state = INS_NODE_SET_IX_LOCK; | 624 | node->state = INS_NODE_SET_IX_LOCK; |
1960 | 640 | prebuilt->sql_stat_start = FALSE; | 625 | prebuilt->sql_stat_start = FALSE; |
1964 | 641 | diff -ruN a/storage/innobase/row/row0sel.c b/storage/innobase/row/row0sel.c | 626 | --- a/storage/innobase/row/row0sel.c |
1965 | 642 | --- a/storage/innobase/row/row0sel.c 2010-12-04 15:52:23.494514495 +0900 | 627 | +++ b/storage/innobase/row/row0sel.c |
1963 | 643 | +++ b/storage/innobase/row/row0sel.c 2010-12-04 16:01:38.320883699 +0900 | ||
1966 | 644 | @@ -3366,6 +3366,7 @@ | 628 | @@ -3366,6 +3366,7 @@ |
1967 | 645 | ulint offsets_[REC_OFFS_NORMAL_SIZE]; | 629 | ulint offsets_[REC_OFFS_NORMAL_SIZE]; |
1968 | 646 | ulint* offsets = offsets_; | 630 | ulint* offsets = offsets_; |
1969 | @@ -686,9 +670,8 @@ | |||
1970 | 686 | trx_print(stderr, trx, 600); | 670 | trx_print(stderr, trx, 600); |
1971 | 687 | fputc('\n', stderr); | 671 | fputc('\n', stderr); |
1972 | 688 | ut_error; | 672 | ut_error; |
1976 | 689 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 673 | --- a/storage/innobase/srv/srv0srv.c |
1977 | 690 | --- a/storage/innobase/srv/srv0srv.c 2011-02-23 19:00:48.283695497 +0900 | 674 | +++ b/storage/innobase/srv/srv0srv.c |
1975 | 691 | +++ b/storage/innobase/srv/srv0srv.c 2011-02-23 19:01:19.204696643 +0900 | ||
1978 | 692 | @@ -441,6 +441,8 @@ | 675 | @@ -441,6 +441,8 @@ |
1979 | 693 | UNIV_INTERN ulint srv_pass_corrupt_table = 0; /* 0:disable 1:enable */ | 676 | UNIV_INTERN ulint srv_pass_corrupt_table = 0; /* 0:disable 1:enable */ |
1980 | 694 | 677 | ||
1981 | @@ -698,9 +681,8 @@ | |||
1982 | 698 | /*-------------------------------------------*/ | 681 | /*-------------------------------------------*/ |
1983 | 699 | UNIV_INTERN ulong srv_n_spin_wait_rounds = 30; | 682 | UNIV_INTERN ulong srv_n_spin_wait_rounds = 30; |
1984 | 700 | UNIV_INTERN ulong srv_n_free_tickets_to_enter = 500; | 683 | UNIV_INTERN ulong srv_n_free_tickets_to_enter = 500; |
1988 | 701 | diff -ruN a/storage/innobase/srv/srv0start.c b/storage/innobase/srv/srv0start.c | 684 | --- a/storage/innobase/srv/srv0start.c |
1989 | 702 | --- a/storage/innobase/srv/srv0start.c 2010-12-04 15:57:13.073495392 +0900 | 685 | +++ b/storage/innobase/srv/srv0start.c |
1987 | 703 | +++ b/storage/innobase/srv/srv0start.c 2010-12-04 16:02:50.704884053 +0900 | ||
1990 | 704 | @@ -2161,7 +2161,7 @@ | 686 | @@ -2161,7 +2161,7 @@ |
1991 | 705 | if (srv_print_verbose_log) { | 687 | if (srv_print_verbose_log) { |
1992 | 706 | ut_print_timestamp(stderr); | 688 | ut_print_timestamp(stderr); |
1993 | @@ -710,9 +692,8 @@ | |||
1994 | 710 | "log sequence number %llu\n", | 692 | "log sequence number %llu\n", |
1995 | 711 | INNODB_VERSION_STR, srv_start_lsn); | 693 | INNODB_VERSION_STR, srv_start_lsn); |
1996 | 712 | } | 694 | } |
2000 | 713 | diff -ruN a/storage/innobase/sync/sync0sync.c b/storage/innobase/sync/sync0sync.c | 695 | --- a/storage/innobase/sync/sync0sync.c |
2001 | 714 | --- a/storage/innobase/sync/sync0sync.c 2011-02-25 14:18:55.817202060 +0900 | 696 | +++ b/storage/innobase/sync/sync0sync.c |
1999 | 715 | +++ b/storage/innobase/sync/sync0sync.c 2011-02-25 14:19:44.596202017 +0900 | ||
2002 | 716 | @@ -1220,6 +1220,7 @@ | 697 | @@ -1220,6 +1220,7 @@ |
2003 | 717 | case SYNC_LOG_FLUSH_ORDER: | 698 | case SYNC_LOG_FLUSH_ORDER: |
2004 | 718 | case SYNC_THR_LOCAL: | 699 | case SYNC_THR_LOCAL: |
2005 | @@ -721,9 +702,8 @@ | |||
2006 | 721 | case SYNC_FILE_FORMAT_TAG: | 702 | case SYNC_FILE_FORMAT_TAG: |
2007 | 722 | case SYNC_DOUBLEWRITE: | 703 | case SYNC_DOUBLEWRITE: |
2008 | 723 | case SYNC_SEARCH_SYS: | 704 | case SYNC_SEARCH_SYS: |
2012 | 724 | diff -ruN a/storage/innobase/trx/trx0purge.c b/storage/innobase/trx/trx0purge.c | 705 | --- a/storage/innobase/trx/trx0purge.c |
2013 | 725 | --- a/storage/innobase/trx/trx0purge.c 2010-11-03 07:01:13.000000000 +0900 | 706 | +++ b/storage/innobase/trx/trx0purge.c |
2011 | 726 | +++ b/storage/innobase/trx/trx0purge.c 2010-12-04 15:57:53.106551154 +0900 | ||
2014 | 727 | @@ -1149,8 +1149,7 @@ | 707 | @@ -1149,8 +1149,7 @@ |
2015 | 728 | /* If we cannot advance the 'purge view' because of an old | 708 | /* If we cannot advance the 'purge view' because of an old |
2016 | 729 | 'consistent read view', then the DML statements cannot be delayed. | 709 | 'consistent read view', then the DML statements cannot be delayed. |
2017 | 730 | 710 | ||
2018 | === modified file 'patches/innodb_io_patches.patch' | |||
2019 | --- patches/innodb_io_patches.patch 2011-07-22 16:56:42 +0000 | |||
2020 | +++ patches/innodb_io_patches.patch 2011-07-27 11:32:35 +0000 | |||
2021 | @@ -5,9 +5,8 @@ | |||
2022 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
2023 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
2024 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
2028 | 8 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 8 | --- a/storage/innobase/buf/buf0buf.c |
2029 | 9 | --- a/storage/innobase/buf/buf0buf.c 2011-07-07 18:43:12.000000000 +0400 | 9 | +++ b/storage/innobase/buf/buf0buf.c |
2027 | 10 | +++ b/storage/innobase/buf/buf0buf.c 2011-07-07 19:01:24.000000000 +0400 | ||
2030 | 11 | @@ -320,6 +320,7 @@ | 10 | @@ -320,6 +320,7 @@ |
2031 | 12 | 11 | ||
2032 | 13 | /* When we traverse all the flush lists we don't want another | 12 | /* When we traverse all the flush lists we don't want another |
2033 | @@ -24,9 +23,8 @@ | |||
2034 | 24 | log_flush_order_mutex_exit(); | 23 | log_flush_order_mutex_exit(); |
2035 | 25 | 24 | ||
2036 | 26 | /* The returned answer may be out of date: the flush_list can | 25 | /* The returned answer may be out of date: the flush_list can |
2040 | 27 | diff -ruN a/storage/innobase/buf/buf0flu.c b/storage/innobase/buf/buf0flu.c | 26 | --- a/storage/innobase/buf/buf0flu.c |
2041 | 28 | --- a/storage/innobase/buf/buf0flu.c 2011-07-07 18:43:12.000000000 +0400 | 27 | +++ b/storage/innobase/buf/buf0flu.c |
2039 | 29 | +++ b/storage/innobase/buf/buf0flu.c 2011-07-07 19:01:24.000000000 +0400 | ||
2042 | 30 | @@ -855,7 +855,7 @@ | 28 | @@ -855,7 +855,7 @@ |
2043 | 31 | flush: | 29 | flush: |
2044 | 32 | /* Now flush the doublewrite buffer data to disk */ | 30 | /* Now flush the doublewrite buffer data to disk */ |
2045 | @@ -45,9 +43,8 @@ | |||
2046 | 45 | /* If there is little space, it is better not to flush | 43 | /* If there is little space, it is better not to flush |
2047 | 46 | any block except from the end of the LRU list */ | 44 | any block except from the end of the LRU list */ |
2048 | 47 | 45 | ||
2052 | 48 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 46 | --- a/storage/innobase/buf/buf0rea.c |
2053 | 49 | --- a/storage/innobase/buf/buf0rea.c 2011-05-11 15:54:12.000000000 +0400 | 47 | +++ b/storage/innobase/buf/buf0rea.c |
2051 | 50 | +++ b/storage/innobase/buf/buf0rea.c 2011-07-07 19:01:24.000000000 +0400 | ||
2054 | 51 | @@ -260,6 +260,10 @@ | 48 | @@ -260,6 +260,10 @@ |
2055 | 52 | = BUF_READ_AHEAD_LINEAR_AREA(buf_pool); | 49 | = BUF_READ_AHEAD_LINEAR_AREA(buf_pool); |
2056 | 53 | ulint threshold; | 50 | ulint threshold; |
2057 | @@ -59,9 +56,8 @@ | |||
2058 | 59 | if (UNIV_UNLIKELY(srv_startup_is_before_trx_rollback_phase)) { | 56 | if (UNIV_UNLIKELY(srv_startup_is_before_trx_rollback_phase)) { |
2059 | 60 | /* No read-ahead to avoid thread deadlocks */ | 57 | /* No read-ahead to avoid thread deadlocks */ |
2060 | 61 | return(0); | 58 | return(0); |
2064 | 62 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 59 | --- a/storage/innobase/fil/fil0fil.c |
2065 | 63 | --- a/storage/innobase/fil/fil0fil.c 2011-07-07 18:43:12.000000000 +0400 | 60 | +++ b/storage/innobase/fil/fil0fil.c |
2063 | 64 | +++ b/storage/innobase/fil/fil0fil.c 2011-07-07 19:01:22.000000000 +0400 | ||
2066 | 65 | @@ -2600,7 +2600,7 @@ | 61 | @@ -2600,7 +2600,7 @@ |
2067 | 66 | 62 | ||
2068 | 67 | os_thread_sleep(20000); | 63 | os_thread_sleep(20000); |
2069 | @@ -136,9 +132,8 @@ | |||
2070 | 136 | } | 132 | } |
2071 | 137 | 133 | ||
2072 | 138 | mem_free(space_ids); | 134 | mem_free(space_ids); |
2076 | 139 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 135 | --- a/storage/innobase/handler/ha_innodb.cc |
2077 | 140 | --- a/storage/innobase/handler/ha_innodb.cc 2011-07-07 18:43:12.000000000 +0400 | 136 | +++ b/storage/innobase/handler/ha_innodb.cc |
2075 | 141 | +++ b/storage/innobase/handler/ha_innodb.cc 2011-07-07 19:01:24.000000000 +0400 | ||
2078 | 142 | @@ -444,6 +444,12 @@ | 137 | @@ -444,6 +444,12 @@ |
2079 | 143 | "Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.", | 138 | "Timeout in seconds an InnoDB transaction may wait for a lock before being rolled back. Values above 100000000 disable the timeout.", |
2080 | 144 | NULL, NULL, 50, 1, 1024 * 1024 * 1024, 0); | 139 | NULL, NULL, 50, 1, 1024 * 1024 * 1024, 0); |
2081 | @@ -341,9 +336,8 @@ | |||
2082 | 341 | MYSQL_SYSVAR(use_sys_malloc), | 336 | MYSQL_SYSVAR(use_sys_malloc), |
2083 | 342 | MYSQL_SYSVAR(use_native_aio), | 337 | MYSQL_SYSVAR(use_native_aio), |
2084 | 343 | MYSQL_SYSVAR(change_buffering), | 338 | MYSQL_SYSVAR(change_buffering), |
2088 | 344 | diff -ruN a/storage/innobase/ibuf/ibuf0ibuf.c b/storage/innobase/ibuf/ibuf0ibuf.c | 339 | --- a/storage/innobase/ibuf/ibuf0ibuf.c |
2089 | 345 | --- a/storage/innobase/ibuf/ibuf0ibuf.c 2011-05-11 15:54:12.000000000 +0400 | 340 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c |
2087 | 346 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c 2011-07-07 19:01:23.000000000 +0400 | ||
2090 | 347 | @@ -514,8 +514,10 @@ | 341 | @@ -514,8 +514,10 @@ |
2091 | 348 | grow in size, as the references on the upper levels of the tree can | 342 | grow in size, as the references on the upper levels of the tree can |
2092 | 349 | change */ | 343 | change */ |
2093 | @@ -369,9 +363,8 @@ | |||
2094 | 369 | 363 | ||
2095 | 370 | sync = (size >= max_size + IBUF_CONTRACT_ON_INSERT_SYNC); | 364 | sync = (size >= max_size + IBUF_CONTRACT_ON_INSERT_SYNC); |
2096 | 371 | 365 | ||
2100 | 372 | diff -ruN a/storage/innobase/include/buf0rea.h b/storage/innobase/include/buf0rea.h | 366 | --- a/storage/innobase/include/buf0rea.h |
2101 | 373 | --- a/storage/innobase/include/buf0rea.h 2011-05-11 15:54:12.000000000 +0400 | 367 | +++ b/storage/innobase/include/buf0rea.h |
2099 | 374 | +++ b/storage/innobase/include/buf0rea.h 2011-07-07 19:01:21.000000000 +0400 | ||
2102 | 375 | @@ -124,8 +124,7 @@ | 368 | @@ -124,8 +124,7 @@ |
2103 | 376 | 369 | ||
2104 | 377 | /** The size in pages of the area which the read-ahead algorithms read if | 370 | /** The size in pages of the area which the read-ahead algorithms read if |
2105 | @@ -382,9 +375,8 @@ | |||
2106 | 382 | 375 | ||
2107 | 383 | /** @name Modes used in read-ahead @{ */ | 376 | /** @name Modes used in read-ahead @{ */ |
2108 | 384 | /** read only pages belonging to the insert buffer tree */ | 377 | /** read only pages belonging to the insert buffer tree */ |
2112 | 385 | diff -ruN a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h | 378 | --- a/storage/innobase/include/fil0fil.h |
2113 | 386 | --- a/storage/innobase/include/fil0fil.h 2011-07-07 18:43:12.000000000 +0400 | 379 | +++ b/storage/innobase/include/fil0fil.h |
2111 | 387 | +++ b/storage/innobase/include/fil0fil.h 2011-07-07 19:01:21.000000000 +0400 | ||
2114 | 388 | @@ -658,8 +658,9 @@ | 380 | @@ -658,8 +658,9 @@ |
2115 | 389 | void | 381 | void |
2116 | 390 | fil_flush( | 382 | fil_flush( |
2117 | @@ -396,9 +388,8 @@ | |||
2118 | 396 | /**********************************************************************//** | 388 | /**********************************************************************//** |
2119 | 397 | Flushes to disk writes in file spaces of the given type possibly cached by | 389 | Flushes to disk writes in file spaces of the given type possibly cached by |
2120 | 398 | the OS. */ | 390 | the OS. */ |
2124 | 399 | diff -ruN a/storage/innobase/include/ha_prototypes.h b/storage/innobase/include/ha_prototypes.h | 391 | --- a/storage/innobase/include/ha_prototypes.h |
2125 | 400 | --- a/storage/innobase/include/ha_prototypes.h 2011-05-11 15:54:12.000000000 +0400 | 392 | +++ b/storage/innobase/include/ha_prototypes.h |
2123 | 401 | +++ b/storage/innobase/include/ha_prototypes.h 2011-07-07 18:43:13.000000000 +0400 | ||
2126 | 402 | @@ -284,6 +284,13 @@ | 393 | @@ -284,6 +284,13 @@ |
2127 | 403 | /*===================*/ | 394 | /*===================*/ |
2128 | 404 | void* thd, /*!< in: thread handle (THD*) */ | 395 | void* thd, /*!< in: thread handle (THD*) */ |
2129 | @@ -413,9 +404,8 @@ | |||
2130 | 413 | 404 | ||
2131 | 414 | /**********************************************************************//** | 405 | /**********************************************************************//** |
2132 | 415 | Get the current setting of the lower_case_table_names global parameter from | 406 | Get the current setting of the lower_case_table_names global parameter from |
2136 | 416 | diff -ruN a/storage/innobase/include/os0file.h b/storage/innobase/include/os0file.h | 407 | --- a/storage/innobase/include/os0file.h |
2137 | 417 | --- a/storage/innobase/include/os0file.h 2011-05-11 15:54:12.000000000 +0400 | 408 | +++ b/storage/innobase/include/os0file.h |
2135 | 418 | +++ b/storage/innobase/include/os0file.h 2011-07-07 19:01:21.000000000 +0400 | ||
2138 | 419 | @@ -296,8 +296,8 @@ | 409 | @@ -296,8 +296,8 @@ |
2139 | 420 | pfs_os_file_write_func(name, file, buf, offset, offset_high, \ | 410 | pfs_os_file_write_func(name, file, buf, offset, offset_high, \ |
2140 | 421 | n, __FILE__, __LINE__) | 411 | n, __FILE__, __LINE__) |
2141 | @@ -454,9 +444,8 @@ | |||
2142 | 454 | /***********************************************************************//** | 444 | /***********************************************************************//** |
2143 | 455 | Retrieves the last error number if an error occurs in a file io function. | 445 | Retrieves the last error number if an error occurs in a file io function. |
2144 | 456 | The number should be retrieved before any other OS calls (because they may | 446 | The number should be retrieved before any other OS calls (because they may |
2148 | 457 | diff -ruN a/storage/innobase/include/os0file.ic b/storage/innobase/include/os0file.ic | 447 | --- a/storage/innobase/include/os0file.ic |
2149 | 458 | --- a/storage/innobase/include/os0file.ic 2011-05-11 15:54:12.000000000 +0400 | 448 | +++ b/storage/innobase/include/os0file.ic |
2147 | 459 | +++ b/storage/innobase/include/os0file.ic 2011-07-07 19:01:21.000000000 +0400 | ||
2150 | 460 | @@ -369,6 +369,7 @@ | 449 | @@ -369,6 +369,7 @@ |
2151 | 461 | pfs_os_file_flush_func( | 450 | pfs_os_file_flush_func( |
2152 | 462 | /*===================*/ | 451 | /*===================*/ |
2153 | @@ -474,9 +463,8 @@ | |||
2154 | 474 | 463 | ||
2155 | 475 | register_pfs_file_io_end(locker, 0); | 464 | register_pfs_file_io_end(locker, 0); |
2156 | 476 | 465 | ||
2160 | 477 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 466 | --- a/storage/innobase/include/srv0srv.h |
2161 | 478 | --- a/storage/innobase/include/srv0srv.h 2011-07-07 18:43:12.000000000 +0400 | 467 | +++ b/storage/innobase/include/srv0srv.h |
2159 | 479 | +++ b/storage/innobase/include/srv0srv.h 2011-07-07 19:01:23.000000000 +0400 | ||
2162 | 480 | @@ -138,7 +138,8 @@ | 468 | @@ -138,7 +138,8 @@ |
2163 | 481 | extern ulint srv_n_log_files; | 469 | extern ulint srv_n_log_files; |
2164 | 482 | extern ulint srv_log_file_size; | 470 | extern ulint srv_log_file_size; |
2165 | @@ -515,9 +503,8 @@ | |||
2166 | 515 | }; | 503 | }; |
2167 | 516 | 504 | ||
2168 | 517 | /** Alternatives for file i/o in Windows */ | 505 | /** Alternatives for file i/o in Windows */ |
2172 | 518 | diff -ruN a/storage/innobase/log/log0log.c b/storage/innobase/log/log0log.c | 506 | --- a/storage/innobase/log/log0log.c |
2173 | 519 | --- a/storage/innobase/log/log0log.c 2011-05-11 15:54:12.000000000 +0400 | 507 | +++ b/storage/innobase/log/log0log.c |
2171 | 520 | +++ b/storage/innobase/log/log0log.c 2011-07-07 19:01:19.000000000 +0400 | ||
2174 | 521 | @@ -48,6 +48,7 @@ | 508 | @@ -48,6 +48,7 @@ |
2175 | 522 | #include "srv0start.h" | 509 | #include "srv0start.h" |
2176 | 523 | #include "trx0sys.h" | 510 | #include "trx0sys.h" |
2177 | @@ -674,9 +661,8 @@ | |||
2178 | 674 | current_time = time(NULL); | 661 | current_time = time(NULL); |
2179 | 675 | 662 | ||
2180 | 676 | time_elapsed = 0.001 + difftime(current_time, | 663 | time_elapsed = 0.001 + difftime(current_time, |
2184 | 677 | diff -ruN a/storage/innobase/log/log0recv.c b/storage/innobase/log/log0recv.c | 664 | --- a/storage/innobase/log/log0recv.c |
2185 | 678 | --- a/storage/innobase/log/log0recv.c 2011-05-11 15:54:12.000000000 +0400 | 665 | +++ b/storage/innobase/log/log0recv.c |
2183 | 679 | +++ b/storage/innobase/log/log0recv.c 2011-07-07 19:01:22.000000000 +0400 | ||
2186 | 680 | @@ -2906,9 +2906,12 @@ | 666 | @@ -2906,9 +2906,12 @@ |
2187 | 681 | ib_uint64_t archived_lsn; | 667 | ib_uint64_t archived_lsn; |
2188 | 682 | #endif /* UNIV_LOG_ARCHIVE */ | 668 | #endif /* UNIV_LOG_ARCHIVE */ |
2189 | @@ -709,9 +695,8 @@ | |||
2190 | 709 | os_file_close(log_file); | 695 | os_file_close(log_file); |
2191 | 710 | 696 | ||
2192 | 711 | ut_free(buf); | 697 | ut_free(buf); |
2196 | 712 | diff -ruN a/storage/innobase/os/os0file.c b/storage/innobase/os/os0file.c | 698 | --- a/storage/innobase/os/os0file.c |
2197 | 713 | --- a/storage/innobase/os/os0file.c 2011-05-11 15:54:12.000000000 +0400 | 699 | +++ b/storage/innobase/os/os0file.c |
2195 | 714 | +++ b/storage/innobase/os/os0file.c 2011-07-07 19:01:37.000000000 +0400 | ||
2198 | 715 | @@ -1424,7 +1424,7 @@ | 700 | @@ -1424,7 +1424,7 @@ |
2199 | 716 | #endif | 701 | #endif |
2200 | 717 | #ifdef UNIV_NON_BUFFERED_IO | 702 | #ifdef UNIV_NON_BUFFERED_IO |
2201 | @@ -855,9 +840,8 @@ | |||
2202 | 855 | ut_error; | 840 | ut_error; |
2203 | 856 | } | 841 | } |
2204 | 857 | #endif /* UNIV_DO_FLUSH */ | 842 | #endif /* UNIV_DO_FLUSH */ |
2208 | 858 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 843 | --- a/storage/innobase/srv/srv0srv.c |
2209 | 859 | --- a/storage/innobase/srv/srv0srv.c 2011-07-07 18:43:13.000000000 +0400 | 844 | +++ b/storage/innobase/srv/srv0srv.c |
2207 | 860 | +++ b/storage/innobase/srv/srv0srv.c 2011-07-07 19:01:23.000000000 +0400 | ||
2210 | 861 | @@ -183,7 +183,8 @@ | 845 | @@ -183,7 +183,8 @@ |
2211 | 862 | UNIV_INTERN ulint srv_log_file_size = ULINT_MAX; | 846 | UNIV_INTERN ulint srv_log_file_size = ULINT_MAX; |
2212 | 863 | /* size in database pages */ | 847 | /* size in database pages */ |
2213 | @@ -1277,9 +1261,8 @@ | |||
2214 | 1277 | } | 1261 | } |
2215 | 1278 | 1262 | ||
2216 | 1279 | mutex_enter(&kernel_mutex); | 1263 | mutex_enter(&kernel_mutex); |
2220 | 1280 | diff -ruN a/storage/innobase/srv/srv0start.c b/storage/innobase/srv/srv0start.c | 1264 | --- a/storage/innobase/srv/srv0start.c |
2221 | 1281 | --- a/storage/innobase/srv/srv0start.c 2011-05-11 15:54:12.000000000 +0400 | 1265 | +++ b/storage/innobase/srv/srv0start.c |
2219 | 1282 | +++ b/storage/innobase/srv/srv0start.c 2011-07-07 19:01:21.000000000 +0400 | ||
2222 | 1283 | @@ -1217,6 +1217,9 @@ | 1266 | @@ -1217,6 +1217,9 @@ |
2223 | 1284 | } else if (0 == ut_strcmp(srv_file_flush_method_str, "O_DIRECT")) { | 1267 | } else if (0 == ut_strcmp(srv_file_flush_method_str, "O_DIRECT")) { |
2224 | 1285 | srv_unix_file_flush_method = SRV_UNIX_O_DIRECT; | 1268 | srv_unix_file_flush_method = SRV_UNIX_O_DIRECT; |
2225 | @@ -1290,9 +1273,8 @@ | |||
2226 | 1290 | } else if (0 == ut_strcmp(srv_file_flush_method_str, "littlesync")) { | 1273 | } else if (0 == ut_strcmp(srv_file_flush_method_str, "littlesync")) { |
2227 | 1291 | srv_unix_file_flush_method = SRV_UNIX_LITTLESYNC; | 1274 | srv_unix_file_flush_method = SRV_UNIX_LITTLESYNC; |
2228 | 1292 | 1275 | ||
2232 | 1293 | diff -ruN a/storage/innobase/trx/trx0purge.c b/storage/innobase/trx/trx0purge.c | 1276 | --- a/storage/innobase/trx/trx0purge.c |
2233 | 1294 | --- a/storage/innobase/trx/trx0purge.c 2011-07-07 18:43:13.000000000 +0400 | 1277 | +++ b/storage/innobase/trx/trx0purge.c |
2231 | 1295 | +++ b/storage/innobase/trx/trx0purge.c 2011-07-07 19:01:19.000000000 +0400 | ||
2234 | 1296 | @@ -392,10 +392,10 @@ | 1278 | @@ -392,10 +392,10 @@ |
2235 | 1297 | trx_sys->rseg_history_len++; | 1279 | trx_sys->rseg_history_len++; |
2236 | 1298 | mutex_exit(&kernel_mutex); | 1280 | mutex_exit(&kernel_mutex); |
2237 | @@ -1306,9 +1288,8 @@ | |||
2238 | 1306 | } | 1288 | } |
2239 | 1307 | 1289 | ||
2240 | 1308 | /**********************************************************************//** | 1290 | /**********************************************************************//** |
2244 | 1309 | diff -ruN a/storage/innobase/trx/trx0trx.c b/storage/innobase/trx/trx0trx.c | 1291 | --- a/storage/innobase/trx/trx0trx.c |
2245 | 1310 | --- a/storage/innobase/trx/trx0trx.c 2011-05-11 15:54:12.000000000 +0400 | 1292 | +++ b/storage/innobase/trx/trx0trx.c |
2243 | 1311 | +++ b/storage/innobase/trx/trx0trx.c 2011-07-07 19:01:24.000000000 +0400 | ||
2246 | 1312 | @@ -984,6 +984,7 @@ | 1293 | @@ -984,6 +984,7 @@ |
2247 | 1313 | trx->read_view = NULL; | 1294 | trx->read_view = NULL; |
2248 | 1314 | 1295 | ||
2249 | 1315 | 1296 | ||
2250 | === modified file 'patches/innodb_lru_dump_restore.patch' | |||
2251 | --- patches/innodb_lru_dump_restore.patch 2011-07-22 16:56:42 +0000 | |||
2252 | +++ patches/innodb_lru_dump_restore.patch 2011-07-27 11:32:35 +0000 | |||
2253 | @@ -5,9 +5,8 @@ | |||
2254 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
2255 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
2256 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
2260 | 8 | diff -ruN a/storage/innobase/buf/buf0lru.c b/storage/innobase/buf/buf0lru.c | 8 | --- a/storage/innobase/buf/buf0lru.c |
2261 | 9 | --- a/storage/innobase/buf/buf0lru.c 2010-12-03 15:49:59.185023424 +0900 | 9 | +++ b/storage/innobase/buf/buf0lru.c |
2259 | 10 | +++ b/storage/innobase/buf/buf0lru.c 2010-12-04 15:33:37.626482350 +0900 | ||
2262 | 11 | @@ -2247,6 +2247,284 @@ | 10 | @@ -2247,6 +2247,284 @@ |
2263 | 12 | memset(&buf_LRU_stat_cur, 0, sizeof buf_LRU_stat_cur); | 11 | memset(&buf_LRU_stat_cur, 0, sizeof buf_LRU_stat_cur); |
2264 | 13 | } | 12 | } |
2265 | @@ -293,9 +292,8 @@ | |||
2266 | 293 | #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG | 292 | #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG |
2267 | 294 | /**********************************************************************//** | 293 | /**********************************************************************//** |
2268 | 295 | Validates the LRU list for one buffer pool instance. */ | 294 | Validates the LRU list for one buffer pool instance. */ |
2272 | 296 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 295 | --- a/storage/innobase/buf/buf0rea.c |
2273 | 297 | --- a/storage/innobase/buf/buf0rea.c 2010-12-03 17:49:11.576124814 +0900 | 296 | +++ b/storage/innobase/buf/buf0rea.c |
2271 | 298 | +++ b/storage/innobase/buf/buf0rea.c 2010-12-04 15:33:37.628480605 +0900 | ||
2274 | 299 | @@ -58,7 +58,7 @@ | 297 | @@ -58,7 +58,7 @@ |
2275 | 300 | which case it is never read into the pool, or if the tablespace does | 298 | which case it is never read into the pool, or if the tablespace does |
2276 | 301 | not exist or is being dropped | 299 | not exist or is being dropped |
2277 | @@ -305,9 +303,8 @@ | |||
2278 | 305 | ulint | 303 | ulint |
2279 | 306 | buf_read_page_low( | 304 | buf_read_page_low( |
2280 | 307 | /*==============*/ | 305 | /*==============*/ |
2284 | 308 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 306 | --- a/storage/innobase/fil/fil0fil.c |
2285 | 309 | --- a/storage/innobase/fil/fil0fil.c 2010-12-03 17:49:11.581025127 +0900 | 307 | +++ b/storage/innobase/fil/fil0fil.c |
2283 | 310 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-04 15:33:37.632482885 +0900 | ||
2286 | 311 | @@ -5289,6 +5289,70 @@ | 308 | @@ -5289,6 +5289,70 @@ |
2287 | 312 | return(DB_SUCCESS); | 309 | return(DB_SUCCESS); |
2288 | 313 | } | 310 | } |
2289 | @@ -379,9 +376,8 @@ | |||
2290 | 379 | #ifndef UNIV_HOTBACKUP | 376 | #ifndef UNIV_HOTBACKUP |
2291 | 380 | /**********************************************************************//** | 377 | /**********************************************************************//** |
2292 | 381 | Waits for an aio operation to complete. This function is used to write the | 378 | Waits for an aio operation to complete. This function is used to write the |
2296 | 382 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 379 | --- a/storage/innobase/handler/ha_innodb.cc |
2297 | 383 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:49:11.589956135 +0900 | 380 | +++ b/storage/innobase/handler/ha_innodb.cc |
2295 | 384 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:33:37.645555490 +0900 | ||
2298 | 385 | @@ -11793,6 +11793,12 @@ | 381 | @@ -11793,6 +11793,12 @@ |
2299 | 386 | "Limit the allocated memory for dictionary cache. (0: unlimited)", | 382 | "Limit the allocated memory for dictionary cache. (0: unlimited)", |
2300 | 387 | NULL, NULL, 0, 0, LONG_MAX, 0); | 383 | NULL, NULL, 0, 0, LONG_MAX, 0); |
2301 | @@ -403,9 +399,8 @@ | |||
2302 | 403 | MYSQL_SYSVAR(purge_threads), | 399 | MYSQL_SYSVAR(purge_threads), |
2303 | 404 | MYSQL_SYSVAR(purge_batch_size), | 400 | MYSQL_SYSVAR(purge_batch_size), |
2304 | 405 | MYSQL_SYSVAR(rollback_segments), | 401 | MYSQL_SYSVAR(rollback_segments), |
2308 | 406 | diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc | 402 | --- a/storage/innobase/handler/i_s.cc |
2309 | 407 | --- a/storage/innobase/handler/i_s.cc 2010-12-03 17:34:35.286211349 +0900 | 403 | +++ b/storage/innobase/handler/i_s.cc |
2307 | 408 | +++ b/storage/innobase/handler/i_s.cc 2010-12-04 15:33:37.677480733 +0900 | ||
2310 | 409 | @@ -50,6 +50,7 @@ | 404 | @@ -50,6 +50,7 @@ |
2311 | 410 | #include "trx0rseg.h" /* for trx_rseg_struct */ | 405 | #include "trx0rseg.h" /* for trx_rseg_struct */ |
2312 | 411 | #include "trx0sys.h" /* for trx_sys */ | 406 | #include "trx0sys.h" /* for trx_sys */ |
2313 | @@ -451,9 +446,8 @@ | |||
2314 | 451 | 446 | ||
2315 | 452 | field_store_string(i_s_table->field[0], | 447 | field_store_string(i_s_table->field[0], |
2316 | 453 | "Undefined XTRA_* command."); | 448 | "Undefined XTRA_* command."); |
2320 | 454 | diff -ruN a/storage/innobase/include/buf0lru.h b/storage/innobase/include/buf0lru.h | 449 | --- a/storage/innobase/include/buf0lru.h |
2321 | 455 | --- a/storage/innobase/include/buf0lru.h 2010-12-03 15:49:59.223956070 +0900 | 450 | +++ b/storage/innobase/include/buf0lru.h |
2319 | 456 | +++ b/storage/innobase/include/buf0lru.h 2010-12-04 15:33:37.681481467 +0900 | ||
2322 | 457 | @@ -215,6 +215,18 @@ | 451 | @@ -215,6 +215,18 @@ |
2323 | 458 | void | 452 | void |
2324 | 459 | buf_LRU_stat_update(void); | 453 | buf_LRU_stat_update(void); |
2325 | @@ -473,9 +467,8 @@ | |||
2326 | 473 | 467 | ||
2327 | 474 | #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG | 468 | #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG |
2328 | 475 | /**********************************************************************//** | 469 | /**********************************************************************//** |
2332 | 476 | diff -ruN a/storage/innobase/include/buf0rea.h b/storage/innobase/include/buf0rea.h | 470 | --- a/storage/innobase/include/buf0rea.h |
2333 | 477 | --- a/storage/innobase/include/buf0rea.h 2010-12-03 17:49:11.596953870 +0900 | 471 | +++ b/storage/innobase/include/buf0rea.h |
2331 | 478 | +++ b/storage/innobase/include/buf0rea.h 2010-12-04 15:33:37.682563900 +0900 | ||
2334 | 479 | @@ -31,6 +31,37 @@ | 472 | @@ -31,6 +31,37 @@ |
2335 | 480 | #include "buf0types.h" | 473 | #include "buf0types.h" |
2336 | 481 | 474 | ||
2337 | @@ -514,9 +507,8 @@ | |||
2338 | 514 | High-level function which reads a page asynchronously from a file to the | 507 | High-level function which reads a page asynchronously from a file to the |
2339 | 515 | buffer buf_pool if it is not already there. Sets the io_fix flag and sets | 508 | buffer buf_pool if it is not already there. Sets the io_fix flag and sets |
2340 | 516 | an exclusive lock on the buffer frame. The flag is cleared and the x-lock | 509 | an exclusive lock on the buffer frame. The flag is cleared and the x-lock |
2344 | 517 | diff -ruN a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h | 510 | --- a/storage/innobase/include/fil0fil.h |
2345 | 518 | --- a/storage/innobase/include/fil0fil.h 2010-12-03 17:49:11.597953501 +0900 | 511 | +++ b/storage/innobase/include/fil0fil.h |
2343 | 519 | +++ b/storage/innobase/include/fil0fil.h 2010-12-04 15:33:37.684551372 +0900 | ||
2346 | 520 | @@ -644,6 +644,14 @@ | 512 | @@ -644,6 +644,14 @@ |
2347 | 521 | void* message, /*!< in: message for aio handler if non-sync | 513 | void* message, /*!< in: message for aio handler if non-sync |
2348 | 522 | aio used, else ignored */ | 514 | aio used, else ignored */ |
2349 | @@ -532,9 +524,8 @@ | |||
2350 | 532 | /**********************************************************************//** | 524 | /**********************************************************************//** |
2351 | 533 | Waits for an aio operation to complete. This function is used to write the | 525 | Waits for an aio operation to complete. This function is used to write the |
2352 | 534 | handler for completed requests. The aio array of pending requests is divided | 526 | handler for completed requests. The aio array of pending requests is divided |
2356 | 535 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 527 | --- a/storage/innobase/include/srv0srv.h |
2357 | 536 | --- a/storage/innobase/include/srv0srv.h 2010-12-03 17:49:11.603969747 +0900 | 528 | +++ b/storage/innobase/include/srv0srv.h |
2355 | 537 | +++ b/storage/innobase/include/srv0srv.h 2010-12-04 15:33:37.685550816 +0900 | ||
2358 | 538 | @@ -356,6 +356,9 @@ | 529 | @@ -356,6 +356,9 @@ |
2359 | 539 | reading of a disk page */ | 530 | reading of a disk page */ |
2360 | 540 | extern ulint srv_buf_pool_reads; | 531 | extern ulint srv_buf_pool_reads; |
2361 | @@ -562,9 +553,8 @@ | |||
2362 | 562 | /******************************************************************//** | 553 | /******************************************************************//** |
2363 | 563 | Outputs to a file the output of the InnoDB Monitor. | 554 | Outputs to a file the output of the InnoDB Monitor. |
2364 | 564 | @return FALSE if not all information printed | 555 | @return FALSE if not all information printed |
2368 | 565 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 556 | --- a/storage/innobase/srv/srv0srv.c |
2369 | 566 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 17:49:11.620986661 +0900 | 557 | +++ b/storage/innobase/srv/srv0srv.c |
2367 | 567 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-04 15:33:37.708550811 +0900 | ||
2370 | 568 | @@ -330,6 +330,9 @@ | 558 | @@ -330,6 +330,9 @@ |
2371 | 569 | reading of a disk page */ | 559 | reading of a disk page */ |
2372 | 570 | UNIV_INTERN ulint srv_buf_pool_reads = 0; | 560 | UNIV_INTERN ulint srv_buf_pool_reads = 0; |
2373 | @@ -575,15 +565,10 @@ | |||
2374 | 575 | /* structure to pass status variables to MySQL */ | 565 | /* structure to pass status variables to MySQL */ |
2375 | 576 | UNIV_INTERN export_struc export_vars; | 566 | UNIV_INTERN export_struc export_vars; |
2376 | 577 | 567 | ||
2380 | 578 | @@ -2701,6 +2704,56 @@ | 568 | @@ -2706,6 +2709,56 @@ |
2381 | 579 | /* We count the number of threads in os_thread_exit(). A created | 569 | OS_THREAD_DUMMY_RETURN; |
2382 | 580 | thread should always use that to exit and not use return() to exit. */ | 570 | } |
2383 | 581 | 571 | ||
2384 | 582 | + os_thread_exit(NULL); | ||
2385 | 583 | + | ||
2386 | 584 | + OS_THREAD_DUMMY_RETURN; | ||
2387 | 585 | +} | ||
2388 | 586 | + | ||
2389 | 587 | +/*********************************************************************//** | 572 | +/*********************************************************************//** |
2390 | 588 | +A thread which restores the buffer pool from a dump file on startup and does | 573 | +A thread which restores the buffer pool from a dump file on startup and does |
2391 | 589 | +periodic buffer pool dumps. | 574 | +periodic buffer pool dumps. |
2392 | @@ -629,12 +614,16 @@ | |||
2393 | 629 | + /* We count the number of threads in os_thread_exit(). A created | 614 | + /* We count the number of threads in os_thread_exit(). A created |
2394 | 630 | + thread should always use that to exit and not use return() to exit. */ | 615 | + thread should always use that to exit and not use return() to exit. */ |
2395 | 631 | + | 616 | + |
2402 | 632 | os_thread_exit(NULL); | 617 | + os_thread_exit(NULL); |
2403 | 633 | 618 | + | |
2404 | 634 | OS_THREAD_DUMMY_RETURN; | 619 | + OS_THREAD_DUMMY_RETURN; |
2405 | 635 | diff -ruN a/storage/innobase/srv/srv0start.c b/storage/innobase/srv/srv0start.c | 620 | +} |
2406 | 636 | --- a/storage/innobase/srv/srv0start.c 2010-12-03 15:18:48.916955609 +0900 | 621 | + |
2407 | 637 | +++ b/storage/innobase/srv/srv0start.c 2010-12-04 15:33:37.711484798 +0900 | 622 | /**********************************************************************//** |
2408 | 623 | Check whether any background thread is active. | ||
2409 | 624 | @return FALSE if all are are suspended or have exited. */ | ||
2410 | 625 | --- a/storage/innobase/srv/srv0start.c | ||
2411 | 626 | +++ b/storage/innobase/srv/srv0start.c | ||
2412 | 638 | @@ -120,9 +120,9 @@ | 627 | @@ -120,9 +120,9 @@ |
2413 | 639 | static os_file_t files[1000]; | 628 | static os_file_t files[1000]; |
2414 | 640 | 629 | ||
2415 | 641 | 630 | ||
2416 | === modified file 'patches/innodb_opt_lru_count.patch' | |||
2417 | --- patches/innodb_opt_lru_count.patch 2011-07-22 16:56:42 +0000 | |||
2418 | +++ patches/innodb_opt_lru_count.patch 2011-07-27 11:32:35 +0000 | |||
2419 | @@ -5,9 +5,8 @@ | |||
2420 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
2421 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
2422 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
2426 | 8 | diff -ruN a/storage/innobase/buf/buf0buddy.c b/storage/innobase/buf/buf0buddy.c | 8 | --- a/storage/innobase/buf/buf0buddy.c |
2427 | 9 | --- a/storage/innobase/buf/buf0buddy.c 2010-11-03 07:01:13.000000000 +0900 | 9 | +++ b/storage/innobase/buf/buf0buddy.c |
2425 | 10 | +++ b/storage/innobase/buf/buf0buddy.c 2010-12-03 15:20:49.593024343 +0900 | ||
2428 | 11 | @@ -137,7 +137,7 @@ | 10 | @@ -137,7 +137,7 @@ |
2429 | 12 | ut_ad(buf_page_get_state(ut_list_node_313) | 11 | ut_ad(buf_page_get_state(ut_list_node_313) |
2430 | 13 | == BUF_BLOCK_ZIP_FREE))); | 12 | == BUF_BLOCK_ZIP_FREE))); |
2431 | @@ -17,9 +16,8 @@ | |||
2432 | 17 | 16 | ||
2433 | 18 | if (bpage) { | 17 | if (bpage) { |
2434 | 19 | UNIV_MEM_VALID(bpage, BUF_BUDDY_LOW << i); | 18 | UNIV_MEM_VALID(bpage, BUF_BUDDY_LOW << i); |
2438 | 20 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 19 | --- a/storage/innobase/buf/buf0buf.c |
2439 | 21 | --- a/storage/innobase/buf/buf0buf.c 2010-12-03 15:18:48.866986963 +0900 | 20 | +++ b/storage/innobase/buf/buf0buf.c |
2437 | 22 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-03 15:20:49.595987311 +0900 | ||
2440 | 23 | @@ -881,9 +881,9 @@ | 21 | @@ -881,9 +881,9 @@ |
2441 | 24 | block->page.in_zip_hash = FALSE; | 22 | block->page.in_zip_hash = FALSE; |
2442 | 25 | block->page.in_flush_list = FALSE; | 23 | block->page.in_flush_list = FALSE; |
2443 | @@ -59,9 +57,8 @@ | |||
2444 | 59 | 57 | ||
2445 | 60 | frame = block->frame; | 58 | frame = block->frame; |
2446 | 61 | 59 | ||
2450 | 62 | diff -ruN a/storage/innobase/buf/buf0flu.c b/storage/innobase/buf/buf0flu.c | 60 | --- a/storage/innobase/buf/buf0flu.c |
2451 | 63 | --- a/storage/innobase/buf/buf0flu.c 2010-12-03 15:18:48.868953442 +0900 | 61 | +++ b/storage/innobase/buf/buf0flu.c |
2449 | 64 | +++ b/storage/innobase/buf/buf0flu.c 2010-12-03 15:20:49.599986956 +0900 | ||
2452 | 65 | @@ -431,19 +431,21 @@ | 62 | @@ -431,19 +431,21 @@ |
2453 | 66 | buf_page_in_file(bpage) and in the LRU list */ | 63 | buf_page_in_file(bpage) and in the LRU list */ |
2454 | 67 | { | 64 | { |
2455 | @@ -187,9 +184,8 @@ | |||
2456 | 187 | } | 184 | } |
2457 | 188 | } | 185 | } |
2458 | 189 | 186 | ||
2462 | 190 | diff -ruN a/storage/innobase/buf/buf0lru.c b/storage/innobase/buf/buf0lru.c | 187 | --- a/storage/innobase/buf/buf0lru.c |
2463 | 191 | --- a/storage/innobase/buf/buf0lru.c 2010-11-03 07:01:13.000000000 +0900 | 188 | +++ b/storage/innobase/buf/buf0lru.c |
2461 | 192 | +++ b/storage/innobase/buf/buf0lru.c 2010-12-03 15:20:49.602952786 +0900 | ||
2464 | 193 | @@ -996,7 +996,7 @@ | 189 | @@ -996,7 +996,7 @@ |
2465 | 194 | 190 | ||
2466 | 195 | /* No free block was found: try to flush the LRU list */ | 191 | /* No free block was found: try to flush the LRU list */ |
2467 | @@ -235,9 +231,8 @@ | |||
2468 | 235 | buf_LRU_add_block_low(b, buf_page_is_old(b)); | 231 | buf_LRU_add_block_low(b, buf_page_is_old(b)); |
2469 | 236 | } | 232 | } |
2470 | 237 | 233 | ||
2474 | 238 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 234 | --- a/storage/innobase/buf/buf0rea.c |
2475 | 239 | --- a/storage/innobase/buf/buf0rea.c 2010-12-03 15:18:48.870953384 +0900 | 235 | +++ b/storage/innobase/buf/buf0rea.c |
2473 | 240 | +++ b/storage/innobase/buf/buf0rea.c 2010-12-03 15:20:49.604956032 +0900 | ||
2476 | 241 | @@ -200,7 +200,7 @@ | 236 | @@ -200,7 +200,7 @@ |
2477 | 242 | } | 237 | } |
2478 | 243 | 238 | ||
2479 | @@ -274,9 +269,8 @@ | |||
2480 | 274 | 269 | ||
2481 | 275 | #ifdef UNIV_DEBUG | 270 | #ifdef UNIV_DEBUG |
2482 | 276 | if (buf_debug_prints) { | 271 | if (buf_debug_prints) { |
2486 | 277 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 272 | --- a/storage/innobase/include/buf0buf.h |
2487 | 278 | --- a/storage/innobase/include/buf0buf.h 2010-11-03 07:01:13.000000000 +0900 | 273 | +++ b/storage/innobase/include/buf0buf.h |
2485 | 279 | +++ b/storage/innobase/include/buf0buf.h 2010-12-03 15:20:49.608986590 +0900 | ||
2488 | 280 | @@ -1387,11 +1387,11 @@ | 274 | @@ -1387,11 +1387,11 @@ |
2489 | 281 | 275 | ||
2490 | 282 | UT_LIST_NODE_T(buf_page_t) LRU; | 276 | UT_LIST_NODE_T(buf_page_t) LRU; |
2491 | @@ -291,9 +285,8 @@ | |||
2492 | 291 | unsigned old:1; /*!< TRUE if the block is in the old | 285 | unsigned old:1; /*!< TRUE if the block is in the old |
2493 | 292 | blocks in buf_pool->LRU_old */ | 286 | blocks in buf_pool->LRU_old */ |
2494 | 293 | unsigned freed_page_clock:31;/*!< the value of | 287 | unsigned freed_page_clock:31;/*!< the value of |
2498 | 294 | diff -ruN a/storage/innobase/include/buf0flu.h b/storage/innobase/include/buf0flu.h | 288 | --- a/storage/innobase/include/buf0flu.h |
2499 | 295 | --- a/storage/innobase/include/buf0flu.h 2010-11-03 07:01:13.000000000 +0900 | 289 | +++ b/storage/innobase/include/buf0flu.h |
2497 | 296 | +++ b/storage/innobase/include/buf0flu.h 2010-12-03 15:20:49.609953185 +0900 | ||
2500 | 297 | @@ -65,13 +65,15 @@ | 290 | @@ -65,13 +65,15 @@ |
2501 | 298 | void | 291 | void |
2502 | 299 | buf_flush_free_margin( | 292 | buf_flush_free_margin( |
2503 | 300 | 293 | ||
2504 | === modified file 'patches/innodb_overwrite_relay_log_info.patch' | |||
2505 | --- patches/innodb_overwrite_relay_log_info.patch 2011-07-22 16:56:42 +0000 | |||
2506 | +++ patches/innodb_overwrite_relay_log_info.patch 2011-07-27 11:32:35 +0000 | |||
2507 | @@ -5,9 +5,8 @@ | |||
2508 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
2509 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
2510 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
2514 | 8 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 8 | --- a/storage/innobase/handler/ha_innodb.cc |
2515 | 9 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:37:45.516105468 +0900 | 9 | +++ b/storage/innobase/handler/ha_innodb.cc |
2513 | 10 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:38:20.318952987 +0900 | ||
2516 | 11 | @@ -42,6 +42,8 @@ | 10 | @@ -42,6 +42,8 @@ |
2517 | 12 | #pragma implementation // gcc: Class implementation | 11 | #pragma implementation // gcc: Class implementation |
2518 | 13 | #endif | 12 | #endif |
2519 | @@ -270,9 +269,8 @@ | |||
2520 | 270 | MYSQL_SYSVAR(rollback_on_timeout), | 269 | MYSQL_SYSVAR(rollback_on_timeout), |
2521 | 271 | MYSQL_SYSVAR(stats_on_metadata), | 270 | MYSQL_SYSVAR(stats_on_metadata), |
2522 | 272 | MYSQL_SYSVAR(stats_sample_pages), | 271 | MYSQL_SYSVAR(stats_sample_pages), |
2526 | 273 | diff -ruN a/storage/innobase/include/trx0sys.h b/storage/innobase/include/trx0sys.h | 272 | --- a/storage/innobase/include/trx0sys.h |
2527 | 274 | --- a/storage/innobase/include/trx0sys.h 2010-11-03 07:01:13.000000000 +0900 | 273 | +++ b/storage/innobase/include/trx0sys.h |
2525 | 275 | +++ b/storage/innobase/include/trx0sys.h 2010-12-03 15:38:20.321953297 +0900 | ||
2528 | 276 | @@ -53,6 +53,9 @@ | 274 | @@ -53,6 +53,9 @@ |
2529 | 277 | extern ib_int64_t trx_sys_mysql_master_log_pos; | 275 | extern ib_int64_t trx_sys_mysql_master_log_pos; |
2530 | 278 | /* @} */ | 276 | /* @} */ |
2531 | @@ -309,9 +307,8 @@ | |||
2532 | 309 | 307 | ||
2533 | 310 | /** The offset of the MySQL binlog offset info in the trx system header */ | 308 | /** The offset of the MySQL binlog offset info in the trx system header */ |
2534 | 311 | #define TRX_SYS_MYSQL_LOG_INFO (UNIV_PAGE_SIZE - 1000) | 309 | #define TRX_SYS_MYSQL_LOG_INFO (UNIV_PAGE_SIZE - 1000) |
2538 | 312 | diff -ruN a/storage/innobase/include/trx0trx.h b/storage/innobase/include/trx0trx.h | 310 | --- a/storage/innobase/include/trx0trx.h |
2539 | 313 | --- a/storage/innobase/include/trx0trx.h 2010-12-03 15:18:48.894955550 +0900 | 311 | +++ b/storage/innobase/include/trx0trx.h |
2537 | 314 | +++ b/storage/innobase/include/trx0trx.h 2010-12-03 15:38:20.323953416 +0900 | ||
2540 | 315 | @@ -580,6 +580,20 @@ | 312 | @@ -580,6 +580,20 @@ |
2541 | 316 | ib_int64_t mysql_log_offset;/* if MySQL binlog is used, this field | 313 | ib_int64_t mysql_log_offset;/* if MySQL binlog is used, this field |
2542 | 317 | contains the end offset of the binlog | 314 | contains the end offset of the binlog |
2543 | @@ -333,9 +330,8 @@ | |||
2544 | 333 | /*------------------------------*/ | 330 | /*------------------------------*/ |
2545 | 334 | ulint n_mysql_tables_in_use; /* number of Innobase tables | 331 | ulint n_mysql_tables_in_use; /* number of Innobase tables |
2546 | 335 | used in the processing of the current | 332 | used in the processing of the current |
2550 | 336 | diff -ruN a/storage/innobase/trx/trx0sys.c b/storage/innobase/trx/trx0sys.c | 333 | --- a/storage/innobase/trx/trx0sys.c |
2551 | 337 | --- a/storage/innobase/trx/trx0sys.c 2010-11-03 07:01:13.000000000 +0900 | 334 | +++ b/storage/innobase/trx/trx0sys.c |
2549 | 338 | +++ b/storage/innobase/trx/trx0sys.c 2010-12-03 15:38:20.325956917 +0900 | ||
2552 | 339 | @@ -76,13 +76,16 @@ | 335 | @@ -76,13 +76,16 @@ |
2553 | 340 | file name and position here. */ | 336 | file name and position here. */ |
2554 | 341 | /* @{ */ | 337 | /* @{ */ |
2555 | @@ -434,9 +430,8 @@ | |||
2556 | 434 | mtr_commit(&mtr); | 430 | mtr_commit(&mtr); |
2557 | 435 | } | 431 | } |
2558 | 436 | 432 | ||
2562 | 437 | diff -ruN a/storage/innobase/trx/trx0trx.c b/storage/innobase/trx/trx0trx.c | 433 | --- a/storage/innobase/trx/trx0trx.c |
2563 | 438 | --- a/storage/innobase/trx/trx0trx.c 2010-12-03 15:37:45.549028990 +0900 | 434 | +++ b/storage/innobase/trx/trx0trx.c |
2561 | 439 | +++ b/storage/innobase/trx/trx0trx.c 2010-12-03 15:38:20.328957217 +0900 | ||
2564 | 440 | @@ -138,6 +138,10 @@ | 435 | @@ -138,6 +138,10 @@ |
2565 | 441 | 436 | ||
2566 | 442 | trx->mysql_log_file_name = NULL; | 437 | trx->mysql_log_file_name = NULL; |
2567 | 443 | 438 | ||
2568 | === modified file 'patches/innodb_pass_corrupt_table.patch' | |||
2569 | --- patches/innodb_pass_corrupt_table.patch 2011-07-22 16:56:42 +0000 | |||
2570 | +++ patches/innodb_pass_corrupt_table.patch 2011-07-27 11:32:35 +0000 | |||
2571 | @@ -5,9 +5,8 @@ | |||
2572 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
2573 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
2574 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
2578 | 8 | diff -ruN a/storage/innobase/btr/btr0btr.c b/storage/innobase/btr/btr0btr.c | 8 | --- a/storage/innobase/btr/btr0btr.c |
2579 | 9 | --- a/storage/innobase/btr/btr0btr.c 2010-11-03 07:01:13.000000000 +0900 | 9 | +++ b/storage/innobase/btr/btr0btr.c |
2577 | 10 | +++ b/storage/innobase/btr/btr0btr.c 2010-12-04 15:38:18.110513593 +0900 | ||
2580 | 11 | @@ -691,6 +691,12 @@ | 10 | @@ -691,6 +691,12 @@ |
2581 | 12 | root_page_no = dict_index_get_page(index); | 11 | root_page_no = dict_index_get_page(index); |
2582 | 13 | 12 | ||
2583 | @@ -73,9 +72,8 @@ | |||
2584 | 73 | btr_search_drop_page_hash_index(block); | 72 | btr_search_drop_page_hash_index(block); |
2585 | 74 | 73 | ||
2586 | 75 | header = buf_block_get_frame(block) + PAGE_HEADER + PAGE_BTR_SEG_TOP; | 74 | header = buf_block_get_frame(block) + PAGE_HEADER + PAGE_BTR_SEG_TOP; |
2590 | 76 | diff -ruN a/storage/innobase/btr/btr0cur.c b/storage/innobase/btr/btr0cur.c | 75 | --- a/storage/innobase/btr/btr0cur.c |
2591 | 77 | --- a/storage/innobase/btr/btr0cur.c 2010-12-03 17:30:16.239038936 +0900 | 76 | +++ b/storage/innobase/btr/btr0cur.c |
2589 | 78 | +++ b/storage/innobase/btr/btr0cur.c 2010-12-04 15:38:18.114551906 +0900 | ||
2592 | 79 | @@ -250,6 +250,11 @@ | 77 | @@ -250,6 +250,11 @@ |
2593 | 80 | case BTR_MODIFY_LEAF: | 78 | case BTR_MODIFY_LEAF: |
2594 | 81 | mode = latch_mode == BTR_SEARCH_LEAF ? RW_S_LATCH : RW_X_LATCH; | 79 | mode = latch_mode == BTR_SEARCH_LEAF ? RW_S_LATCH : RW_X_LATCH; |
2595 | @@ -255,9 +253,8 @@ | |||
2596 | 255 | rec = page_rec_get_next(page_get_infimum_rec(page)); | 253 | rec = page_rec_get_next(page_get_infimum_rec(page)); |
2597 | 256 | 254 | ||
2598 | 257 | if (!page_rec_is_supremum(rec)) { | 255 | if (!page_rec_is_supremum(rec)) { |
2602 | 258 | diff -ruN a/storage/innobase/btr/btr0pcur.c b/storage/innobase/btr/btr0pcur.c | 256 | --- a/storage/innobase/btr/btr0pcur.c |
2603 | 259 | --- a/storage/innobase/btr/btr0pcur.c 2010-11-03 07:01:13.000000000 +0900 | 257 | +++ b/storage/innobase/btr/btr0pcur.c |
2601 | 260 | +++ b/storage/innobase/btr/btr0pcur.c 2010-12-04 15:38:18.116563877 +0900 | ||
2604 | 261 | @@ -32,7 +32,7 @@ | 258 | @@ -32,7 +32,7 @@ |
2605 | 262 | #include "ut0byte.h" | 259 | #include "ut0byte.h" |
2606 | 263 | #include "rem0cmp.h" | 260 | #include "rem0cmp.h" |
2607 | @@ -296,9 +293,8 @@ | |||
2608 | 296 | #ifdef UNIV_BTR_DEBUG | 293 | #ifdef UNIV_BTR_DEBUG |
2609 | 297 | ut_a(page_is_comp(next_page) == page_is_comp(page)); | 294 | ut_a(page_is_comp(next_page) == page_is_comp(page)); |
2610 | 298 | ut_a(btr_page_get_prev(next_page, mtr) | 295 | ut_a(btr_page_get_prev(next_page, mtr) |
2614 | 299 | diff -ruN a/storage/innobase/btr/btr0sea.c b/storage/innobase/btr/btr0sea.c | 296 | --- a/storage/innobase/btr/btr0sea.c |
2615 | 300 | --- a/storage/innobase/btr/btr0sea.c 2010-12-03 15:49:59.166193407 +0900 | 297 | +++ b/storage/innobase/btr/btr0sea.c |
2613 | 301 | +++ b/storage/innobase/btr/btr0sea.c 2010-12-04 15:38:18.118548961 +0900 | ||
2616 | 302 | @@ -42,7 +42,7 @@ | 298 | @@ -42,7 +42,7 @@ |
2617 | 303 | #include "btr0pcur.h" | 299 | #include "btr0pcur.h" |
2618 | 304 | #include "btr0btr.h" | 300 | #include "btr0btr.h" |
2619 | @@ -320,9 +316,8 @@ | |||
2620 | 320 | /* NOTE that the following two function calls do NOT protect | 316 | /* NOTE that the following two function calls do NOT protect |
2621 | 321 | info or block->n_fields etc. with any semaphore, to save CPU time! | 317 | info or block->n_fields etc. with any semaphore, to save CPU time! |
2622 | 322 | We cannot assume the fields are consistent when we return from | 318 | We cannot assume the fields are consistent when we return from |
2626 | 323 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 319 | --- a/storage/innobase/buf/buf0buf.c |
2627 | 324 | --- a/storage/innobase/buf/buf0buf.c 2010-12-04 15:37:50.554565654 +0900 | 320 | +++ b/storage/innobase/buf/buf0buf.c |
2625 | 325 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-04 15:38:18.119548922 +0900 | ||
2628 | 326 | @@ -52,6 +52,7 @@ | 321 | @@ -52,6 +52,7 @@ |
2629 | 327 | #include "log0recv.h" | 322 | #include "log0recv.h" |
2630 | 328 | #include "page0zip.h" | 323 | #include "page0zip.h" |
2631 | @@ -431,9 +426,8 @@ | |||
2632 | 431 | TRUE); | 426 | TRUE); |
2633 | 432 | } | 427 | } |
2634 | 433 | } | 428 | } |
2638 | 434 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 429 | --- a/storage/innobase/buf/buf0rea.c |
2639 | 435 | --- a/storage/innobase/buf/buf0rea.c 2010-12-04 15:37:50.557553380 +0900 | 430 | +++ b/storage/innobase/buf/buf0rea.c |
2637 | 436 | +++ b/storage/innobase/buf/buf0rea.c 2010-12-04 15:41:09.784467585 +0900 | ||
2640 | 437 | @@ -193,7 +193,14 @@ | 431 | @@ -193,7 +193,14 @@ |
2641 | 438 | ((buf_block_t*) bpage)->frame, bpage, trx); | 432 | ((buf_block_t*) bpage)->frame, bpage, trx); |
2642 | 439 | } | 433 | } |
2643 | @@ -449,9 +443,8 @@ | |||
2644 | 449 | 443 | ||
2645 | 450 | if (sync) { | 444 | if (sync) { |
2646 | 451 | /* The i/o is already completed when we arrive from | 445 | /* The i/o is already completed when we arrive from |
2650 | 452 | diff -ruN a/storage/innobase/dict/dict0dict.c b/storage/innobase/dict/dict0dict.c | 446 | --- a/storage/innobase/dict/dict0dict.c |
2651 | 453 | --- a/storage/innobase/dict/dict0dict.c 2010-12-03 17:30:16.248987063 +0900 | 447 | +++ b/storage/innobase/dict/dict0dict.c |
2649 | 454 | +++ b/storage/innobase/dict/dict0dict.c 2010-12-04 15:45:23.808513973 +0900 | ||
2652 | 455 | @@ -54,6 +54,7 @@ | 448 | @@ -54,6 +54,7 @@ |
2653 | 456 | #include "row0merge.h" | 449 | #include "row0merge.h" |
2654 | 457 | #include "m_ctype.h" /* my_isspace() */ | 450 | #include "m_ctype.h" /* my_isspace() */ |
2655 | @@ -561,9 +554,8 @@ | |||
2656 | 561 | + } | 554 | + } |
2657 | 562 | +} | 555 | +} |
2658 | 563 | #endif /* !UNIV_HOTBACKUP */ | 556 | #endif /* !UNIV_HOTBACKUP */ |
2662 | 564 | diff -ruN a/storage/innobase/dict/dict0mem.c b/storage/innobase/dict/dict0mem.c | 557 | --- a/storage/innobase/dict/dict0mem.c |
2663 | 565 | --- a/storage/innobase/dict/dict0mem.c 2010-11-03 07:01:13.000000000 +0900 | 558 | +++ b/storage/innobase/dict/dict0mem.c |
2661 | 566 | +++ b/storage/innobase/dict/dict0mem.c 2010-12-04 15:38:18.126549463 +0900 | ||
2664 | 567 | @@ -96,6 +96,8 @@ | 559 | @@ -96,6 +96,8 @@ |
2665 | 568 | /* The number of transactions that are either waiting on the | 560 | /* The number of transactions that are either waiting on the |
2666 | 569 | AUTOINC lock or have been granted the lock. */ | 561 | AUTOINC lock or have been granted the lock. */ |
2667 | @@ -573,9 +565,8 @@ | |||
2668 | 573 | #endif /* !UNIV_HOTBACKUP */ | 565 | #endif /* !UNIV_HOTBACKUP */ |
2669 | 574 | 566 | ||
2670 | 575 | ut_d(table->magic_n = DICT_TABLE_MAGIC_N); | 567 | ut_d(table->magic_n = DICT_TABLE_MAGIC_N); |
2674 | 576 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 568 | --- a/storage/innobase/fil/fil0fil.c |
2675 | 577 | --- a/storage/innobase/fil/fil0fil.c 2010-12-04 15:37:50.564551587 +0900 | 569 | +++ b/storage/innobase/fil/fil0fil.c |
2673 | 578 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-04 15:38:18.128549252 +0900 | ||
2676 | 579 | @@ -235,6 +235,7 @@ | 570 | @@ -235,6 +235,7 @@ |
2677 | 580 | file we have written to */ | 571 | file we have written to */ |
2678 | 581 | ibool is_in_unflushed_spaces; /*!< TRUE if this space is | 572 | ibool is_in_unflushed_spaces; /*!< TRUE if this space is |
2679 | @@ -684,9 +675,8 @@ | |||
2680 | 684 | + mutex_exit(&fil_system->mutex); | 675 | + mutex_exit(&fil_system->mutex); |
2681 | 685 | +} | 676 | +} |
2682 | 686 | + | 677 | + |
2686 | 687 | diff -ruN a/storage/innobase/fsp/fsp0fsp.c b/storage/innobase/fsp/fsp0fsp.c | 678 | --- a/storage/innobase/fsp/fsp0fsp.c |
2687 | 688 | --- a/storage/innobase/fsp/fsp0fsp.c 2010-12-04 15:37:50.569480615 +0900 | 679 | +++ b/storage/innobase/fsp/fsp0fsp.c |
2685 | 689 | +++ b/storage/innobase/fsp/fsp0fsp.c 2010-12-04 15:38:18.131550103 +0900 | ||
2688 | 690 | @@ -369,6 +369,12 @@ | 680 | @@ -369,6 +369,12 @@ |
2689 | 691 | ut_ad(id || !zip_size); | 681 | ut_ad(id || !zip_size); |
2690 | 692 | 682 | ||
2691 | @@ -795,9 +785,8 @@ | |||
2692 | 795 | descr = fseg_get_first_extent(inode, space, zip_size, mtr); | 785 | descr = fseg_get_first_extent(inode, space, zip_size, mtr); |
2693 | 796 | 786 | ||
2694 | 797 | if (descr != NULL) { | 787 | if (descr != NULL) { |
2698 | 798 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 788 | --- a/storage/innobase/handler/ha_innodb.cc |
2699 | 799 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:37:50.578486593 +0900 | 789 | +++ b/storage/innobase/handler/ha_innodb.cc |
2697 | 800 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:38:18.137549396 +0900 | ||
2700 | 801 | @@ -3972,6 +3972,12 @@ | 790 | @@ -3972,6 +3972,12 @@ |
2701 | 802 | DBUG_RETURN(1); | 791 | DBUG_RETURN(1); |
2702 | 803 | } | 792 | } |
2703 | @@ -1073,9 +1062,8 @@ | |||
2704 | 1073 | NULL | 1062 | NULL |
2705 | 1074 | }; | 1063 | }; |
2706 | 1075 | 1064 | ||
2710 | 1076 | diff -ruN a/storage/innobase/handler/ha_innodb.h b/storage/innobase/handler/ha_innodb.h | 1065 | --- a/storage/innobase/handler/ha_innodb.h |
2711 | 1077 | --- a/storage/innobase/handler/ha_innodb.h 2010-11-03 07:01:13.000000000 +0900 | 1066 | +++ b/storage/innobase/handler/ha_innodb.h |
2709 | 1078 | +++ b/storage/innobase/handler/ha_innodb.h 2010-12-04 15:38:18.159588579 +0900 | ||
2712 | 1079 | @@ -52,6 +52,7 @@ | 1067 | @@ -52,6 +52,7 @@ |
2713 | 1080 | innodb_idx_translate_t idx_trans_tbl; /*!< index translation | 1068 | innodb_idx_translate_t idx_trans_tbl; /*!< index translation |
2714 | 1081 | table between MySQL and | 1069 | table between MySQL and |
2715 | @@ -1092,9 +1080,8 @@ | |||
2716 | 1092 | 1080 | ||
2717 | 1093 | int write_row(uchar * buf); | 1081 | int write_row(uchar * buf); |
2718 | 1094 | int update_row(const uchar * old_data, uchar * new_data); | 1082 | int update_row(const uchar * old_data, uchar * new_data); |
2722 | 1095 | diff -ruN a/storage/innobase/include/btr0btr.ic b/storage/innobase/include/btr0btr.ic | 1083 | --- a/storage/innobase/include/btr0btr.ic |
2723 | 1096 | --- a/storage/innobase/include/btr0btr.ic 2010-11-03 07:01:13.000000000 +0900 | 1084 | +++ b/storage/innobase/include/btr0btr.ic |
2721 | 1097 | +++ b/storage/innobase/include/btr0btr.ic 2010-12-04 15:38:18.162515035 +0900 | ||
2724 | 1098 | @@ -28,7 +28,7 @@ | 1085 | @@ -28,7 +28,7 @@ |
2725 | 1099 | #include "mtr0mtr.h" | 1086 | #include "mtr0mtr.h" |
2726 | 1100 | #include "mtr0log.h" | 1087 | #include "mtr0log.h" |
2727 | @@ -1115,9 +1102,8 @@ | |||
2728 | 1115 | 1102 | ||
2729 | 1116 | buf_block_dbg_add_level(block, SYNC_TREE_NODE); | 1103 | buf_block_dbg_add_level(block, SYNC_TREE_NODE); |
2730 | 1117 | } | 1104 | } |
2734 | 1118 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 1105 | --- a/storage/innobase/include/buf0buf.h |
2735 | 1119 | --- a/storage/innobase/include/buf0buf.h 2010-12-03 15:49:59.218956083 +0900 | 1106 | +++ b/storage/innobase/include/buf0buf.h |
2733 | 1120 | +++ b/storage/innobase/include/buf0buf.h 2010-12-04 15:38:18.164513667 +0900 | ||
2736 | 1121 | @@ -986,7 +986,7 @@ | 1107 | @@ -986,7 +986,7 @@ |
2737 | 1122 | const buf_block_t* block) /*!< in: pointer to the control block */ | 1108 | const buf_block_t* block) /*!< in: pointer to the control block */ |
2738 | 1123 | __attribute__((pure)); | 1109 | __attribute__((pure)); |
2739 | @@ -1135,9 +1121,8 @@ | |||
2740 | 1135 | # if defined UNIV_DEBUG_FILE_ACCESSES || defined UNIV_DEBUG | 1121 | # if defined UNIV_DEBUG_FILE_ACCESSES || defined UNIV_DEBUG |
2741 | 1136 | ibool file_page_was_freed; | 1122 | ibool file_page_was_freed; |
2742 | 1137 | /*!< this is set to TRUE when fsp | 1123 | /*!< this is set to TRUE when fsp |
2746 | 1138 | diff -ruN a/storage/innobase/include/buf0buf.ic b/storage/innobase/include/buf0buf.ic | 1124 | --- a/storage/innobase/include/buf0buf.ic |
2747 | 1139 | --- a/storage/innobase/include/buf0buf.ic 2010-12-03 15:49:59.221956024 +0900 | 1125 | +++ b/storage/innobase/include/buf0buf.ic |
2745 | 1140 | +++ b/storage/innobase/include/buf0buf.ic 2010-12-04 15:38:18.167513925 +0900 | ||
2748 | 1141 | @@ -34,7 +34,7 @@ | 1126 | @@ -34,7 +34,7 @@ |
2749 | 1142 | #include "buf0flu.h" | 1127 | #include "buf0flu.h" |
2750 | 1143 | #include "buf0lru.h" | 1128 | #include "buf0lru.h" |
2751 | @@ -1160,9 +1145,8 @@ | |||
2752 | 1160 | ut_ad(block); | 1145 | ut_ad(block); |
2753 | 1161 | 1146 | ||
2754 | 1162 | switch (buf_block_get_state(block)) { | 1147 | switch (buf_block_get_state(block)) { |
2758 | 1163 | diff -ruN a/storage/innobase/include/dict0dict.h b/storage/innobase/include/dict0dict.h | 1148 | --- a/storage/innobase/include/dict0dict.h |
2759 | 1164 | --- a/storage/innobase/include/dict0dict.h 2010-12-03 17:30:16.306955940 +0900 | 1149 | +++ b/storage/innobase/include/dict0dict.h |
2757 | 1165 | +++ b/storage/innobase/include/dict0dict.h 2010-12-04 15:38:18.169513750 +0900 | ||
2760 | 1166 | @@ -1245,6 +1245,15 @@ | 1150 | @@ -1245,6 +1245,15 @@ |
2761 | 1167 | dict_close(void); | 1151 | dict_close(void); |
2762 | 1168 | /*============*/ | 1152 | /*============*/ |
2763 | @@ -1179,9 +1163,8 @@ | |||
2764 | 1179 | #ifndef UNIV_NONINL | 1163 | #ifndef UNIV_NONINL |
2765 | 1180 | #include "dict0dict.ic" | 1164 | #include "dict0dict.ic" |
2766 | 1181 | #endif | 1165 | #endif |
2770 | 1182 | diff -ruN a/storage/innobase/include/dict0mem.h b/storage/innobase/include/dict0mem.h | 1166 | --- a/storage/innobase/include/dict0mem.h |
2771 | 1183 | --- a/storage/innobase/include/dict0mem.h 2010-11-03 07:01:13.000000000 +0900 | 1167 | +++ b/storage/innobase/include/dict0mem.h |
2769 | 1184 | +++ b/storage/innobase/include/dict0mem.h 2010-12-04 15:38:18.171513956 +0900 | ||
2772 | 1185 | @@ -640,6 +640,7 @@ | 1168 | @@ -640,6 +640,7 @@ |
2773 | 1186 | the AUTOINC lock on this table. */ | 1169 | the AUTOINC lock on this table. */ |
2774 | 1187 | /* @} */ | 1170 | /* @} */ |
2775 | @@ -1190,9 +1173,8 @@ | |||
2776 | 1190 | #endif /* !UNIV_HOTBACKUP */ | 1173 | #endif /* !UNIV_HOTBACKUP */ |
2777 | 1191 | 1174 | ||
2778 | 1192 | #ifdef UNIV_DEBUG | 1175 | #ifdef UNIV_DEBUG |
2782 | 1193 | diff -ruN a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h | 1176 | --- a/storage/innobase/include/fil0fil.h |
2783 | 1194 | --- a/storage/innobase/include/fil0fil.h 2010-12-04 15:35:29.175520016 +0900 | 1177 | +++ b/storage/innobase/include/fil0fil.h |
2781 | 1195 | +++ b/storage/innobase/include/fil0fil.h 2010-12-04 15:38:18.172483391 +0900 | ||
2784 | 1196 | @@ -750,6 +750,19 @@ | 1178 | @@ -750,6 +750,19 @@ |
2785 | 1197 | fil_system_hash_nodes(void); | 1179 | fil_system_hash_nodes(void); |
2786 | 1198 | /*========================*/ | 1180 | /*========================*/ |
2787 | @@ -1213,9 +1195,8 @@ | |||
2788 | 1213 | typedef struct fil_space_struct fil_space_t; | 1195 | typedef struct fil_space_struct fil_space_t; |
2789 | 1214 | 1196 | ||
2790 | 1215 | #endif | 1197 | #endif |
2794 | 1216 | diff -ruN a/storage/innobase/include/fut0fut.ic b/storage/innobase/include/fut0fut.ic | 1198 | --- a/storage/innobase/include/fut0fut.ic |
2795 | 1217 | --- a/storage/innobase/include/fut0fut.ic 2010-11-03 07:01:13.000000000 +0900 | 1199 | +++ b/storage/innobase/include/fut0fut.ic |
2793 | 1218 | +++ b/storage/innobase/include/fut0fut.ic 2010-12-04 15:38:18.174481728 +0900 | ||
2796 | 1219 | @@ -23,6 +23,7 @@ | 1200 | @@ -23,6 +23,7 @@ |
2797 | 1220 | Created 12/13/1995 Heikki Tuuri | 1201 | Created 12/13/1995 Heikki Tuuri |
2798 | 1221 | ***********************************************************************/ | 1202 | ***********************************************************************/ |
2799 | @@ -1237,9 +1218,8 @@ | |||
2800 | 1237 | ptr = buf_block_get_frame(block) + addr.boffset; | 1218 | ptr = buf_block_get_frame(block) + addr.boffset; |
2801 | 1238 | 1219 | ||
2802 | 1239 | buf_block_dbg_add_level(block, SYNC_NO_ORDER_CHECK); | 1220 | buf_block_dbg_add_level(block, SYNC_NO_ORDER_CHECK); |
2806 | 1240 | diff -ruN a/storage/innobase/include/page0page.h b/storage/innobase/include/page0page.h | 1221 | --- a/storage/innobase/include/page0page.h |
2807 | 1241 | --- a/storage/innobase/include/page0page.h 2010-11-03 07:01:13.000000000 +0900 | 1222 | +++ b/storage/innobase/include/page0page.h |
2805 | 1242 | +++ b/storage/innobase/include/page0page.h 2010-12-04 15:38:18.175514037 +0900 | ||
2808 | 1243 | @@ -500,7 +500,7 @@ | 1223 | @@ -500,7 +500,7 @@ |
2809 | 1244 | page_is_leaf( | 1224 | page_is_leaf( |
2810 | 1245 | /*=========*/ | 1225 | /*=========*/ |
2811 | @@ -1249,9 +1229,8 @@ | |||
2812 | 1249 | /************************************************************//** | 1229 | /************************************************************//** |
2813 | 1250 | Gets the pointer to the next record on the page. | 1230 | Gets the pointer to the next record on the page. |
2814 | 1251 | @return pointer to next record */ | 1231 | @return pointer to next record */ |
2818 | 1252 | diff -ruN a/storage/innobase/include/page0page.ic b/storage/innobase/include/page0page.ic | 1232 | --- a/storage/innobase/include/page0page.ic |
2819 | 1253 | --- a/storage/innobase/include/page0page.ic 2010-11-03 07:01:13.000000000 +0900 | 1233 | +++ b/storage/innobase/include/page0page.ic |
2817 | 1254 | +++ b/storage/innobase/include/page0page.ic 2010-12-04 15:38:18.177482672 +0900 | ||
2820 | 1255 | @@ -274,6 +274,9 @@ | 1234 | @@ -274,6 +274,9 @@ |
2821 | 1256 | /*=========*/ | 1235 | /*=========*/ |
2822 | 1257 | const page_t* page) /*!< in: page */ | 1236 | const page_t* page) /*!< in: page */ |
2823 | @@ -1262,9 +1241,8 @@ | |||
2824 | 1262 | return(!*(const uint16*) (page + (PAGE_HEADER + PAGE_LEVEL))); | 1241 | return(!*(const uint16*) (page + (PAGE_HEADER + PAGE_LEVEL))); |
2825 | 1263 | } | 1242 | } |
2826 | 1264 | 1243 | ||
2830 | 1265 | diff -ruN a/storage/innobase/include/page0zip.h b/storage/innobase/include/page0zip.h | 1244 | --- a/storage/innobase/include/page0zip.h |
2831 | 1266 | --- a/storage/innobase/include/page0zip.h 2010-11-03 07:01:13.000000000 +0900 | 1245 | +++ b/storage/innobase/include/page0zip.h |
2829 | 1267 | +++ b/storage/innobase/include/page0zip.h 2010-12-04 15:38:18.179513974 +0900 | ||
2832 | 1268 | @@ -114,7 +114,7 @@ | 1246 | @@ -114,7 +114,7 @@ |
2833 | 1269 | const page_t* page, /*!< in: uncompressed page */ | 1247 | const page_t* page, /*!< in: uncompressed page */ |
2834 | 1270 | dict_index_t* index, /*!< in: index of the B-tree node */ | 1248 | dict_index_t* index, /*!< in: index of the B-tree node */ |
2835 | @@ -1274,9 +1252,8 @@ | |||
2836 | 1274 | 1252 | ||
2837 | 1275 | /**********************************************************************//** | 1253 | /**********************************************************************//** |
2838 | 1276 | Decompress a page. This function should tolerate errors on the compressed | 1254 | Decompress a page. This function should tolerate errors on the compressed |
2842 | 1277 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 1255 | --- a/storage/innobase/include/srv0srv.h |
2843 | 1278 | --- a/storage/innobase/include/srv0srv.h 2010-12-04 15:37:50.591516341 +0900 | 1256 | +++ b/storage/innobase/include/srv0srv.h |
2841 | 1279 | +++ b/storage/innobase/include/srv0srv.h 2010-12-04 15:38:18.180563749 +0900 | ||
2844 | 1280 | @@ -240,6 +240,7 @@ | 1257 | @@ -240,6 +240,7 @@ |
2845 | 1281 | extern ulint srv_adaptive_flushing_method; | 1258 | extern ulint srv_adaptive_flushing_method; |
2846 | 1282 | 1259 | ||
2847 | @@ -1285,9 +1262,8 @@ | |||
2848 | 1285 | 1262 | ||
2849 | 1286 | extern ulint srv_dict_size_limit; | 1263 | extern ulint srv_dict_size_limit; |
2850 | 1287 | /*-------------------------------------------*/ | 1264 | /*-------------------------------------------*/ |
2854 | 1288 | diff -ruN a/storage/innobase/page/page0zip.c b/storage/innobase/page/page0zip.c | 1265 | --- a/storage/innobase/page/page0zip.c |
2855 | 1289 | --- a/storage/innobase/page/page0zip.c 2010-11-03 07:01:13.000000000 +0900 | 1266 | +++ b/storage/innobase/page/page0zip.c |
2853 | 1290 | +++ b/storage/innobase/page/page0zip.c 2010-12-04 15:38:18.195515935 +0900 | ||
2856 | 1291 | @@ -1153,6 +1153,10 @@ | 1267 | @@ -1153,6 +1153,10 @@ |
2857 | 1292 | FILE* logfile = NULL; | 1268 | FILE* logfile = NULL; |
2858 | 1293 | #endif | 1269 | #endif |
2859 | @@ -1299,9 +1275,8 @@ | |||
2860 | 1299 | ut_a(page_is_comp(page)); | 1275 | ut_a(page_is_comp(page)); |
2861 | 1300 | ut_a(fil_page_get_type(page) == FIL_PAGE_INDEX); | 1276 | ut_a(fil_page_get_type(page) == FIL_PAGE_INDEX); |
2862 | 1301 | ut_ad(page_simple_validate_new((page_t*) page)); | 1277 | ut_ad(page_simple_validate_new((page_t*) page)); |
2866 | 1302 | diff -ruN a/storage/innobase/row/row0ins.c b/storage/innobase/row/row0ins.c | 1278 | --- a/storage/innobase/row/row0ins.c |
2867 | 1303 | --- a/storage/innobase/row/row0ins.c 2010-11-03 07:01:13.000000000 +0900 | 1279 | +++ b/storage/innobase/row/row0ins.c |
2865 | 1304 | +++ b/storage/innobase/row/row0ins.c 2010-12-04 15:38:18.198514028 +0900 | ||
2868 | 1305 | @@ -1335,6 +1335,12 @@ | 1280 | @@ -1335,6 +1335,12 @@ |
2869 | 1306 | const rec_t* rec = btr_pcur_get_rec(&pcur); | 1281 | const rec_t* rec = btr_pcur_get_rec(&pcur); |
2870 | 1307 | const buf_block_t* block = btr_pcur_get_block(&pcur); | 1282 | const buf_block_t* block = btr_pcur_get_block(&pcur); |
2871 | @@ -1315,9 +1290,8 @@ | |||
2872 | 1315 | if (page_rec_is_infimum(rec)) { | 1290 | if (page_rec_is_infimum(rec)) { |
2873 | 1316 | 1291 | ||
2874 | 1317 | continue; | 1292 | continue; |
2878 | 1318 | diff -ruN a/storage/innobase/row/row0merge.c b/storage/innobase/row/row0merge.c | 1293 | --- a/storage/innobase/row/row0merge.c |
2879 | 1319 | --- a/storage/innobase/row/row0merge.c 2010-12-03 17:30:16.330986655 +0900 | 1294 | +++ b/storage/innobase/row/row0merge.c |
2877 | 1320 | +++ b/storage/innobase/row/row0merge.c 2010-12-04 15:38:18.201513966 +0900 | ||
2880 | 1321 | @@ -1245,6 +1245,13 @@ | 1295 | @@ -1245,6 +1245,13 @@ |
2881 | 1322 | 1296 | ||
2882 | 1323 | if (UNIV_LIKELY(has_next)) { | 1297 | if (UNIV_LIKELY(has_next)) { |
2883 | @@ -1332,9 +1306,8 @@ | |||
2884 | 1332 | offsets = rec_get_offsets(rec, clust_index, NULL, | 1306 | offsets = rec_get_offsets(rec, clust_index, NULL, |
2885 | 1333 | ULINT_UNDEFINED, &row_heap); | 1307 | ULINT_UNDEFINED, &row_heap); |
2886 | 1334 | 1308 | ||
2890 | 1335 | diff -ruN a/storage/innobase/row/row0sel.c b/storage/innobase/row/row0sel.c | 1309 | --- a/storage/innobase/row/row0sel.c |
2891 | 1336 | --- a/storage/innobase/row/row0sel.c 2010-11-03 07:01:13.000000000 +0900 | 1310 | +++ b/storage/innobase/row/row0sel.c |
2889 | 1337 | +++ b/storage/innobase/row/row0sel.c 2010-12-04 15:38:18.205551115 +0900 | ||
2892 | 1338 | @@ -3853,6 +3853,13 @@ | 1311 | @@ -3853,6 +3853,13 @@ |
2893 | 1339 | /* PHASE 4: Look for matching records in a loop */ | 1312 | /* PHASE 4: Look for matching records in a loop */ |
2894 | 1340 | 1313 | ||
2895 | @@ -1374,9 +1347,8 @@ | |||
2896 | 1374 | if (!rec_validate(rec, offsets) | 1347 | if (!rec_validate(rec, offsets) |
2897 | 1375 | || !btr_index_rec_validate(rec, index, FALSE)) { | 1348 | || !btr_index_rec_validate(rec, index, FALSE)) { |
2898 | 1376 | fprintf(stderr, | 1349 | fprintf(stderr, |
2902 | 1377 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 1350 | --- a/storage/innobase/srv/srv0srv.c |
2903 | 1378 | --- a/storage/innobase/srv/srv0srv.c 2010-12-04 15:37:50.602481253 +0900 | 1351 | +++ b/storage/innobase/srv/srv0srv.c |
2901 | 1379 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-04 15:38:18.209513823 +0900 | ||
2904 | 1380 | @@ -430,6 +430,7 @@ | 1352 | @@ -430,6 +430,7 @@ |
2905 | 1381 | UNIV_INTERN ulint srv_adaptive_flushing_method = 0; /* 0: native 1: estimate 2: keep_average */ | 1353 | UNIV_INTERN ulint srv_adaptive_flushing_method = 0; /* 0: native 1: estimate 2: keep_average */ |
2906 | 1382 | 1354 | ||
2907 | @@ -1385,9 +1357,8 @@ | |||
2908 | 1385 | 1357 | ||
2909 | 1386 | UNIV_INTERN ulint srv_dict_size_limit = 0; | 1358 | UNIV_INTERN ulint srv_dict_size_limit = 0; |
2910 | 1387 | /*-------------------------------------------*/ | 1359 | /*-------------------------------------------*/ |
2914 | 1388 | diff -ruN a/storage/innobase/srv/srv0start.c b/storage/innobase/srv/srv0start.c | 1360 | --- a/storage/innobase/srv/srv0start.c |
2915 | 1389 | --- a/storage/innobase/srv/srv0start.c 2010-12-04 15:37:50.605491300 +0900 | 1361 | +++ b/storage/innobase/srv/srv0start.c |
2913 | 1390 | +++ b/storage/innobase/srv/srv0start.c 2010-12-04 15:38:18.212513722 +0900 | ||
2916 | 1391 | @@ -2149,6 +2149,13 @@ | 1362 | @@ -2149,6 +2149,13 @@ |
2917 | 1392 | 1363 | ||
2918 | 1393 | os_fast_mutex_free(&srv_os_test_mutex); | 1364 | os_fast_mutex_free(&srv_os_test_mutex); |
2919 | 1394 | 1365 | ||
2920 | === modified file 'patches/innodb_recovery_patches.patch' | |||
2921 | --- patches/innodb_recovery_patches.patch 2011-07-22 16:56:42 +0000 | |||
2922 | +++ patches/innodb_recovery_patches.patch 2011-07-27 11:32:35 +0000 | |||
2923 | @@ -5,9 +5,8 @@ | |||
2924 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
2925 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
2926 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
2930 | 8 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 8 | --- a/storage/innobase/buf/buf0rea.c |
2931 | 9 | --- a/storage/innobase/buf/buf0rea.c 2010-12-03 15:49:59.187028943 +0900 | 9 | +++ b/storage/innobase/buf/buf0rea.c |
2929 | 10 | +++ b/storage/innobase/buf/buf0rea.c 2010-12-03 17:30:41.579956150 +0900 | ||
2932 | 11 | @@ -122,6 +122,46 @@ | 10 | @@ -122,6 +122,46 @@ |
2933 | 12 | bpage = buf_page_init_for_read(err, mode, space, zip_size, unzip, | 11 | bpage = buf_page_init_for_read(err, mode, space, zip_size, unzip, |
2934 | 13 | tablespace_version, offset); | 12 | tablespace_version, offset); |
2935 | @@ -106,9 +105,8 @@ | |||
2936 | 106 | return; | 105 | return; |
2937 | 107 | } | 106 | } |
2938 | 108 | 107 | ||
2942 | 109 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 108 | --- a/storage/innobase/handler/ha_innodb.cc |
2943 | 110 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:30:16.261955714 +0900 | 109 | +++ b/storage/innobase/handler/ha_innodb.cc |
2941 | 111 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:30:41.584971130 +0900 | ||
2944 | 112 | @@ -182,6 +182,7 @@ | 110 | @@ -182,6 +182,7 @@ |
2945 | 113 | #endif /* UNIV_LOG_ARCHIVE */ | 111 | #endif /* UNIV_LOG_ARCHIVE */ |
2946 | 114 | static my_bool innobase_use_doublewrite = TRUE; | 112 | static my_bool innobase_use_doublewrite = TRUE; |
2947 | @@ -146,9 +144,8 @@ | |||
2948 | 146 | MYSQL_SYSVAR(fast_shutdown), | 144 | MYSQL_SYSVAR(fast_shutdown), |
2949 | 147 | MYSQL_SYSVAR(file_io_threads), | 145 | MYSQL_SYSVAR(file_io_threads), |
2950 | 148 | MYSQL_SYSVAR(read_io_threads), | 146 | MYSQL_SYSVAR(read_io_threads), |
2954 | 149 | diff -ruN a/storage/innobase/include/log0recv.h b/storage/innobase/include/log0recv.h | 147 | --- a/storage/innobase/include/log0recv.h |
2955 | 150 | --- a/storage/innobase/include/log0recv.h 2010-11-03 07:01:13.000000000 +0900 | 148 | +++ b/storage/innobase/include/log0recv.h |
2953 | 151 | +++ b/storage/innobase/include/log0recv.h 2010-12-03 17:30:41.592958318 +0900 | ||
2956 | 152 | @@ -438,6 +438,39 @@ | 149 | @@ -438,6 +438,39 @@ |
2957 | 153 | hash_table_t* addr_hash;/*!< hash table of file addresses of pages */ | 150 | hash_table_t* addr_hash;/*!< hash table of file addresses of pages */ |
2958 | 154 | ulint n_addrs;/*!< number of not processed hashed file | 151 | ulint n_addrs;/*!< number of not processed hashed file |
2959 | @@ -189,9 +186,8 @@ | |||
2960 | 189 | }; | 186 | }; |
2961 | 190 | 187 | ||
2962 | 191 | /** The recovery system */ | 188 | /** The recovery system */ |
2966 | 192 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 189 | --- a/storage/innobase/include/srv0srv.h |
2967 | 193 | --- a/storage/innobase/include/srv0srv.h 2010-12-03 17:30:16.321953515 +0900 | 190 | +++ b/storage/innobase/include/srv0srv.h |
2965 | 194 | +++ b/storage/innobase/include/srv0srv.h 2010-12-03 17:30:41.593985184 +0900 | ||
2968 | 195 | @@ -126,6 +126,8 @@ | 191 | @@ -126,6 +126,8 @@ |
2969 | 196 | extern ulint* srv_data_file_sizes; | 192 | extern ulint* srv_data_file_sizes; |
2970 | 197 | extern ulint* srv_data_file_is_raw_partition; | 193 | extern ulint* srv_data_file_is_raw_partition; |
2971 | @@ -201,9 +197,8 @@ | |||
2972 | 201 | extern ibool srv_auto_extend_last_data_file; | 197 | extern ibool srv_auto_extend_last_data_file; |
2973 | 202 | extern ulint srv_last_file_size_max; | 198 | extern ulint srv_last_file_size_max; |
2974 | 203 | extern char** srv_log_group_home_dirs; | 199 | extern char** srv_log_group_home_dirs; |
2978 | 204 | diff -ruN a/storage/innobase/log/log0recv.c b/storage/innobase/log/log0recv.c | 200 | --- a/storage/innobase/log/log0recv.c |
2979 | 205 | --- a/storage/innobase/log/log0recv.c 2010-12-03 15:18:48.903987466 +0900 | 201 | +++ b/storage/innobase/log/log0recv.c |
2977 | 206 | +++ b/storage/innobase/log/log0recv.c 2010-12-03 17:30:41.598022536 +0900 | ||
2980 | 207 | @@ -187,6 +187,9 @@ | 202 | @@ -187,6 +187,9 @@ |
2981 | 208 | 203 | ||
2982 | 209 | recv_sys->heap = NULL; | 204 | recv_sys->heap = NULL; |
2983 | @@ -430,9 +425,8 @@ | |||
2984 | 430 | if (recv_needed_recovery) { | 425 | if (recv_needed_recovery) { |
2985 | 431 | trx_sys_print_mysql_master_log_pos(); | 426 | trx_sys_print_mysql_master_log_pos(); |
2986 | 432 | trx_sys_print_mysql_binlog_offset(); | 427 | trx_sys_print_mysql_binlog_offset(); |
2990 | 433 | diff -ruN a/storage/innobase/os/os0file.c b/storage/innobase/os/os0file.c | 428 | --- a/storage/innobase/os/os0file.c |
2991 | 434 | --- a/storage/innobase/os/os0file.c 2010-12-03 15:18:48.908955759 +0900 | 429 | +++ b/storage/innobase/os/os0file.c |
2989 | 435 | +++ b/storage/innobase/os/os0file.c 2010-12-03 17:30:41.602022989 +0900 | ||
2992 | 436 | @@ -43,6 +43,7 @@ | 430 | @@ -43,6 +43,7 @@ |
2993 | 437 | #include "srv0start.h" | 431 | #include "srv0start.h" |
2994 | 438 | #include "fil0fil.h" | 432 | #include "fil0fil.h" |
2995 | @@ -441,7 +435,7 @@ | |||
2996 | 441 | #ifndef UNIV_HOTBACKUP | 435 | #ifndef UNIV_HOTBACKUP |
2997 | 442 | # include "os0sync.h" | 436 | # include "os0sync.h" |
2998 | 443 | # include "os0thread.h" | 437 | # include "os0thread.h" |
3000 | 444 | @@ -4270,6 +4271,18 @@ | 438 | @@ -4271,6 +4272,18 @@ |
3001 | 445 | INFINITE); | 439 | INFINITE); |
3002 | 446 | } | 440 | } |
3003 | 447 | 441 | ||
3004 | @@ -460,9 +454,8 @@ | |||
3005 | 460 | os_mutex_enter(array->mutex); | 454 | os_mutex_enter(array->mutex); |
3006 | 461 | 455 | ||
3007 | 462 | if (srv_shutdown_state == SRV_SHUTDOWN_EXIT_THREADS | 456 | if (srv_shutdown_state == SRV_SHUTDOWN_EXIT_THREADS |
3011 | 463 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 457 | --- a/storage/innobase/srv/srv0srv.c |
3012 | 464 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 17:30:16.339955597 +0900 | 458 | +++ b/storage/innobase/srv/srv0srv.c |
3010 | 465 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 17:30:41.604958138 +0900 | ||
3013 | 466 | @@ -160,6 +160,8 @@ | 459 | @@ -160,6 +160,8 @@ |
3014 | 467 | /* size in database pages */ | 460 | /* size in database pages */ |
3015 | 468 | UNIV_INTERN ulint* srv_data_file_sizes = NULL; | 461 | UNIV_INTERN ulint* srv_data_file_sizes = NULL; |
3016 | @@ -472,9 +465,8 @@ | |||
3017 | 472 | /* if TRUE, then we auto-extend the last data file */ | 465 | /* if TRUE, then we auto-extend the last data file */ |
3018 | 473 | UNIV_INTERN ibool srv_auto_extend_last_data_file = FALSE; | 466 | UNIV_INTERN ibool srv_auto_extend_last_data_file = FALSE; |
3019 | 474 | /* if != 0, this tells the max size auto-extending may increase the | 467 | /* if != 0, this tells the max size auto-extending may increase the |
3023 | 475 | diff -ruN a/storage/innobase/trx/trx0sys.c b/storage/innobase/trx/trx0sys.c | 468 | --- a/storage/innobase/trx/trx0sys.c |
3024 | 476 | --- a/storage/innobase/trx/trx0sys.c 2010-12-03 15:41:52.051986524 +0900 | 469 | +++ b/storage/innobase/trx/trx0sys.c |
3022 | 477 | +++ b/storage/innobase/trx/trx0sys.c 2010-12-03 17:30:41.607026818 +0900 | ||
3025 | 478 | @@ -567,6 +567,12 @@ | 470 | @@ -567,6 +567,12 @@ |
3026 | 479 | zip_size ? zip_size : UNIV_PAGE_SIZE, | 471 | zip_size ? zip_size : UNIV_PAGE_SIZE, |
3027 | 480 | read_buf, NULL); | 472 | read_buf, NULL); |
3028 | 481 | 473 | ||
3029 | === modified file 'patches/innodb_separate_doublewrite.patch' | |||
3030 | --- patches/innodb_separate_doublewrite.patch 2011-07-22 16:56:42 +0000 | |||
3031 | +++ patches/innodb_separate_doublewrite.patch 2011-07-27 11:32:35 +0000 | |||
3032 | @@ -5,9 +5,8 @@ | |||
3033 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
3034 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
3035 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
3039 | 8 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 8 | --- a/storage/innobase/buf/buf0buf.c |
3040 | 9 | --- a/storage/innobase/buf/buf0buf.c 2010-12-03 17:49:11.574962867 +0900 | 9 | +++ b/storage/innobase/buf/buf0buf.c |
3038 | 10 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-04 15:35:58.624514033 +0900 | ||
3041 | 11 | @@ -4291,7 +4291,8 @@ | 10 | @@ -4291,7 +4291,8 @@ |
3042 | 12 | read_space_id = mach_read_from_4( | 11 | read_space_id = mach_read_from_4( |
3043 | 13 | frame + FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID); | 12 | frame + FIL_PAGE_ARCH_LOG_NO_OR_SPACE_ID); |
3044 | @@ -18,9 +17,8 @@ | |||
3045 | 18 | && trx_doublewrite_page_inside(bpage->offset)) { | 17 | && trx_doublewrite_page_inside(bpage->offset)) { |
3046 | 19 | 18 | ||
3047 | 20 | ut_print_timestamp(stderr); | 19 | ut_print_timestamp(stderr); |
3051 | 21 | diff -ruN a/storage/innobase/buf/buf0flu.c b/storage/innobase/buf/buf0flu.c | 20 | --- a/storage/innobase/buf/buf0flu.c |
3052 | 22 | --- a/storage/innobase/buf/buf0flu.c 2010-12-03 15:49:59.179956111 +0900 | 21 | +++ b/storage/innobase/buf/buf0flu.c |
3050 | 23 | +++ b/storage/innobase/buf/buf0flu.c 2010-12-04 15:35:58.624514033 +0900 | ||
3053 | 24 | @@ -791,7 +791,8 @@ | 22 | @@ -791,7 +791,8 @@ |
3054 | 25 | write_buf = trx_doublewrite->write_buf; | 23 | write_buf = trx_doublewrite->write_buf; |
3055 | 26 | i = 0; | 24 | i = 0; |
3056 | @@ -50,9 +48,8 @@ | |||
3057 | 50 | 48 | ||
3058 | 51 | /* We know that the writes have been flushed to disk now | 49 | /* We know that the writes have been flushed to disk now |
3059 | 52 | and in recovery we will find them in the doublewrite buffer | 50 | and in recovery we will find them in the doublewrite buffer |
3063 | 53 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 51 | --- a/storage/innobase/buf/buf0rea.c |
3064 | 54 | --- a/storage/innobase/buf/buf0rea.c 2010-12-04 15:35:29.138514157 +0900 | 52 | +++ b/storage/innobase/buf/buf0rea.c |
3062 | 55 | +++ b/storage/innobase/buf/buf0rea.c 2010-12-04 15:35:58.626486771 +0900 | ||
3065 | 56 | @@ -88,7 +88,9 @@ | 53 | @@ -88,7 +88,9 @@ |
3066 | 57 | wake_later = mode & OS_AIO_SIMULATED_WAKE_LATER; | 54 | wake_later = mode & OS_AIO_SIMULATED_WAKE_LATER; |
3067 | 58 | mode = mode & ~OS_AIO_SIMULATED_WAKE_LATER; | 55 | mode = mode & ~OS_AIO_SIMULATED_WAKE_LATER; |
3068 | @@ -64,9 +61,8 @@ | |||
3069 | 64 | && ( (offset >= trx_doublewrite->block1 | 61 | && ( (offset >= trx_doublewrite->block1 |
3070 | 65 | && offset < trx_doublewrite->block1 | 62 | && offset < trx_doublewrite->block1 |
3071 | 66 | + TRX_SYS_DOUBLEWRITE_BLOCK_SIZE) | 63 | + TRX_SYS_DOUBLEWRITE_BLOCK_SIZE) |
3075 | 67 | diff -ruN a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load.c | 64 | --- a/storage/innobase/dict/dict0load.c |
3076 | 68 | --- a/storage/innobase/dict/dict0load.c 2010-12-03 17:30:16.252956569 +0900 | 65 | +++ b/storage/innobase/dict/dict0load.c |
3074 | 69 | +++ b/storage/innobase/dict/dict0load.c 2010-12-04 15:35:58.627482825 +0900 | ||
3077 | 70 | @@ -41,6 +41,7 @@ | 66 | @@ -41,6 +41,7 @@ |
3078 | 71 | #include "srv0start.h" | 67 | #include "srv0start.h" |
3079 | 72 | #include "srv0srv.h" | 68 | #include "srv0srv.h" |
3080 | @@ -102,9 +98,8 @@ | |||
3081 | 102 | /* The system tablespace is always available. */ | 98 | /* The system tablespace is always available. */ |
3082 | 103 | } else if (!fil_space_for_table_exists_in_mem( | 99 | } else if (!fil_space_for_table_exists_in_mem( |
3083 | 104 | table->space, name, | 100 | table->space, name, |
3087 | 105 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 101 | --- a/storage/innobase/fil/fil0fil.c |
3088 | 106 | --- a/storage/innobase/fil/fil0fil.c 2010-12-04 15:35:29.143813775 +0900 | 102 | +++ b/storage/innobase/fil/fil0fil.c |
3086 | 107 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-04 15:35:58.628498870 +0900 | ||
3089 | 108 | @@ -657,7 +657,7 @@ | 103 | @@ -657,7 +657,7 @@ |
3090 | 109 | 104 | ||
3091 | 110 | UT_LIST_ADD_LAST(chain, space->chain, node); | 105 | UT_LIST_ADD_LAST(chain, space->chain, node); |
3092 | @@ -312,9 +307,8 @@ | |||
3093 | 312 | 307 | ||
3094 | 313 | fil_node = UT_LIST_GET_NEXT(LRU, fil_node); | 308 | fil_node = UT_LIST_GET_NEXT(LRU, fil_node); |
3095 | 314 | } | 309 | } |
3099 | 315 | diff -ruN a/storage/innobase/fsp/fsp0fsp.c b/storage/innobase/fsp/fsp0fsp.c | 310 | --- a/storage/innobase/fsp/fsp0fsp.c |
3100 | 316 | --- a/storage/innobase/fsp/fsp0fsp.c 2010-11-03 07:01:13.000000000 +0900 | 311 | +++ b/storage/innobase/fsp/fsp0fsp.c |
3098 | 317 | +++ b/storage/innobase/fsp/fsp0fsp.c 2010-12-04 15:35:58.632513243 +0900 | ||
3101 | 318 | @@ -48,7 +48,7 @@ | 312 | @@ -48,7 +48,7 @@ |
3102 | 319 | # include "log0log.h" | 313 | # include "log0log.h" |
3103 | 320 | #endif /* UNIV_HOTBACKUP */ | 314 | #endif /* UNIV_HOTBACKUP */ |
3104 | @@ -337,9 +331,8 @@ | |||
3105 | 337 | dict_ind_redundant, mtr); | 331 | dict_ind_redundant, mtr); |
3106 | 338 | } else { | 332 | } else { |
3107 | 339 | fsp_fill_free_list(TRUE, space, header, mtr); | 333 | fsp_fill_free_list(TRUE, space, header, mtr); |
3111 | 340 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 334 | --- a/storage/innobase/handler/ha_innodb.cc |
3112 | 341 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:35:29.153514047 +0900 | 335 | +++ b/storage/innobase/handler/ha_innodb.cc |
3110 | 342 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-04 15:35:58.636549909 +0900 | ||
3113 | 343 | @@ -163,6 +163,7 @@ | 336 | @@ -163,6 +163,7 @@ |
3114 | 344 | static char* innobase_log_group_home_dir = NULL; | 337 | static char* innobase_log_group_home_dir = NULL; |
3115 | 345 | static char* innobase_file_format_name = NULL; | 338 | static char* innobase_file_format_name = NULL; |
3116 | @@ -377,9 +370,8 @@ | |||
3117 | 377 | MYSQL_SYSVAR(data_home_dir), | 370 | MYSQL_SYSVAR(data_home_dir), |
3118 | 378 | MYSQL_SYSVAR(doublewrite), | 371 | MYSQL_SYSVAR(doublewrite), |
3119 | 379 | MYSQL_SYSVAR(recovery_stats), | 372 | MYSQL_SYSVAR(recovery_stats), |
3123 | 380 | diff -ruN a/storage/innobase/include/mtr0log.ic b/storage/innobase/include/mtr0log.ic | 373 | --- a/storage/innobase/include/mtr0log.ic |
3124 | 381 | --- a/storage/innobase/include/mtr0log.ic 2010-11-03 07:01:13.000000000 +0900 | 374 | +++ b/storage/innobase/include/mtr0log.ic |
3122 | 382 | +++ b/storage/innobase/include/mtr0log.ic 2010-12-04 15:35:58.644607059 +0900 | ||
3125 | 383 | @@ -27,8 +27,8 @@ | 375 | @@ -27,8 +27,8 @@ |
3126 | 384 | #include "ut0lst.h" | 376 | #include "ut0lst.h" |
3127 | 385 | #include "buf0buf.h" | 377 | #include "buf0buf.h" |
3128 | @@ -400,9 +392,8 @@ | |||
3129 | 400 | && offset >= FSP_EXTENT_SIZE && offset < 3 * FSP_EXTENT_SIZE) { | 392 | && offset >= FSP_EXTENT_SIZE && offset < 3 * FSP_EXTENT_SIZE) { |
3130 | 401 | if (trx_doublewrite_buf_is_being_created) { | 393 | if (trx_doublewrite_buf_is_being_created) { |
3131 | 402 | /* Do nothing: we only come to this branch in an | 394 | /* Do nothing: we only come to this branch in an |
3135 | 403 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 395 | --- a/storage/innobase/include/srv0srv.h |
3136 | 404 | --- a/storage/innobase/include/srv0srv.h 2010-12-04 15:35:29.177480351 +0900 | 396 | +++ b/storage/innobase/include/srv0srv.h |
3134 | 405 | +++ b/storage/innobase/include/srv0srv.h 2010-12-04 15:35:58.646556250 +0900 | ||
3137 | 406 | @@ -129,6 +129,8 @@ | 397 | @@ -129,6 +129,8 @@ |
3138 | 407 | extern ulint* srv_data_file_sizes; | 398 | extern ulint* srv_data_file_sizes; |
3139 | 408 | extern ulint* srv_data_file_is_raw_partition; | 399 | extern ulint* srv_data_file_is_raw_partition; |
3140 | @@ -412,9 +403,8 @@ | |||
3141 | 412 | extern ibool srv_recovery_stats; | 403 | extern ibool srv_recovery_stats; |
3142 | 413 | 404 | ||
3143 | 414 | extern ibool srv_auto_extend_last_data_file; | 405 | extern ibool srv_auto_extend_last_data_file; |
3147 | 415 | diff -ruN a/storage/innobase/include/srv0start.h b/storage/innobase/include/srv0start.h | 406 | --- a/storage/innobase/include/srv0start.h |
3148 | 416 | --- a/storage/innobase/include/srv0start.h 2010-11-03 07:01:13.000000000 +0900 | 407 | +++ b/storage/innobase/include/srv0start.h |
3146 | 417 | +++ b/storage/innobase/include/srv0start.h 2010-12-08 17:15:07.602605797 +0900 | ||
3149 | 418 | @@ -127,4 +127,7 @@ | 408 | @@ -127,4 +127,7 @@ |
3150 | 419 | /** Log 'spaces' have id's >= this */ | 409 | /** Log 'spaces' have id's >= this */ |
3151 | 420 | #define SRV_LOG_SPACE_FIRST_ID 0xFFFFFFF0UL | 410 | #define SRV_LOG_SPACE_FIRST_ID 0xFFFFFFF0UL |
3152 | @@ -423,9 +413,8 @@ | |||
3153 | 423 | +#define SRV_EXTRA_SYS_SPACE_FIRST_ID 0xFFFFFFE0UL | 413 | +#define SRV_EXTRA_SYS_SPACE_FIRST_ID 0xFFFFFFE0UL |
3154 | 424 | + | 414 | + |
3155 | 425 | #endif | 415 | #endif |
3159 | 426 | diff -ruN a/storage/innobase/include/trx0sys.h b/storage/innobase/include/trx0sys.h | 416 | --- a/storage/innobase/include/trx0sys.h |
3160 | 427 | --- a/storage/innobase/include/trx0sys.h 2010-12-03 15:41:52.047049291 +0900 | 417 | +++ b/storage/innobase/include/trx0sys.h |
3158 | 428 | +++ b/storage/innobase/include/trx0sys.h 2010-12-04 15:35:58.647551222 +0900 | ||
3161 | 429 | @@ -125,6 +125,22 @@ | 418 | @@ -125,6 +125,22 @@ |
3162 | 430 | /*=============*/ | 419 | /*=============*/ |
3163 | 431 | ulint space, /*!< in: space */ | 420 | ulint space, /*!< in: space */ |
3164 | @@ -472,9 +461,8 @@ | |||
3165 | 472 | #include "fsp0fsp.h" | 461 | #include "fsp0fsp.h" |
3166 | 473 | #define TRX_SYS_PAGE_NO FSP_TRX_SYS_PAGE_NO | 462 | #define TRX_SYS_PAGE_NO FSP_TRX_SYS_PAGE_NO |
3167 | 474 | 463 | ||
3171 | 475 | diff -ruN a/storage/innobase/include/trx0sys.ic b/storage/innobase/include/trx0sys.ic | 464 | --- a/storage/innobase/include/trx0sys.ic |
3172 | 476 | --- a/storage/innobase/include/trx0sys.ic 2010-11-03 07:01:13.000000000 +0900 | 465 | +++ b/storage/innobase/include/trx0sys.ic |
3170 | 477 | +++ b/storage/innobase/include/trx0sys.ic 2010-12-04 15:35:58.649473284 +0900 | ||
3173 | 478 | @@ -71,6 +71,40 @@ | 466 | @@ -71,6 +71,40 @@ |
3174 | 479 | } | 467 | } |
3175 | 480 | 468 | ||
3176 | @@ -516,9 +504,8 @@ | |||
3177 | 516 | Gets the pointer in the nth slot of the rseg array. | 504 | Gets the pointer in the nth slot of the rseg array. |
3178 | 517 | @return pointer to rseg object, NULL if slot not in use */ | 505 | @return pointer to rseg object, NULL if slot not in use */ |
3179 | 518 | UNIV_INLINE | 506 | UNIV_INLINE |
3183 | 519 | diff -ruN a/storage/innobase/row/row0mysql.c b/storage/innobase/row/row0mysql.c | 507 | --- a/storage/innobase/row/row0mysql.c |
3184 | 520 | --- a/storage/innobase/row/row0mysql.c 2010-12-03 17:30:16.334989510 +0900 | 508 | +++ b/storage/innobase/row/row0mysql.c |
3182 | 521 | +++ b/storage/innobase/row/row0mysql.c 2010-12-04 15:35:58.652496484 +0900 | ||
3185 | 522 | @@ -3447,7 +3447,7 @@ | 509 | @@ -3447,7 +3447,7 @@ |
3186 | 523 | /* Do not drop possible .ibd tablespace if something went | 510 | /* Do not drop possible .ibd tablespace if something went |
3187 | 524 | wrong: we do not want to delete valuable data of the user */ | 511 | wrong: we do not want to delete valuable data of the user */ |
3188 | @@ -528,9 +515,8 @@ | |||
3189 | 528 | if (!fil_space_for_table_exists_in_mem(space_id, | 515 | if (!fil_space_for_table_exists_in_mem(space_id, |
3190 | 529 | name_or_path, | 516 | name_or_path, |
3191 | 530 | is_temp, FALSE, | 517 | is_temp, FALSE, |
3195 | 531 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 518 | --- a/storage/innobase/srv/srv0srv.c |
3196 | 532 | --- a/storage/innobase/srv/srv0srv.c 2010-12-04 15:35:29.180483212 +0900 | 519 | +++ b/storage/innobase/srv/srv0srv.c |
3194 | 533 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-04 15:35:58.656550107 +0900 | ||
3197 | 534 | @@ -163,6 +163,8 @@ | 520 | @@ -163,6 +163,8 @@ |
3198 | 535 | /* size in database pages */ | 521 | /* size in database pages */ |
3199 | 536 | UNIV_INTERN ulint* srv_data_file_sizes = NULL; | 522 | UNIV_INTERN ulint* srv_data_file_sizes = NULL; |
3200 | @@ -540,9 +526,8 @@ | |||
3201 | 540 | UNIV_INTERN ibool srv_recovery_stats = FALSE; | 526 | UNIV_INTERN ibool srv_recovery_stats = FALSE; |
3202 | 541 | 527 | ||
3203 | 542 | /* if TRUE, then we auto-extend the last data file */ | 528 | /* if TRUE, then we auto-extend the last data file */ |
3207 | 543 | diff -ruN a/storage/innobase/srv/srv0start.c b/storage/innobase/srv/srv0start.c | 529 | --- a/storage/innobase/srv/srv0start.c |
3208 | 544 | --- a/storage/innobase/srv/srv0start.c 2010-12-04 15:35:29.183481330 +0900 | 530 | +++ b/storage/innobase/srv/srv0start.c |
3206 | 545 | +++ b/storage/innobase/srv/srv0start.c 2010-12-04 15:35:58.661550545 +0900 | ||
3209 | 546 | @@ -714,6 +714,7 @@ | 531 | @@ -714,6 +714,7 @@ |
3210 | 547 | /*======================*/ | 532 | /*======================*/ |
3211 | 548 | ibool* create_new_db, /*!< out: TRUE if new database should be | 533 | ibool* create_new_db, /*!< out: TRUE if new database should be |
3212 | @@ -765,9 +750,8 @@ | |||
3213 | 765 | } | 750 | } |
3214 | 766 | 751 | ||
3215 | 767 | if (!create_new_db && sum_of_new_sizes > 0) { | 752 | if (!create_new_db && sum_of_new_sizes > 0) { |
3219 | 768 | diff -ruN a/storage/innobase/trx/trx0sys.c b/storage/innobase/trx/trx0sys.c | 753 | --- a/storage/innobase/trx/trx0sys.c |
3220 | 769 | --- a/storage/innobase/trx/trx0sys.c 2010-12-03 17:32:15.651024019 +0900 | 754 | +++ b/storage/innobase/trx/trx0sys.c |
3218 | 770 | +++ b/storage/innobase/trx/trx0sys.c 2010-12-04 15:35:58.664550291 +0900 | ||
3221 | 771 | @@ -415,6 +415,152 @@ | 755 | @@ -415,6 +415,152 @@ |
3222 | 772 | 756 | ||
3223 | 773 | goto start_again; | 757 | goto start_again; |
3224 | 774 | 758 | ||
3225 | === modified file 'patches/innodb_show_lock_name.patch' | |||
3226 | --- patches/innodb_show_lock_name.patch 2011-07-22 16:56:42 +0000 | |||
3227 | +++ patches/innodb_show_lock_name.patch 2011-07-27 11:32:35 +0000 | |||
3228 | @@ -5,9 +5,8 @@ | |||
3229 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
3230 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
3231 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
3235 | 8 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 8 | --- a/storage/innobase/handler/ha_innodb.cc |
3236 | 9 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:34:35.285040381 +0900 | 9 | +++ b/storage/innobase/handler/ha_innodb.cc |
3234 | 10 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:35:12.974975252 +0900 | ||
3237 | 11 | @@ -9593,9 +9593,8 @@ | 10 | @@ -9593,9 +9593,8 @@ |
3238 | 12 | rw_lock_wait_time += mutex->lspent_time; | 11 | rw_lock_wait_time += mutex->lspent_time; |
3239 | 13 | } | 12 | } |
3240 | @@ -58,9 +57,8 @@ | |||
3241 | 58 | buf2len = (uint) my_snprintf(buf2, sizeof buf2, | 57 | buf2len = (uint) my_snprintf(buf2, sizeof buf2, |
3242 | 59 | "os_waits=%lu", | 58 | "os_waits=%lu", |
3243 | 60 | (ulong) block_lock_oswait_count); | 59 | (ulong) block_lock_oswait_count); |
3247 | 61 | diff -ruN a/storage/innobase/include/sync0rw.h b/storage/innobase/include/sync0rw.h | 60 | --- a/storage/innobase/include/sync0rw.h |
3248 | 62 | --- a/storage/innobase/include/sync0rw.h 2010-12-03 15:49:59.225953164 +0900 | 61 | +++ b/storage/innobase/include/sync0rw.h |
3246 | 63 | +++ b/storage/innobase/include/sync0rw.h 2010-12-03 17:35:12.978024458 +0900 | ||
3249 | 64 | @@ -138,14 +138,14 @@ | 62 | @@ -138,14 +138,14 @@ |
3250 | 65 | # ifdef UNIV_DEBUG | 63 | # ifdef UNIV_DEBUG |
3251 | 66 | # ifdef UNIV_SYNC_DEBUG | 64 | # ifdef UNIV_SYNC_DEBUG |
3252 | @@ -144,9 +142,8 @@ | |||
3253 | 144 | 142 | ||
3254 | 145 | /******************************************************************//** | 143 | /******************************************************************//** |
3255 | 146 | Performance schema instrumented wrap function for rw_lock_x_lock_func() | 144 | Performance schema instrumented wrap function for rw_lock_x_lock_func() |
3259 | 147 | diff -ruN a/storage/innobase/include/sync0rw.ic b/storage/innobase/include/sync0rw.ic | 145 | --- a/storage/innobase/include/sync0rw.ic |
3260 | 148 | --- a/storage/innobase/include/sync0rw.ic 2010-11-03 07:01:13.000000000 +0900 | 146 | +++ b/storage/innobase/include/sync0rw.ic |
3258 | 149 | +++ b/storage/innobase/include/sync0rw.ic 2010-12-03 17:35:12.980024605 +0900 | ||
3261 | 150 | @@ -640,10 +640,10 @@ | 147 | @@ -640,10 +640,10 @@ |
3262 | 151 | # ifdef UNIV_SYNC_DEBUG | 148 | # ifdef UNIV_SYNC_DEBUG |
3263 | 152 | ulint level, /*!< in: level */ | 149 | ulint level, /*!< in: level */ |
3264 | @@ -175,9 +172,8 @@ | |||
3265 | 175 | } | 172 | } |
3266 | 176 | /******************************************************************//** | 173 | /******************************************************************//** |
3267 | 177 | Performance schema instrumented wrap function for rw_lock_x_lock_func() | 174 | Performance schema instrumented wrap function for rw_lock_x_lock_func() |
3271 | 178 | diff -ruN a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h | 175 | --- a/storage/innobase/include/sync0sync.h |
3272 | 179 | --- a/storage/innobase/include/sync0sync.h 2010-12-03 15:49:59.227955503 +0900 | 176 | +++ b/storage/innobase/include/sync0sync.h |
3270 | 180 | +++ b/storage/innobase/include/sync0sync.h 2010-12-03 17:35:12.982023946 +0900 | ||
3273 | 181 | @@ -158,14 +158,14 @@ | 177 | @@ -158,14 +158,14 @@ |
3274 | 182 | # ifdef UNIV_DEBUG | 178 | # ifdef UNIV_DEBUG |
3275 | 183 | # ifdef UNIV_SYNC_DEBUG | 179 | # ifdef UNIV_SYNC_DEBUG |
3276 | @@ -270,9 +266,8 @@ | |||
3277 | 270 | #ifdef UNIV_PFS_MUTEX | 266 | #ifdef UNIV_PFS_MUTEX |
3278 | 271 | struct PSI_mutex* pfs_psi; /*!< The performance schema | 267 | struct PSI_mutex* pfs_psi; /*!< The performance schema |
3279 | 272 | instrumentation hook */ | 268 | instrumentation hook */ |
3283 | 273 | diff -ruN a/storage/innobase/include/sync0sync.ic b/storage/innobase/include/sync0sync.ic | 269 | --- a/storage/innobase/include/sync0sync.ic |
3284 | 274 | --- a/storage/innobase/include/sync0sync.ic 2010-11-03 07:01:13.000000000 +0900 | 270 | +++ b/storage/innobase/include/sync0sync.ic |
3282 | 275 | +++ b/storage/innobase/include/sync0sync.ic 2010-12-03 17:35:12.984024599 +0900 | ||
3285 | 276 | @@ -321,13 +321,13 @@ | 271 | @@ -321,13 +321,13 @@ |
3286 | 277 | mysql_pfs_key_t key, /*!< in: Performance Schema key */ | 272 | mysql_pfs_key_t key, /*!< in: Performance Schema key */ |
3287 | 278 | mutex_t* mutex, /*!< in: pointer to memory */ | 273 | mutex_t* mutex, /*!< in: pointer to memory */ |
3288 | @@ -307,9 +302,8 @@ | |||
3289 | 307 | } | 302 | } |
3290 | 308 | /******************************************************************//** | 303 | /******************************************************************//** |
3291 | 309 | NOTE! Please use the corresponding macro mutex_free(), not directly | 304 | NOTE! Please use the corresponding macro mutex_free(), not directly |
3295 | 310 | diff -ruN a/storage/innobase/sync/sync0arr.c b/storage/innobase/sync/sync0arr.c | 305 | --- a/storage/innobase/sync/sync0arr.c |
3296 | 311 | --- a/storage/innobase/sync/sync0arr.c 2010-12-03 15:09:51.304953409 +0900 | 306 | +++ b/storage/innobase/sync/sync0arr.c |
3294 | 312 | +++ b/storage/innobase/sync/sync0arr.c 2010-12-03 17:35:12.985024561 +0900 | ||
3297 | 313 | @@ -489,13 +489,12 @@ | 307 | @@ -489,13 +489,12 @@ |
3298 | 314 | mutex = cell->old_wait_mutex; | 308 | mutex = cell->old_wait_mutex; |
3299 | 315 | 309 | ||
3300 | @@ -338,9 +332,8 @@ | |||
3301 | 338 | writer = rw_lock_get_writer(rwlock); | 332 | writer = rw_lock_get_writer(rwlock); |
3302 | 339 | if (writer != RW_LOCK_NOT_LOCKED) { | 333 | if (writer != RW_LOCK_NOT_LOCKED) { |
3303 | 340 | fprintf(file, | 334 | fprintf(file, |
3307 | 341 | diff -ruN a/storage/innobase/sync/sync0rw.c b/storage/innobase/sync/sync0rw.c | 335 | --- a/storage/innobase/sync/sync0rw.c |
3308 | 342 | --- a/storage/innobase/sync/sync0rw.c 2010-11-03 07:01:13.000000000 +0900 | 336 | +++ b/storage/innobase/sync/sync0rw.c |
3306 | 343 | +++ b/storage/innobase/sync/sync0rw.c 2010-12-03 17:35:12.987029059 +0900 | ||
3309 | 344 | @@ -242,10 +242,10 @@ | 337 | @@ -242,10 +242,10 @@ |
3310 | 345 | # ifdef UNIV_SYNC_DEBUG | 338 | # ifdef UNIV_SYNC_DEBUG |
3311 | 346 | ulint level, /*!< in: level */ | 339 | ulint level, /*!< in: level */ |
3312 | @@ -439,9 +432,8 @@ | |||
3313 | 439 | } | 432 | } |
3314 | 440 | 433 | ||
3315 | 441 | /* these stats may not be accurate */ | 434 | /* these stats may not be accurate */ |
3319 | 442 | diff -ruN a/storage/innobase/sync/sync0sync.c b/storage/innobase/sync/sync0sync.c | 435 | --- a/storage/innobase/sync/sync0sync.c |
3320 | 443 | --- a/storage/innobase/sync/sync0sync.c 2010-12-03 15:49:59.233955565 +0900 | 436 | +++ b/storage/innobase/sync/sync0sync.c |
3318 | 444 | +++ b/storage/innobase/sync/sync0sync.c 2010-12-03 17:35:12.989024400 +0900 | ||
3321 | 445 | @@ -270,13 +270,13 @@ | 437 | @@ -270,13 +270,13 @@ |
3322 | 446 | /*==============*/ | 438 | /*==============*/ |
3323 | 447 | mutex_t* mutex, /*!< in: pointer to memory */ | 439 | mutex_t* mutex, /*!< in: pointer to memory */ |
3324 | 448 | 440 | ||
3325 | === modified file 'patches/innodb_show_status.patch' | |||
3326 | --- patches/innodb_show_status.patch 2011-07-22 16:56:42 +0000 | |||
3327 | +++ patches/innodb_show_status.patch 2011-07-27 11:32:35 +0000 | |||
3328 | @@ -5,9 +5,8 @@ | |||
3329 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
3330 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
3331 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
3335 | 8 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 8 | --- a/storage/innobase/buf/buf0buf.c |
3336 | 9 | --- a/storage/innobase/buf/buf0buf.c 2010-11-03 07:01:13.000000000 +0900 | 9 | +++ b/storage/innobase/buf/buf0buf.c |
3334 | 10 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-03 15:07:31.786968193 +0900 | ||
3337 | 11 | @@ -4831,6 +4831,7 @@ | 10 | @@ -4831,6 +4831,7 @@ |
3338 | 12 | } | 11 | } |
3339 | 13 | 12 | ||
3340 | @@ -47,9 +46,8 @@ | |||
3341 | 47 | pool_info->free_list_len, | 46 | pool_info->free_list_len, |
3342 | 48 | pool_info->lru_len, | 47 | pool_info->lru_len, |
3343 | 49 | pool_info->old_lru_len, | 48 | pool_info->old_lru_len, |
3347 | 50 | diff -ruN a/storage/innobase/buf/buf0flu.c b/storage/innobase/buf/buf0flu.c | 49 | --- a/storage/innobase/buf/buf0flu.c |
3348 | 51 | --- a/storage/innobase/buf/buf0flu.c 2010-12-03 20:58:26.000000000 +0300 | 50 | +++ b/storage/innobase/buf/buf0flu.c |
3346 | 52 | +++ b/storage/innobase/buf/buf0flu.c 2011-01-07 03:37:41.000000000 +0300 | ||
3349 | 53 | @@ -75,7 +75,7 @@ | 51 | @@ -75,7 +75,7 @@ |
3350 | 54 | static buf_flush_stat_t buf_flush_stat_sum; | 52 | static buf_flush_stat_t buf_flush_stat_sum; |
3351 | 55 | 53 | ||
3352 | @@ -59,9 +57,8 @@ | |||
3353 | 59 | 57 | ||
3354 | 60 | /* @} */ | 58 | /* @} */ |
3355 | 61 | 59 | ||
3359 | 62 | diff -ruN a/storage/innobase/fil/fil0fil.c b/storage/innobase/fil/fil0fil.c | 60 | --- a/storage/innobase/fil/fil0fil.c |
3360 | 63 | --- a/storage/innobase/fil/fil0fil.c 2010-11-03 07:01:13.000000000 +0900 | 61 | +++ b/storage/innobase/fil/fil0fil.c |
3358 | 64 | +++ b/storage/innobase/fil/fil0fil.c 2010-12-03 15:07:31.790357112 +0900 | ||
3361 | 65 | @@ -4888,3 +4888,30 @@ | 62 | @@ -4888,3 +4888,30 @@ |
3362 | 66 | 63 | ||
3363 | 67 | fil_system = NULL; | 64 | fil_system = NULL; |
3364 | @@ -93,9 +90,8 @@ | |||
3365 | 93 | + return 0; | 90 | + return 0; |
3366 | 94 | + } | 91 | + } |
3367 | 95 | +} | 92 | +} |
3371 | 96 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 93 | --- a/storage/innobase/handler/ha_innodb.cc |
3372 | 97 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:06:58.727955654 +0900 | 94 | +++ b/storage/innobase/handler/ha_innodb.cc |
3370 | 98 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:07:31.799376984 +0900 | ||
3373 | 99 | @@ -603,6 +603,8 @@ | 95 | @@ -603,6 +603,8 @@ |
3374 | 100 | (char*) &export_vars.innodb_buffer_pool_pages_dirty, SHOW_LONG}, | 96 | (char*) &export_vars.innodb_buffer_pool_pages_dirty, SHOW_LONG}, |
3375 | 101 | {"buffer_pool_pages_flushed", | 97 | {"buffer_pool_pages_flushed", |
3376 | @@ -140,9 +136,8 @@ | |||
3377 | 140 | MYSQL_SYSVAR(version), | 136 | MYSQL_SYSVAR(version), |
3378 | 141 | MYSQL_SYSVAR(use_sys_malloc), | 137 | MYSQL_SYSVAR(use_sys_malloc), |
3379 | 142 | MYSQL_SYSVAR(use_native_aio), | 138 | MYSQL_SYSVAR(use_native_aio), |
3383 | 143 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 139 | --- a/storage/innobase/include/buf0buf.h |
3384 | 144 | --- a/storage/innobase/include/buf0buf.h 2011-01-20 07:37:08.000000000 +0900 | 140 | +++ b/storage/innobase/include/buf0buf.h |
3382 | 145 | +++ b/storage/innobase/include/buf0buf.h 2011-02-14 15:25:20.859126532 +0900 | ||
3385 | 146 | @@ -125,6 +125,7 @@ | 141 | @@ -125,6 +125,7 @@ |
3386 | 147 | /* General buffer pool info */ | 142 | /* General buffer pool info */ |
3387 | 148 | ulint pool_unique_id; /*!< Buffer Pool ID */ | 143 | ulint pool_unique_id; /*!< Buffer Pool ID */ |
3388 | @@ -151,9 +146,8 @@ | |||
3389 | 151 | ulint lru_len; /*!< Length of buf_pool->LRU */ | 146 | ulint lru_len; /*!< Length of buf_pool->LRU */ |
3390 | 152 | ulint old_lru_len; /*!< buf_pool->LRU_old_len */ | 147 | ulint old_lru_len; /*!< buf_pool->LRU_old_len */ |
3391 | 153 | ulint free_list_len; /*!< Length of buf_pool->free list */ | 148 | ulint free_list_len; /*!< Length of buf_pool->free list */ |
3395 | 154 | diff -ruN a/storage/innobase/include/fil0fil.h b/storage/innobase/include/fil0fil.h | 149 | --- a/storage/innobase/include/fil0fil.h |
3396 | 155 | --- a/storage/innobase/include/fil0fil.h 2010-11-03 07:01:13.000000000 +0900 | 150 | +++ b/storage/innobase/include/fil0fil.h |
3394 | 156 | +++ b/storage/innobase/include/fil0fil.h 2010-12-03 15:07:31.812028575 +0900 | ||
3397 | 157 | @@ -726,6 +726,17 @@ | 151 | @@ -726,6 +726,17 @@ |
3398 | 158 | /*============================*/ | 152 | /*============================*/ |
3399 | 159 | ulint id); /*!< in: space id */ | 153 | ulint id); /*!< in: space id */ |
3400 | @@ -172,9 +166,8 @@ | |||
3401 | 172 | typedef struct fil_space_struct fil_space_t; | 166 | typedef struct fil_space_struct fil_space_t; |
3402 | 173 | 167 | ||
3403 | 174 | #endif | 168 | #endif |
3407 | 175 | diff -ruN a/storage/innobase/include/read0read.h b/storage/innobase/include/read0read.h | 169 | --- a/storage/innobase/include/read0read.h |
3408 | 176 | --- a/storage/innobase/include/read0read.h 2010-12-04 02:58:26.000000000 +0900 | 170 | +++ b/storage/innobase/include/read0read.h |
3406 | 177 | +++ b/storage/innobase/include/read0read.h 2011-01-21 19:35:44.127631727 +0900 | ||
3409 | 178 | @@ -88,6 +88,7 @@ | 171 | @@ -88,6 +88,7 @@ |
3410 | 179 | void | 172 | void |
3411 | 180 | read_view_print( | 173 | read_view_print( |
3412 | @@ -183,9 +176,8 @@ | |||
3413 | 183 | const read_view_t* view); /*!< in: read view */ | 176 | const read_view_t* view); /*!< in: read view */ |
3414 | 184 | /*********************************************************************//** | 177 | /*********************************************************************//** |
3415 | 185 | Create a consistent cursor view for mysql to be used in cursors. In this | 178 | Create a consistent cursor view for mysql to be used in cursors. In this |
3419 | 186 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 179 | --- a/storage/innobase/include/srv0srv.h |
3420 | 187 | --- a/storage/innobase/include/srv0srv.h 2010-11-03 07:01:13.000000000 +0900 | 180 | +++ b/storage/innobase/include/srv0srv.h |
3418 | 188 | +++ b/storage/innobase/include/srv0srv.h 2010-12-03 15:07:31.813958103 +0900 | ||
3421 | 189 | @@ -142,6 +142,9 @@ | 181 | @@ -142,6 +142,9 @@ |
3422 | 190 | extern char srv_adaptive_flushing; | 182 | extern char srv_adaptive_flushing; |
3423 | 191 | 183 | ||
3424 | @@ -213,9 +205,8 @@ | |||
3425 | 213 | ulint innodb_buffer_pool_write_requests;/*!< srv_buf_pool_write_requests */ | 205 | ulint innodb_buffer_pool_write_requests;/*!< srv_buf_pool_write_requests */ |
3426 | 214 | ulint innodb_buffer_pool_read_ahead; /*!< srv_read_ahead */ | 206 | ulint innodb_buffer_pool_read_ahead; /*!< srv_read_ahead */ |
3427 | 215 | ulint innodb_buffer_pool_read_ahead_evicted;/*!< srv_read_ahead evicted*/ | 207 | ulint innodb_buffer_pool_read_ahead_evicted;/*!< srv_read_ahead evicted*/ |
3431 | 216 | diff -ruN a/storage/innobase/lock/lock0lock.c b/storage/innobase/lock/lock0lock.c | 208 | --- a/storage/innobase/lock/lock0lock.c |
3432 | 217 | --- a/storage/innobase/lock/lock0lock.c 2010-11-03 07:01:13.000000000 +0900 | 209 | +++ b/storage/innobase/lock/lock0lock.c |
3430 | 218 | +++ b/storage/innobase/lock/lock0lock.c 2010-12-03 15:07:31.819023998 +0900 | ||
3433 | 219 | @@ -4374,6 +4374,7 @@ | 210 | @@ -4374,6 +4374,7 @@ |
3434 | 220 | 211 | ||
3435 | 221 | putc('\n', file); | 212 | putc('\n', file); |
3436 | @@ -252,9 +243,8 @@ | |||
3437 | 252 | " SUPPRESSING FURTHER PRINTS\n", | 243 | " SUPPRESSING FURTHER PRINTS\n", |
3438 | 253 | file); | 244 | file); |
3439 | 254 | 245 | ||
3443 | 255 | diff -ruN a/storage/innobase/read/read0read.c b/storage/innobase/read/read0read.c | 246 | --- a/storage/innobase/read/read0read.c |
3444 | 256 | --- a/storage/innobase/read/read0read.c 2010-12-04 02:58:26.000000000 +0900 | 247 | +++ b/storage/innobase/read/read0read.c |
3442 | 257 | +++ b/storage/innobase/read/read0read.c 2011-01-21 19:37:08.292650181 +0900 | ||
3445 | 258 | @@ -357,34 +357,35 @@ | 248 | @@ -357,34 +357,35 @@ |
3446 | 259 | void | 249 | void |
3447 | 260 | read_view_print( | 250 | read_view_print( |
3448 | @@ -298,9 +288,8 @@ | |||
3449 | 298 | (ullint) read_view_get_nth_trx_id(view, i)); | 288 | (ullint) read_view_get_nth_trx_id(view, i)); |
3450 | 299 | } | 289 | } |
3451 | 300 | } | 290 | } |
3455 | 301 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 291 | --- a/storage/innobase/srv/srv0srv.c |
3456 | 302 | --- a/storage/innobase/srv/srv0srv.c 2010-11-03 07:01:13.000000000 +0900 | 292 | +++ b/storage/innobase/srv/srv0srv.c |
3454 | 303 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 15:07:31.824022673 +0900 | ||
3457 | 304 | @@ -83,6 +83,7 @@ | 293 | @@ -83,6 +83,7 @@ |
3458 | 305 | #include "ha_prototypes.h" | 294 | #include "ha_prototypes.h" |
3459 | 306 | #include "trx0i_s.h" | 295 | #include "trx0i_s.h" |
3460 | @@ -513,9 +502,8 @@ | |||
3461 | 513 | export_vars.innodb_buffer_pool_reads = srv_buf_pool_reads; | 502 | export_vars.innodb_buffer_pool_reads = srv_buf_pool_reads; |
3462 | 514 | export_vars.innodb_buffer_pool_read_ahead | 503 | export_vars.innodb_buffer_pool_read_ahead |
3463 | 515 | = stat.n_ra_pages_read; | 504 | = stat.n_ra_pages_read; |
3467 | 516 | diff -ruN a/storage/innobase/sync/sync0arr.c b/storage/innobase/sync/sync0arr.c | 505 | --- a/storage/innobase/sync/sync0arr.c |
3468 | 517 | --- a/storage/innobase/sync/sync0arr.c 2010-11-03 07:01:13.000000000 +0900 | 506 | +++ b/storage/innobase/sync/sync0arr.c |
3466 | 518 | +++ b/storage/innobase/sync/sync0arr.c 2010-12-03 15:07:31.826041368 +0900 | ||
3469 | 519 | @@ -478,7 +478,7 @@ | 507 | @@ -478,7 +478,7 @@ |
3470 | 520 | 508 | ||
3471 | 521 | fprintf(file, | 509 | fprintf(file, |
3472 | @@ -525,9 +513,8 @@ | |||
3473 | 525 | (ulong) os_thread_pf(cell->thread), | 513 | (ulong) os_thread_pf(cell->thread), |
3474 | 526 | innobase_basename(cell->file), (ulong) cell->line, | 514 | innobase_basename(cell->file), (ulong) cell->line, |
3475 | 527 | difftime(time(NULL), cell->reservation_time)); | 515 | difftime(time(NULL), cell->reservation_time)); |
3479 | 528 | diff -ruN a/storage/innobase/trx/trx0purge.c b/storage/innobase/trx/trx0purge.c | 516 | --- a/storage/innobase/trx/trx0purge.c |
3480 | 529 | --- a/storage/innobase/trx/trx0purge.c 2010-12-04 02:58:26.000000000 +0900 | 517 | +++ b/storage/innobase/trx/trx0purge.c |
3478 | 530 | +++ b/storage/innobase/trx/trx0purge.c 2011-01-21 19:40:42.086683671 +0900 | ||
3481 | 531 | @@ -1212,7 +1212,7 @@ | 518 | @@ -1212,7 +1212,7 @@ |
3482 | 532 | /*=====================*/ | 519 | /*=====================*/ |
3483 | 533 | { | 520 | { |
3484 | 534 | 521 | ||
3485 | === modified file 'patches/innodb_show_status_extend.patch' | |||
3486 | --- patches/innodb_show_status_extend.patch 2011-07-22 16:56:42 +0000 | |||
3487 | +++ patches/innodb_show_status_extend.patch 2011-07-27 11:32:35 +0000 | |||
3488 | @@ -5,9 +5,8 @@ | |||
3489 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
3490 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
3491 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
3495 | 8 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 8 | --- a/storage/innobase/handler/ha_innodb.cc |
3496 | 9 | --- a/storage/innobase/handler/ha_innodb.cc 2011-01-21 19:53:42.369599743 +0900 | 9 | +++ b/storage/innobase/handler/ha_innodb.cc |
3494 | 10 | +++ b/storage/innobase/handler/ha_innodb.cc 2011-01-21 19:54:44.659599699 +0900 | ||
3497 | 11 | @@ -638,6 +638,16 @@ | 10 | @@ -638,6 +638,16 @@ |
3498 | 12 | trx_t* trx); /*!< in: transaction handle */ | 11 | trx_t* trx); /*!< in: transaction handle */ |
3499 | 13 | 12 | ||
3500 | @@ -156,9 +155,8 @@ | |||
3501 | 156 | {NullS, NullS, SHOW_LONG} | 155 | {NullS, NullS, SHOW_LONG} |
3502 | 157 | }; | 156 | }; |
3503 | 158 | 157 | ||
3507 | 159 | diff -ruN a/storage/innobase/ibuf/ibuf0ibuf.c b/storage/innobase/ibuf/ibuf0ibuf.c | 158 | --- a/storage/innobase/ibuf/ibuf0ibuf.c |
3508 | 160 | --- a/storage/innobase/ibuf/ibuf0ibuf.c 2011-02-03 15:05:04.000000000 +0900 | 159 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c |
3506 | 161 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c 2011-02-03 15:19:47.000000000 +0900 | ||
3509 | 162 | @@ -469,6 +469,45 @@ | 160 | @@ -469,6 +469,45 @@ |
3510 | 163 | } | 161 | } |
3511 | 164 | 162 | ||
3512 | @@ -205,9 +203,8 @@ | |||
3513 | 205 | Updates the size information of the ibuf, assuming the segment size has not | 203 | Updates the size information of the ibuf, assuming the segment size has not |
3514 | 206 | changed. */ | 204 | changed. */ |
3515 | 207 | static | 205 | static |
3519 | 208 | diff -ruN a/storage/innobase/include/ibuf0ibuf.h b/storage/innobase/include/ibuf0ibuf.h | 206 | --- a/storage/innobase/include/ibuf0ibuf.h |
3520 | 209 | --- a/storage/innobase/include/ibuf0ibuf.h 2010-12-04 02:58:26.000000000 +0900 | 207 | +++ b/storage/innobase/include/ibuf0ibuf.h |
3518 | 210 | +++ b/storage/innobase/include/ibuf0ibuf.h 2011-02-03 15:19:47.000000000 +0900 | ||
3521 | 211 | @@ -438,6 +438,22 @@ | 208 | @@ -438,6 +438,22 @@ |
3522 | 212 | void | 209 | void |
3523 | 213 | ibuf_close(void); | 210 | ibuf_close(void); |
3524 | @@ -231,9 +228,8 @@ | |||
3525 | 231 | 228 | ||
3526 | 232 | #define IBUF_HEADER_PAGE_NO FSP_IBUF_HEADER_PAGE_NO | 229 | #define IBUF_HEADER_PAGE_NO FSP_IBUF_HEADER_PAGE_NO |
3527 | 233 | #define IBUF_TREE_ROOT_PAGE_NO FSP_IBUF_TREE_ROOT_PAGE_NO | 230 | #define IBUF_TREE_ROOT_PAGE_NO FSP_IBUF_TREE_ROOT_PAGE_NO |
3531 | 234 | diff -ruN a/storage/innobase/include/lock0lock.h b/storage/innobase/include/lock0lock.h | 231 | --- a/storage/innobase/include/lock0lock.h |
3532 | 235 | --- a/storage/innobase/include/lock0lock.h 2011-01-21 19:52:38.967683738 +0900 | 232 | +++ b/storage/innobase/include/lock0lock.h |
3530 | 236 | +++ b/storage/innobase/include/lock0lock.h 2011-01-21 19:54:44.660599140 +0900 | ||
3533 | 237 | @@ -816,6 +816,7 @@ | 233 | @@ -816,6 +816,7 @@ |
3534 | 238 | /** The lock system struct */ | 234 | /** The lock system struct */ |
3535 | 239 | struct lock_sys_struct{ | 235 | struct lock_sys_struct{ |
3536 | @@ -242,9 +238,8 @@ | |||
3537 | 242 | }; | 238 | }; |
3538 | 243 | 239 | ||
3539 | 244 | /** The lock system */ | 240 | /** The lock system */ |
3543 | 245 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 241 | --- a/storage/innobase/include/srv0srv.h |
3544 | 246 | --- a/storage/innobase/include/srv0srv.h 2011-01-21 19:53:42.380638228 +0900 | 242 | +++ b/storage/innobase/include/srv0srv.h |
3542 | 247 | +++ b/storage/innobase/include/srv0srv.h 2011-01-21 19:54:44.662600032 +0900 | ||
3545 | 248 | @@ -731,6 +731,11 @@ | 243 | @@ -731,6 +731,11 @@ |
3546 | 249 | 244 | ||
3547 | 250 | /** Status variables to be passed to MySQL */ | 245 | /** Status variables to be passed to MySQL */ |
3548 | @@ -339,9 +334,8 @@ | |||
3549 | 339 | }; | 334 | }; |
3550 | 340 | 335 | ||
3551 | 341 | /** Thread slot in the thread table */ | 336 | /** Thread slot in the thread table */ |
3555 | 342 | diff -ruN a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h | 337 | --- a/storage/innobase/include/sync0sync.h |
3556 | 343 | --- a/storage/innobase/include/sync0sync.h 2011-01-21 19:48:45.982637372 +0900 | 338 | +++ b/storage/innobase/include/sync0sync.h |
3554 | 344 | +++ b/storage/innobase/include/sync0sync.h 2011-01-21 19:54:44.664638235 +0900 | ||
3557 | 345 | @@ -769,6 +769,10 @@ | 339 | @@ -769,6 +769,10 @@ |
3558 | 346 | 340 | ||
3559 | 347 | #define SYNC_SPIN_ROUNDS srv_n_spin_wait_rounds | 341 | #define SYNC_SPIN_ROUNDS srv_n_spin_wait_rounds |
3560 | @@ -353,9 +347,8 @@ | |||
3561 | 353 | /** The number of mutex_exit calls. Intended for performance monitoring. */ | 347 | /** The number of mutex_exit calls. Intended for performance monitoring. */ |
3562 | 354 | extern ib_int64_t mutex_exit_count; | 348 | extern ib_int64_t mutex_exit_count; |
3563 | 355 | 349 | ||
3567 | 356 | diff -ruN a/storage/innobase/lock/lock0lock.c b/storage/innobase/lock/lock0lock.c | 350 | --- a/storage/innobase/lock/lock0lock.c |
3568 | 357 | --- a/storage/innobase/lock/lock0lock.c 2011-01-21 19:52:38.998600121 +0900 | 351 | +++ b/storage/innobase/lock/lock0lock.c |
3566 | 358 | +++ b/storage/innobase/lock/lock0lock.c 2011-01-21 19:54:44.668637536 +0900 | ||
3569 | 359 | @@ -571,6 +571,7 @@ | 352 | @@ -571,6 +571,7 @@ |
3570 | 360 | lock_sys = mem_alloc(sizeof(lock_sys_t)); | 353 | lock_sys = mem_alloc(sizeof(lock_sys_t)); |
3571 | 361 | 354 | ||
3572 | @@ -388,9 +381,8 @@ | |||
3573 | 388 | 381 | ||
3574 | 389 | UT_LIST_REMOVE(trx_locks, trx->trx_locks, in_lock); | 382 | UT_LIST_REMOVE(trx_locks, trx->trx_locks, in_lock); |
3575 | 390 | } | 383 | } |
3579 | 391 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 384 | --- a/storage/innobase/srv/srv0srv.c |
3580 | 392 | --- a/storage/innobase/srv/srv0srv.c 2011-01-21 19:53:42.390637840 +0900 | 385 | +++ b/storage/innobase/srv/srv0srv.c |
3578 | 393 | +++ b/storage/innobase/srv/srv0srv.c 2011-01-21 19:54:44.673637084 +0900 | ||
3581 | 394 | @@ -2253,12 +2253,49 @@ | 386 | @@ -2253,12 +2253,49 @@ |
3582 | 395 | ulint LRU_len; | 387 | ulint LRU_len; |
3583 | 396 | ulint free_len; | 388 | ulint free_len; |
3584 | @@ -534,9 +526,8 @@ | |||
3585 | 534 | #ifdef HAVE_ATOMIC_BUILTINS | 526 | #ifdef HAVE_ATOMIC_BUILTINS |
3586 | 535 | export_vars.innodb_have_atomic_builtins = 1; | 527 | export_vars.innodb_have_atomic_builtins = 1; |
3587 | 536 | #else | 528 | #else |
3591 | 537 | diff -ruN a/storage/innobase/sync/sync0sync.c b/storage/innobase/sync/sync0sync.c | 529 | --- a/storage/innobase/sync/sync0sync.c |
3592 | 538 | --- a/storage/innobase/sync/sync0sync.c 2011-01-21 19:53:03.458637954 +0900 | 530 | +++ b/storage/innobase/sync/sync0sync.c |
3590 | 539 | +++ b/storage/innobase/sync/sync0sync.c 2011-01-21 19:54:44.676637686 +0900 | ||
3593 | 540 | @@ -171,13 +171,13 @@ | 531 | @@ -171,13 +171,13 @@ |
3594 | 541 | 532 | ||
3595 | 542 | /** The number of iterations in the mutex_spin_wait() spin loop. | 533 | /** The number of iterations in the mutex_spin_wait() spin loop. |
3596 | 543 | 534 | ||
3597 | === modified file 'patches/innodb_show_sys_tables.patch' | |||
3598 | --- patches/innodb_show_sys_tables.patch 2011-07-22 16:56:42 +0000 | |||
3599 | +++ patches/innodb_show_sys_tables.patch 2011-07-27 11:32:35 +0000 | |||
3600 | @@ -5,9 +5,8 @@ | |||
3601 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
3602 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
3603 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
3607 | 8 | diff -ruN a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load.c | 8 | --- a/storage/innobase/dict/dict0load.c |
3608 | 9 | --- a/storage/innobase/dict/dict0load.c 2011-01-20 07:37:08.000000000 +0900 | 9 | +++ b/storage/innobase/dict/dict0load.c |
3606 | 10 | +++ b/storage/innobase/dict/dict0load.c 2011-02-14 18:59:40.774162959 +0900 | ||
3609 | 11 | @@ -437,7 +437,7 @@ | 10 | @@ -437,7 +437,7 @@ |
3610 | 12 | 11 | ||
3611 | 13 | } | 12 | } |
3612 | @@ -38,9 +37,8 @@ | |||
3613 | 38 | 37 | ||
3614 | 39 | /********************************************************************//** | 38 | /********************************************************************//** |
3615 | 40 | Determine the flags of a table described in SYS_TABLES. | 39 | Determine the flags of a table described in SYS_TABLES. |
3619 | 41 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 40 | --- a/storage/innobase/handler/ha_innodb.cc |
3620 | 42 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:53:54.615040167 +0900 | 41 | +++ b/storage/innobase/handler/ha_innodb.cc |
3618 | 43 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 16:07:26.851357007 +0900 | ||
3621 | 44 | @@ -11772,7 +11772,14 @@ | 42 | @@ -11772,7 +11772,14 @@ |
3622 | 45 | i_s_innodb_cmp, | 43 | i_s_innodb_cmp, |
3623 | 46 | i_s_innodb_cmp_reset, | 44 | i_s_innodb_cmp_reset, |
3624 | @@ -57,9 +55,8 @@ | |||
3625 | 57 | mysql_declare_plugin_end; | 55 | mysql_declare_plugin_end; |
3626 | 58 | 56 | ||
3627 | 59 | /** @brief Initialize the default value of innodb_commit_concurrency. | 57 | /** @brief Initialize the default value of innodb_commit_concurrency. |
3631 | 60 | diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc | 58 | --- a/storage/innobase/handler/i_s.cc |
3632 | 61 | --- a/storage/innobase/handler/i_s.cc 2010-12-03 15:49:59.207956807 +0900 | 59 | +++ b/storage/innobase/handler/i_s.cc |
3630 | 62 | +++ b/storage/innobase/handler/i_s.cc 2010-12-03 17:10:02.719210529 +0900 | ||
3633 | 63 | @@ -36,9 +36,11 @@ | 60 | @@ -36,9 +36,11 @@ |
3634 | 64 | #include <mysql/innodb_priv.h> | 61 | #include <mysql/innodb_priv.h> |
3635 | 65 | 62 | ||
3636 | @@ -1748,9 +1745,8 @@ | |||
3637 | 1748 | /*********************************************************************** | 1745 | /*********************************************************************** |
3638 | 1749 | */ | 1746 | */ |
3639 | 1750 | static ST_FIELD_INFO i_s_innodb_rseg_fields_info[] = | 1747 | static ST_FIELD_INFO i_s_innodb_rseg_fields_info[] = |
3643 | 1751 | diff -ruN a/storage/innobase/handler/i_s.h b/storage/innobase/handler/i_s.h | 1748 | --- a/storage/innobase/handler/i_s.h |
3644 | 1752 | --- a/storage/innobase/handler/i_s.h 2010-12-03 15:37:45.540456499 +0900 | 1749 | +++ b/storage/innobase/handler/i_s.h |
3642 | 1753 | +++ b/storage/innobase/handler/i_s.h 2010-12-03 16:08:57.596941207 +0900 | ||
3645 | 1754 | @@ -35,6 +35,13 @@ | 1750 | @@ -35,6 +35,13 @@ |
3646 | 1755 | extern struct st_mysql_plugin i_s_innodb_cmp_reset; | 1751 | extern struct st_mysql_plugin i_s_innodb_cmp_reset; |
3647 | 1756 | extern struct st_mysql_plugin i_s_innodb_cmpmem; | 1752 | extern struct st_mysql_plugin i_s_innodb_cmpmem; |
3648 | 1757 | 1753 | ||
3649 | === modified file 'patches/innodb_split_buf_pool_mutex.patch' | |||
3650 | --- patches/innodb_split_buf_pool_mutex.patch 2011-07-22 16:56:42 +0000 | |||
3651 | +++ patches/innodb_split_buf_pool_mutex.patch 2011-07-27 11:32:35 +0000 | |||
3652 | @@ -5,9 +5,8 @@ | |||
3653 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
3654 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
3655 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
3659 | 8 | diff -ruN a/storage/innobase/btr/btr0cur.c b/storage/innobase/btr/btr0cur.c | 8 | --- a/storage/innobase/btr/btr0cur.c |
3660 | 9 | --- a/storage/innobase/btr/btr0cur.c 2010-11-03 07:01:13.000000000 +0900 | 9 | +++ b/storage/innobase/btr/btr0cur.c |
3658 | 10 | +++ b/storage/innobase/btr/btr0cur.c 2010-12-03 15:48:29.268957148 +0900 | ||
3661 | 11 | @@ -4069,7 +4069,8 @@ | 10 | @@ -4069,7 +4069,8 @@ |
3662 | 12 | 11 | ||
3663 | 13 | mtr_commit(mtr); | 12 | mtr_commit(mtr); |
3664 | @@ -44,9 +43,8 @@ | |||
3665 | 44 | mutex_exit(&block->mutex); | 43 | mutex_exit(&block->mutex); |
3666 | 45 | } | 44 | } |
3667 | 46 | 45 | ||
3671 | 47 | diff -ruN a/storage/innobase/btr/btr0sea.c b/storage/innobase/btr/btr0sea.c | 46 | --- a/storage/innobase/btr/btr0sea.c |
3672 | 48 | --- a/storage/innobase/btr/btr0sea.c 2010-12-03 15:48:03.033037049 +0900 | 47 | +++ b/storage/innobase/btr/btr0sea.c |
3670 | 49 | +++ b/storage/innobase/btr/btr0sea.c 2010-12-03 15:48:29.271024260 +0900 | ||
3673 | 50 | @@ -1943,7 +1943,7 @@ | 48 | @@ -1943,7 +1943,7 @@ |
3674 | 51 | rec_offs_init(offsets_); | 49 | rec_offs_init(offsets_); |
3675 | 52 | 50 | ||
3676 | @@ -93,9 +91,8 @@ | |||
3677 | 93 | rw_lock_x_unlock(&btr_search_latch); | 91 | rw_lock_x_unlock(&btr_search_latch); |
3678 | 94 | if (UNIV_LIKELY_NULL(heap)) { | 92 | if (UNIV_LIKELY_NULL(heap)) { |
3679 | 95 | mem_heap_free(heap); | 93 | mem_heap_free(heap); |
3683 | 96 | diff -ruN a/storage/innobase/buf/buf0buddy.c b/storage/innobase/buf/buf0buddy.c | 94 | --- a/storage/innobase/buf/buf0buddy.c |
3684 | 97 | --- a/storage/innobase/buf/buf0buddy.c 2010-12-03 15:22:36.307986907 +0900 | 95 | +++ b/storage/innobase/buf/buf0buddy.c |
3682 | 98 | +++ b/storage/innobase/buf/buf0buddy.c 2010-12-03 15:48:29.275025723 +0900 | ||
3685 | 99 | @@ -73,10 +73,11 @@ | 96 | @@ -73,10 +73,11 @@ |
3686 | 100 | if (b) UNIV_MEM_VALID(b, BUF_BUDDY_LOW << i); | 97 | if (b) UNIV_MEM_VALID(b, BUF_BUDDY_LOW << i); |
3687 | 101 | #endif /* UNIV_DEBUG_VALGRIND */ | 98 | #endif /* UNIV_DEBUG_VALGRIND */ |
3688 | @@ -570,9 +567,8 @@ | |||
3689 | 570 | 567 | ||
3690 | 571 | buf = bpage; | 568 | buf = bpage; |
3691 | 572 | UNIV_MEM_VALID(bpage, BUF_BUDDY_LOW << i); | 569 | UNIV_MEM_VALID(bpage, BUF_BUDDY_LOW << i); |
3695 | 573 | diff -ruN a/storage/innobase/buf/buf0buf.c b/storage/innobase/buf/buf0buf.c | 570 | --- a/storage/innobase/buf/buf0buf.c |
3696 | 574 | --- a/storage/innobase/buf/buf0buf.c 2010-12-03 15:22:36.314943336 +0900 | 571 | +++ b/storage/innobase/buf/buf0buf.c |
3694 | 575 | +++ b/storage/innobase/buf/buf0buf.c 2010-12-03 15:48:29.282947357 +0900 | ||
3697 | 576 | @@ -263,6 +263,7 @@ | 572 | @@ -263,6 +263,7 @@ |
3698 | 577 | #ifdef UNIV_PFS_RWLOCK | 573 | #ifdef UNIV_PFS_RWLOCK |
3699 | 578 | /* Keys to register buffer block related rwlocks and mutexes with | 574 | /* Keys to register buffer block related rwlocks and mutexes with |
3700 | @@ -1965,9 +1961,8 @@ | |||
3701 | 1965 | 1961 | ||
3702 | 1966 | return(len); | 1962 | return(len); |
3703 | 1967 | } | 1963 | } |
3707 | 1968 | diff -ruN a/storage/innobase/buf/buf0flu.c b/storage/innobase/buf/buf0flu.c | 1964 | --- a/storage/innobase/buf/buf0flu.c |
3708 | 1969 | --- a/storage/innobase/buf/buf0flu.c 2010-12-03 15:22:36.318955693 +0900 | 1965 | +++ b/storage/innobase/buf/buf0flu.c |
3706 | 1970 | +++ b/storage/innobase/buf/buf0flu.c 2010-12-03 15:48:29.289024083 +0900 | ||
3709 | 1971 | @@ -307,7 +307,7 @@ | 1966 | @@ -307,7 +307,7 @@ |
3710 | 1972 | 1967 | ||
3711 | 1973 | ut_d(block->page.in_flush_list = TRUE); | 1968 | ut_d(block->page.in_flush_list = TRUE); |
3712 | @@ -2392,9 +2387,8 @@ | |||
3713 | 2392 | 2387 | ||
3714 | 2393 | ut_a(!bpage || om >= bpage->oldest_modification); | 2388 | ut_a(!bpage || om >= bpage->oldest_modification); |
3715 | 2394 | } | 2389 | } |
3719 | 2395 | diff -ruN a/storage/innobase/buf/buf0lru.c b/storage/innobase/buf/buf0lru.c | 2390 | --- a/storage/innobase/buf/buf0lru.c |
3720 | 2396 | --- a/storage/innobase/buf/buf0lru.c 2010-12-03 15:22:36.321987250 +0900 | 2391 | +++ b/storage/innobase/buf/buf0lru.c |
3718 | 2397 | +++ b/storage/innobase/buf/buf0lru.c 2010-12-03 15:48:29.293023197 +0900 | ||
3721 | 2398 | @@ -143,8 +143,9 @@ | 2392 | @@ -143,8 +143,9 @@ |
3722 | 2399 | void | 2393 | void |
3723 | 2400 | buf_LRU_block_free_hashed_page( | 2394 | buf_LRU_block_free_hashed_page( |
3724 | @@ -2766,12 +2760,12 @@ | |||
3725 | 2766 | - buf_pool_mutex_enter(buf_pool); | 2760 | - buf_pool_mutex_enter(buf_pool); |
3726 | 2767 | + if (UT_LIST_GET_LEN(buf_pool->unzip_LRU)) | 2761 | + if (UT_LIST_GET_LEN(buf_pool->unzip_LRU)) |
3727 | 2768 | + have_LRU_mutex = TRUE; | 2762 | + have_LRU_mutex = TRUE; |
3728 | 2769 | + | ||
3729 | 2770 | + //buf_pool_mutex_enter(buf_pool); | ||
3730 | 2771 | + if (have_LRU_mutex) | ||
3731 | 2772 | + mutex_enter(&buf_pool->LRU_list_mutex); | ||
3732 | 2773 | 2763 | ||
3733 | 2774 | - freed = buf_LRU_free_from_unzip_LRU_list(buf_pool, n_iterations); | 2764 | - freed = buf_LRU_free_from_unzip_LRU_list(buf_pool, n_iterations); |
3734 | 2765 | + //buf_pool_mutex_enter(buf_pool); | ||
3735 | 2766 | + if (have_LRU_mutex) | ||
3736 | 2767 | + mutex_enter(&buf_pool->LRU_list_mutex); | ||
3737 | 2768 | + | ||
3738 | 2775 | + freed = buf_LRU_free_from_unzip_LRU_list(buf_pool, n_iterations, have_LRU_mutex); | 2769 | + freed = buf_LRU_free_from_unzip_LRU_list(buf_pool, n_iterations, have_LRU_mutex); |
3739 | 2776 | 2770 | ||
3740 | 2777 | if (!freed) { | 2771 | if (!freed) { |
3741 | @@ -3330,9 +3324,8 @@ | |||
3742 | 3330 | } | 3324 | } |
3743 | 3331 | 3325 | ||
3744 | 3332 | /**********************************************************************//** | 3326 | /**********************************************************************//** |
3748 | 3333 | diff -ruN a/storage/innobase/buf/buf0rea.c b/storage/innobase/buf/buf0rea.c | 3327 | --- a/storage/innobase/buf/buf0rea.c |
3749 | 3334 | --- a/storage/innobase/buf/buf0rea.c 2010-12-03 15:22:36.323977308 +0900 | 3328 | +++ b/storage/innobase/buf/buf0rea.c |
3747 | 3335 | +++ b/storage/innobase/buf/buf0rea.c 2010-12-03 15:48:29.296024468 +0900 | ||
3750 | 3336 | @@ -311,6 +311,7 @@ | 3329 | @@ -311,6 +311,7 @@ |
3751 | 3337 | 3330 | ||
3752 | 3338 | return(0); | 3331 | return(0); |
3753 | @@ -3379,9 +3372,8 @@ | |||
3754 | 3379 | 3372 | ||
3755 | 3380 | if ((offset == low) && (succ_offset == offset + 1)) { | 3373 | if ((offset == low) && (succ_offset == offset + 1)) { |
3756 | 3381 | 3374 | ||
3760 | 3382 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 3375 | --- a/storage/innobase/handler/ha_innodb.cc |
3761 | 3383 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:48:03.048955897 +0900 | 3376 | +++ b/storage/innobase/handler/ha_innodb.cc |
3759 | 3384 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:48:29.304024564 +0900 | ||
3762 | 3385 | @@ -264,6 +264,10 @@ | 3377 | @@ -264,6 +264,10 @@ |
3763 | 3386 | # endif /* !PFS_SKIP_BUFFER_MUTEX_RWLOCK */ | 3378 | # endif /* !PFS_SKIP_BUFFER_MUTEX_RWLOCK */ |
3764 | 3387 | {&buf_pool_mutex_key, "buf_pool_mutex", 0}, | 3379 | {&buf_pool_mutex_key, "buf_pool_mutex", 0}, |
3765 | @@ -3401,9 +3393,8 @@ | |||
3766 | 3401 | # ifndef PFS_SKIP_BUFFER_MUTEX_RWLOCK | 3393 | # ifndef PFS_SKIP_BUFFER_MUTEX_RWLOCK |
3767 | 3402 | {&buf_block_lock_key, "buf_block_lock", 0}, | 3394 | {&buf_block_lock_key, "buf_block_lock", 0}, |
3768 | 3403 | # endif /* !PFS_SKIP_BUFFER_MUTEX_RWLOCK */ | 3395 | # endif /* !PFS_SKIP_BUFFER_MUTEX_RWLOCK */ |
3772 | 3404 | diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc | 3396 | --- a/storage/innobase/handler/i_s.cc |
3773 | 3405 | --- a/storage/innobase/handler/i_s.cc 2010-12-03 15:37:45.517105700 +0900 | 3397 | +++ b/storage/innobase/handler/i_s.cc |
3771 | 3406 | +++ b/storage/innobase/handler/i_s.cc 2010-12-03 15:48:29.331024462 +0900 | ||
3774 | 3407 | @@ -1563,7 +1563,8 @@ | 3398 | @@ -1563,7 +1563,8 @@ |
3775 | 3408 | 3399 | ||
3776 | 3409 | buf_pool = buf_pool_from_array(i); | 3400 | buf_pool = buf_pool_from_array(i); |
3777 | @@ -3424,9 +3415,8 @@ | |||
3778 | 3424 | 3415 | ||
3779 | 3425 | if (status) { | 3416 | if (status) { |
3780 | 3426 | break; | 3417 | break; |
3784 | 3427 | diff -ruN a/storage/innobase/ibuf/ibuf0ibuf.c b/storage/innobase/ibuf/ibuf0ibuf.c | 3418 | --- a/storage/innobase/ibuf/ibuf0ibuf.c |
3785 | 3428 | --- a/storage/innobase/ibuf/ibuf0ibuf.c 2010-12-03 15:48:03.068954202 +0900 | 3419 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c |
3783 | 3429 | +++ b/storage/innobase/ibuf/ibuf0ibuf.c 2010-12-03 15:48:29.335988682 +0900 | ||
3786 | 3430 | @@ -3821,9 +3821,11 @@ | 3420 | @@ -3821,9 +3821,11 @@ |
3787 | 3431 | ulint fold = buf_page_address_fold(space, page_no); | 3421 | ulint fold = buf_page_address_fold(space, page_no); |
3788 | 3432 | buf_pool_t* buf_pool = buf_pool_get(space, page_no); | 3422 | buf_pool_t* buf_pool = buf_pool_get(space, page_no); |
3789 | @@ -3441,9 +3431,8 @@ | |||
3790 | 3441 | 3431 | ||
3791 | 3442 | if (UNIV_LIKELY_NULL(bpage)) { | 3432 | if (UNIV_LIKELY_NULL(bpage)) { |
3792 | 3443 | /* A buffer pool watch has been set or the | 3433 | /* A buffer pool watch has been set or the |
3796 | 3444 | diff -ruN a/storage/innobase/include/buf0buddy.h b/storage/innobase/include/buf0buddy.h | 3434 | --- a/storage/innobase/include/buf0buddy.h |
3797 | 3445 | --- a/storage/innobase/include/buf0buddy.h 2010-11-03 07:01:13.000000000 +0900 | 3435 | +++ b/storage/innobase/include/buf0buddy.h |
3795 | 3446 | +++ b/storage/innobase/include/buf0buddy.h 2010-12-03 15:48:29.338023826 +0900 | ||
3798 | 3447 | @@ -51,10 +51,11 @@ | 3436 | @@ -51,10 +51,11 @@ |
3799 | 3448 | buf_pool_t* buf_pool, | 3437 | buf_pool_t* buf_pool, |
3800 | 3449 | /*!< buffer pool in which the block resides */ | 3438 | /*!< buffer pool in which the block resides */ |
3801 | @@ -3467,9 +3456,8 @@ | |||
3802 | 3467 | __attribute__((nonnull)); | 3456 | __attribute__((nonnull)); |
3803 | 3468 | 3457 | ||
3804 | 3469 | #ifndef UNIV_NONINL | 3458 | #ifndef UNIV_NONINL |
3808 | 3470 | diff -ruN a/storage/innobase/include/buf0buddy.ic b/storage/innobase/include/buf0buddy.ic | 3459 | --- a/storage/innobase/include/buf0buddy.ic |
3809 | 3471 | --- a/storage/innobase/include/buf0buddy.ic 2010-11-03 07:01:13.000000000 +0900 | 3460 | +++ b/storage/innobase/include/buf0buddy.ic |
3807 | 3472 | +++ b/storage/innobase/include/buf0buddy.ic 2010-12-03 15:48:29.339040413 +0900 | ||
3810 | 3473 | @@ -46,10 +46,11 @@ | 3461 | @@ -46,10 +46,11 @@ |
3811 | 3474 | /*!< in: buffer pool in which the page resides */ | 3462 | /*!< in: buffer pool in which the page resides */ |
3812 | 3475 | ulint i, /*!< in: index of buf_pool->zip_free[], | 3463 | ulint i, /*!< in: index of buf_pool->zip_free[], |
3813 | @@ -3544,9 +3532,8 @@ | |||
3814 | 3544 | } | 3532 | } |
3815 | 3545 | 3533 | ||
3816 | 3546 | #ifdef UNIV_MATERIALIZE | 3534 | #ifdef UNIV_MATERIALIZE |
3820 | 3547 | diff -ruN a/storage/innobase/include/buf0buf.h b/storage/innobase/include/buf0buf.h | 3535 | --- a/storage/innobase/include/buf0buf.h |
3821 | 3548 | --- a/storage/innobase/include/buf0buf.h 2010-12-03 15:22:36.327954660 +0900 | 3536 | +++ b/storage/innobase/include/buf0buf.h |
3819 | 3549 | +++ b/storage/innobase/include/buf0buf.h 2010-12-03 15:48:29.343024683 +0900 | ||
3822 | 3550 | @@ -205,6 +205,20 @@ | 3537 | @@ -205,6 +205,20 @@ |
3823 | 3551 | /*==========================*/ | 3538 | /*==========================*/ |
3824 | 3552 | 3539 | ||
3825 | @@ -3640,9 +3627,8 @@ | |||
3826 | 3640 | mutex_enter(&b->mutex); \ | 3627 | mutex_enter(&b->mutex); \ |
3827 | 3641 | } while (0) | 3628 | } while (0) |
3828 | 3642 | 3629 | ||
3832 | 3643 | diff -ruN a/storage/innobase/include/buf0buf.ic b/storage/innobase/include/buf0buf.ic | 3630 | --- a/storage/innobase/include/buf0buf.ic |
3833 | 3644 | --- a/storage/innobase/include/buf0buf.ic 2010-11-03 07:01:13.000000000 +0900 | 3631 | +++ b/storage/innobase/include/buf0buf.ic |
3831 | 3645 | +++ b/storage/innobase/include/buf0buf.ic 2010-12-03 15:48:29.345024524 +0900 | ||
3834 | 3646 | @@ -274,7 +274,7 @@ | 3632 | @@ -274,7 +274,7 @@ |
3835 | 3647 | case BUF_BLOCK_ZIP_FREE: | 3633 | case BUF_BLOCK_ZIP_FREE: |
3836 | 3648 | /* This is a free page in buf_pool->zip_free[]. | 3634 | /* This is a free page in buf_pool->zip_free[]. |
3837 | @@ -3887,9 +3873,8 @@ | |||
3838 | 3887 | + } | 3873 | + } |
3839 | 3888 | +} | 3874 | +} |
3840 | 3889 | #endif /* !UNIV_HOTBACKUP */ | 3875 | #endif /* !UNIV_HOTBACKUP */ |
3844 | 3890 | diff -ruN a/storage/innobase/include/buf0lru.h b/storage/innobase/include/buf0lru.h | 3876 | --- a/storage/innobase/include/buf0lru.h |
3845 | 3891 | --- a/storage/innobase/include/buf0lru.h 2010-11-03 07:01:13.000000000 +0900 | 3877 | +++ b/storage/innobase/include/buf0lru.h |
3843 | 3892 | +++ b/storage/innobase/include/buf0lru.h 2010-12-03 15:48:29.349024701 +0900 | ||
3846 | 3893 | @@ -111,8 +111,9 @@ | 3878 | @@ -111,8 +111,9 @@ |
3847 | 3894 | buf_LRU_free_block( | 3879 | buf_LRU_free_block( |
3848 | 3895 | /*===============*/ | 3880 | /*===============*/ |
3849 | @@ -3911,9 +3896,8 @@ | |||
3850 | 3911 | /******************************************************************//** | 3896 | /******************************************************************//** |
3851 | 3912 | Adds a block to the LRU list. */ | 3897 | Adds a block to the LRU list. */ |
3852 | 3913 | UNIV_INTERN | 3898 | UNIV_INTERN |
3856 | 3914 | diff -ruN a/storage/innobase/include/sync0rw.h b/storage/innobase/include/sync0rw.h | 3899 | --- a/storage/innobase/include/sync0rw.h |
3857 | 3915 | --- a/storage/innobase/include/sync0rw.h 2010-11-03 07:01:13.000000000 +0900 | 3900 | +++ b/storage/innobase/include/sync0rw.h |
3855 | 3916 | +++ b/storage/innobase/include/sync0rw.h 2010-12-03 15:48:29.349942993 +0900 | ||
3858 | 3917 | @@ -112,6 +112,7 @@ | 3901 | @@ -112,6 +112,7 @@ |
3859 | 3918 | extern mysql_pfs_key_t archive_lock_key; | 3902 | extern mysql_pfs_key_t archive_lock_key; |
3860 | 3919 | # endif /* UNIV_LOG_ARCHIVE */ | 3903 | # endif /* UNIV_LOG_ARCHIVE */ |
3861 | @@ -3922,9 +3906,8 @@ | |||
3862 | 3922 | extern mysql_pfs_key_t buf_block_lock_key; | 3906 | extern mysql_pfs_key_t buf_block_lock_key; |
3863 | 3923 | # ifdef UNIV_SYNC_DEBUG | 3907 | # ifdef UNIV_SYNC_DEBUG |
3864 | 3924 | extern mysql_pfs_key_t buf_block_debug_latch_key; | 3908 | extern mysql_pfs_key_t buf_block_debug_latch_key; |
3868 | 3925 | diff -ruN a/storage/innobase/include/sync0sync.h b/storage/innobase/include/sync0sync.h | 3909 | --- a/storage/innobase/include/sync0sync.h |
3869 | 3926 | --- a/storage/innobase/include/sync0sync.h 2010-11-03 07:01:13.000000000 +0900 | 3910 | +++ b/storage/innobase/include/sync0sync.h |
3867 | 3927 | +++ b/storage/innobase/include/sync0sync.h 2010-12-03 15:48:29.352024614 +0900 | ||
3870 | 3928 | @@ -75,6 +75,10 @@ | 3911 | @@ -75,6 +75,10 @@ |
3871 | 3929 | extern mysql_pfs_key_t buffer_block_mutex_key; | 3912 | extern mysql_pfs_key_t buffer_block_mutex_key; |
3872 | 3930 | extern mysql_pfs_key_t buf_pool_mutex_key; | 3913 | extern mysql_pfs_key_t buf_pool_mutex_key; |
3873 | @@ -3969,9 +3952,8 @@ | |||
3874 | 3969 | may be) threads waiting in the global wait | 3952 | may be) threads waiting in the global wait |
3875 | 3970 | array for this mutex to be released. | 3953 | array for this mutex to be released. |
3876 | 3971 | Otherwise, this is 0. */ | 3954 | Otherwise, this is 0. */ |
3880 | 3972 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 3955 | --- a/storage/innobase/srv/srv0srv.c |
3881 | 3973 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 15:48:03.080956216 +0900 | 3956 | +++ b/storage/innobase/srv/srv0srv.c |
3879 | 3974 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 15:48:29.355023766 +0900 | ||
3882 | 3975 | @@ -3098,7 +3098,7 @@ | 3957 | @@ -3098,7 +3098,7 @@ |
3883 | 3976 | level += log_sys->max_checkpoint_age | 3958 | level += log_sys->max_checkpoint_age |
3884 | 3977 | - (lsn - oldest_modification); | 3959 | - (lsn - oldest_modification); |
3885 | @@ -3990,9 +3972,8 @@ | |||
3886 | 3990 | new_blocks_num++; | 3972 | new_blocks_num++; |
3887 | 3991 | } | 3973 | } |
3888 | 3992 | if (!found) { | 3974 | if (!found) { |
3892 | 3993 | diff -ruN a/storage/innobase/sync/sync0sync.c b/storage/innobase/sync/sync0sync.c | 3975 | --- a/storage/innobase/sync/sync0sync.c |
3893 | 3994 | --- a/storage/innobase/sync/sync0sync.c 2010-11-03 07:01:13.000000000 +0900 | 3976 | +++ b/storage/innobase/sync/sync0sync.c |
3891 | 3995 | +++ b/storage/innobase/sync/sync0sync.c 2010-12-03 15:48:29.358023890 +0900 | ||
3894 | 3996 | @@ -285,7 +285,7 @@ | 3977 | @@ -285,7 +285,7 @@ |
3895 | 3997 | mutex->lock_word = 0; | 3978 | mutex->lock_word = 0; |
3896 | 3998 | #endif | 3979 | #endif |
3897 | 3999 | 3980 | ||
3898 | === modified file 'patches/innodb_stats.patch' | |||
3899 | --- patches/innodb_stats.patch 2011-07-22 16:56:42 +0000 | |||
3900 | +++ patches/innodb_stats.patch 2011-07-27 11:32:35 +0000 | |||
3901 | @@ -5,9 +5,8 @@ | |||
3902 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
3903 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
3904 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
3908 | 8 | diff -ruN a/storage/innobase/dict/dict0boot.c b/storage/innobase/dict/dict0boot.c | 8 | --- a/storage/innobase/dict/dict0boot.c |
3909 | 9 | --- a/storage/innobase/dict/dict0boot.c 2010-12-03 15:48:03.034036843 +0900 | 9 | +++ b/storage/innobase/dict/dict0boot.c |
3907 | 10 | +++ b/storage/innobase/dict/dict0boot.c 2010-12-03 17:19:24.835112632 +0900 | ||
3910 | 11 | @@ -266,6 +266,29 @@ | 10 | @@ -266,6 +266,29 @@ |
3911 | 12 | /* Get the dictionary header */ | 11 | /* Get the dictionary header */ |
3912 | 13 | dict_hdr = dict_hdr_get(&mtr); | 12 | dict_hdr = dict_hdr_get(&mtr); |
3913 | @@ -101,9 +100,8 @@ | |||
3914 | 101 | 100 | ||
3915 | 102 | mutex_exit(&(dict_sys->mutex)); | 101 | mutex_exit(&(dict_sys->mutex)); |
3916 | 103 | } | 102 | } |
3920 | 104 | diff -ruN a/storage/innobase/dict/dict0crea.c b/storage/innobase/dict/dict0crea.c | 103 | --- a/storage/innobase/dict/dict0crea.c |
3921 | 105 | --- a/storage/innobase/dict/dict0crea.c 2010-12-03 15:48:03.036081059 +0900 | 104 | +++ b/storage/innobase/dict/dict0crea.c |
3919 | 106 | +++ b/storage/innobase/dict/dict0crea.c 2010-12-03 17:19:24.836964976 +0900 | ||
3922 | 107 | @@ -508,6 +508,56 @@ | 105 | @@ -508,6 +508,56 @@ |
3923 | 108 | } | 106 | } |
3924 | 109 | 107 | ||
3925 | @@ -280,16 +278,10 @@ | |||
3926 | 280 | } | 278 | } |
3927 | 281 | 279 | ||
3928 | 282 | if (node->state == INDEX_CREATE_INDEX_TREE) { | 280 | if (node->state == INDEX_CREATE_INDEX_TREE) { |
3932 | 283 | @@ -1178,6 +1317,66 @@ | 281 | @@ -1184,6 +1323,66 @@ |
3933 | 284 | return(NULL); | 282 | } |
3931 | 285 | } | ||
3934 | 286 | 283 | ||
3941 | 287 | + thr->run_node = que_node_get_parent(node); | 284 | /****************************************************************//** |
3936 | 288 | + | ||
3937 | 289 | + return(thr); | ||
3938 | 290 | +} | ||
3939 | 291 | + | ||
3940 | 292 | +/****************************************************************//** | ||
3942 | 293 | +*/ | 285 | +*/ |
3943 | 294 | +UNIV_INTERN | 286 | +UNIV_INTERN |
3944 | 295 | +que_thr_t* | 287 | +que_thr_t* |
3945 | @@ -344,12 +336,17 @@ | |||
3946 | 344 | + return(NULL); | 336 | + return(NULL); |
3947 | 345 | + } | 337 | + } |
3948 | 346 | + | 338 | + |
3955 | 347 | thr->run_node = que_node_get_parent(node); | 339 | + thr->run_node = que_node_get_parent(node); |
3956 | 348 | 340 | + | |
3957 | 349 | return(thr); | 341 | + return(thr); |
3958 | 350 | diff -ruN a/storage/innobase/dict/dict0dict.c b/storage/innobase/dict/dict0dict.c | 342 | +} |
3959 | 351 | --- a/storage/innobase/dict/dict0dict.c 2010-12-03 15:48:03.040222428 +0900 | 343 | + |
3960 | 352 | +++ b/storage/innobase/dict/dict0dict.c 2010-12-03 17:19:24.841947690 +0900 | 344 | +/****************************************************************//** |
3961 | 345 | Creates the foreign key constraints system tables inside InnoDB | ||
3962 | 346 | at database creation or database start if they are not found or are | ||
3963 | 347 | not of the right form. | ||
3964 | 348 | --- a/storage/innobase/dict/dict0dict.c | ||
3965 | 349 | +++ b/storage/innobase/dict/dict0dict.c | ||
3966 | 353 | @@ -755,7 +755,7 @@ | 350 | @@ -755,7 +755,7 @@ |
3967 | 354 | print an error message and return without doing | 351 | print an error message and return without doing |
3968 | 355 | anything. */ | 352 | anything. */ |
3969 | @@ -797,9 +794,8 @@ | |||
3970 | 797 | 794 | ||
3971 | 798 | dict_table_stats_lock(table, RW_S_LATCH); | 795 | dict_table_stats_lock(table, RW_S_LATCH); |
3972 | 799 | 796 | ||
3976 | 800 | diff -ruN a/storage/innobase/dict/dict0load.c b/storage/innobase/dict/dict0load.c | 797 | --- a/storage/innobase/dict/dict0load.c |
3977 | 801 | --- a/storage/innobase/dict/dict0load.c 2010-11-03 07:01:13.000000000 +0900 | 798 | +++ b/storage/innobase/dict/dict0load.c |
3975 | 802 | +++ b/storage/innobase/dict/dict0load.c 2010-12-03 17:19:24.845947460 +0900 | ||
3978 | 803 | @@ -50,7 +50,8 @@ | 799 | @@ -50,7 +50,8 @@ |
3979 | 804 | "SYS_COLUMNS", | 800 | "SYS_COLUMNS", |
3980 | 805 | "SYS_FIELDS", | 801 | "SYS_FIELDS", |
3981 | @@ -901,9 +897,8 @@ | |||
3982 | 901 | Determine the flags of a table described in SYS_TABLES. | 897 | Determine the flags of a table described in SYS_TABLES. |
3983 | 902 | @return compressed page size in kilobytes; or 0 if the tablespace is | 898 | @return compressed page size in kilobytes; or 0 if the tablespace is |
3984 | 903 | uncompressed, ULINT_UNDEFINED on error */ | 899 | uncompressed, ULINT_UNDEFINED on error */ |
3988 | 904 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 900 | --- a/storage/innobase/handler/ha_innodb.cc |
3989 | 905 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:17:03.665960357 +0900 | 901 | +++ b/storage/innobase/handler/ha_innodb.cc |
3987 | 906 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 17:22:21.586939783 +0900 | ||
3990 | 907 | @@ -187,6 +187,7 @@ | 902 | @@ -187,6 +187,7 @@ |
3991 | 908 | static my_bool innobase_rollback_on_timeout = FALSE; | 903 | static my_bool innobase_rollback_on_timeout = FALSE; |
3992 | 909 | static my_bool innobase_create_status_file = FALSE; | 904 | static my_bool innobase_create_status_file = FALSE; |
3993 | @@ -1073,9 +1068,8 @@ | |||
3994 | 1073 | mysql_declare_plugin_end; | 1068 | mysql_declare_plugin_end; |
3995 | 1074 | 1069 | ||
3996 | 1075 | /** @brief Initialize the default value of innodb_commit_concurrency. | 1070 | /** @brief Initialize the default value of innodb_commit_concurrency. |
4000 | 1076 | diff -ruN a/storage/innobase/handler/i_s.cc b/storage/innobase/handler/i_s.cc | 1071 | --- a/storage/innobase/handler/i_s.cc |
4001 | 1077 | --- a/storage/innobase/handler/i_s.cc 2010-12-03 17:17:03.666956117 +0900 | 1072 | +++ b/storage/innobase/handler/i_s.cc |
3999 | 1078 | +++ b/storage/innobase/handler/i_s.cc 2010-12-03 17:19:24.880964526 +0900 | ||
4002 | 1079 | @@ -49,6 +49,7 @@ | 1073 | @@ -49,6 +49,7 @@ |
4003 | 1080 | #include "trx0trx.h" /* for TRX_QUE_STATE_STR_MAX_LEN */ | 1074 | #include "trx0trx.h" /* for TRX_QUE_STATE_STR_MAX_LEN */ |
4004 | 1081 | #include "trx0rseg.h" /* for trx_rseg_struct */ | 1075 | #include "trx0rseg.h" /* for trx_rseg_struct */ |
4005 | @@ -1654,9 +1648,8 @@ | |||
4006 | 1654 | + STRUCT_FLD(system_vars, NULL), | 1648 | + STRUCT_FLD(system_vars, NULL), |
4007 | 1655 | + STRUCT_FLD(__reserved1, NULL) | 1649 | + STRUCT_FLD(__reserved1, NULL) |
4008 | 1656 | +}; | 1650 | +}; |
4012 | 1657 | diff -ruN a/storage/innobase/handler/i_s.h b/storage/innobase/handler/i_s.h | 1651 | --- a/storage/innobase/handler/i_s.h |
4013 | 1658 | --- a/storage/innobase/handler/i_s.h 2010-12-03 17:17:03.668953884 +0900 | 1652 | +++ b/storage/innobase/handler/i_s.h |
4011 | 1659 | +++ b/storage/innobase/handler/i_s.h 2010-12-03 17:19:24.882947826 +0900 | ||
4014 | 1660 | @@ -43,5 +43,8 @@ | 1653 | @@ -43,5 +43,8 @@ |
4015 | 1661 | extern struct st_mysql_plugin i_s_innodb_sys_foreign; | 1654 | extern struct st_mysql_plugin i_s_innodb_sys_foreign; |
4016 | 1662 | extern struct st_mysql_plugin i_s_innodb_sys_foreign_cols; | 1655 | extern struct st_mysql_plugin i_s_innodb_sys_foreign_cols; |
4017 | @@ -1666,9 +1659,8 @@ | |||
4018 | 1666 | +extern struct st_mysql_plugin i_s_innodb_index_stats; | 1659 | +extern struct st_mysql_plugin i_s_innodb_index_stats; |
4019 | 1667 | 1660 | ||
4020 | 1668 | #endif /* i_s_h */ | 1661 | #endif /* i_s_h */ |
4024 | 1669 | diff -ruN a/storage/innobase/include/dict0boot.h b/storage/innobase/include/dict0boot.h | 1662 | --- a/storage/innobase/include/dict0boot.h |
4025 | 1670 | --- a/storage/innobase/include/dict0boot.h 2010-11-03 07:01:13.000000000 +0900 | 1663 | +++ b/storage/innobase/include/dict0boot.h |
4023 | 1671 | +++ b/storage/innobase/include/dict0boot.h 2010-12-03 17:19:24.885947372 +0900 | ||
4026 | 1672 | @@ -104,6 +104,7 @@ | 1664 | @@ -104,6 +104,7 @@ |
4027 | 1673 | #define DICT_COLUMNS_ID 2 | 1665 | #define DICT_COLUMNS_ID 2 |
4028 | 1674 | #define DICT_INDEXES_ID 3 | 1666 | #define DICT_INDEXES_ID 3 |
4029 | @@ -1708,9 +1700,8 @@ | |||
4030 | 1708 | #ifndef UNIV_NONINL | 1700 | #ifndef UNIV_NONINL |
4031 | 1709 | #include "dict0boot.ic" | 1701 | #include "dict0boot.ic" |
4032 | 1710 | #endif | 1702 | #endif |
4036 | 1711 | diff -ruN a/storage/innobase/include/dict0crea.h b/storage/innobase/include/dict0crea.h | 1703 | --- a/storage/innobase/include/dict0crea.h |
4037 | 1712 | --- a/storage/innobase/include/dict0crea.h 2010-11-03 07:01:13.000000000 +0900 | 1704 | +++ b/storage/innobase/include/dict0crea.h |
4035 | 1713 | +++ b/storage/innobase/include/dict0crea.h 2010-12-03 17:19:24.886949643 +0900 | ||
4038 | 1714 | @@ -53,6 +53,14 @@ | 1705 | @@ -53,6 +53,14 @@ |
4039 | 1715 | dict_index_t* index, /*!< in: index to create, built as a memory data | 1706 | dict_index_t* index, /*!< in: index to create, built as a memory data |
4040 | 1716 | structure */ | 1707 | structure */ |
4041 | @@ -1764,9 +1755,8 @@ | |||
4042 | 1764 | 1755 | ||
4043 | 1765 | #ifndef UNIV_NONINL | 1756 | #ifndef UNIV_NONINL |
4044 | 1766 | #include "dict0crea.ic" | 1757 | #include "dict0crea.ic" |
4048 | 1767 | diff -ruN a/storage/innobase/include/dict0dict.h b/storage/innobase/include/dict0dict.h | 1758 | --- a/storage/innobase/include/dict0dict.h |
4049 | 1768 | --- a/storage/innobase/include/dict0dict.h 2010-12-03 15:48:03.073024387 +0900 | 1759 | +++ b/storage/innobase/include/dict0dict.h |
4047 | 1769 | +++ b/storage/innobase/include/dict0dict.h 2010-12-03 17:19:24.888965622 +0900 | ||
4050 | 1770 | @@ -1096,10 +1096,18 @@ | 1760 | @@ -1096,10 +1096,18 @@ |
4051 | 1771 | dict_update_statistics( | 1761 | dict_update_statistics( |
4052 | 1772 | /*===================*/ | 1762 | /*===================*/ |
4053 | @@ -1795,9 +1785,8 @@ | |||
4054 | 1795 | }; | 1785 | }; |
4055 | 1796 | #endif /* !UNIV_HOTBACKUP */ | 1786 | #endif /* !UNIV_HOTBACKUP */ |
4056 | 1797 | 1787 | ||
4060 | 1798 | diff -ruN a/storage/innobase/include/dict0load.h b/storage/innobase/include/dict0load.h | 1788 | --- a/storage/innobase/include/dict0load.h |
4061 | 1799 | --- a/storage/innobase/include/dict0load.h 2010-11-03 07:01:13.000000000 +0900 | 1789 | +++ b/storage/innobase/include/dict0load.h |
4059 | 1800 | +++ b/storage/innobase/include/dict0load.h 2010-12-03 17:19:24.889947481 +0900 | ||
4062 | 1801 | @@ -41,6 +41,7 @@ | 1790 | @@ -41,6 +41,7 @@ |
4063 | 1802 | SYS_FIELDS, | 1791 | SYS_FIELDS, |
4064 | 1803 | SYS_FOREIGN, | 1792 | SYS_FOREIGN, |
4065 | @@ -1827,9 +1816,8 @@ | |||
4066 | 1827 | #ifndef UNIV_NONINL | 1816 | #ifndef UNIV_NONINL |
4067 | 1828 | #include "dict0load.ic" | 1817 | #include "dict0load.ic" |
4068 | 1829 | #endif | 1818 | #endif |
4072 | 1830 | diff -ruN a/storage/innobase/include/que0que.h b/storage/innobase/include/que0que.h | 1819 | --- a/storage/innobase/include/que0que.h |
4073 | 1831 | --- a/storage/innobase/include/que0que.h 2010-11-03 07:01:13.000000000 +0900 | 1820 | +++ b/storage/innobase/include/que0que.h |
4071 | 1832 | +++ b/storage/innobase/include/que0que.h 2010-12-03 17:19:24.892947946 +0900 | ||
4074 | 1833 | @@ -492,6 +492,8 @@ | 1821 | @@ -492,6 +492,8 @@ |
4075 | 1834 | #define QUE_NODE_CALL 31 | 1822 | #define QUE_NODE_CALL 31 |
4076 | 1835 | #define QUE_NODE_EXIT 32 | 1823 | #define QUE_NODE_EXIT 32 |
4077 | @@ -1839,9 +1827,8 @@ | |||
4078 | 1839 | /* Query thread states */ | 1827 | /* Query thread states */ |
4079 | 1840 | #define QUE_THR_RUNNING 1 | 1828 | #define QUE_THR_RUNNING 1 |
4080 | 1841 | #define QUE_THR_PROCEDURE_WAIT 2 | 1829 | #define QUE_THR_PROCEDURE_WAIT 2 |
4084 | 1842 | diff -ruN a/storage/innobase/include/row0mysql.h b/storage/innobase/include/row0mysql.h | 1830 | --- a/storage/innobase/include/row0mysql.h |
4085 | 1843 | --- a/storage/innobase/include/row0mysql.h 2010-11-03 07:01:13.000000000 +0900 | 1831 | +++ b/storage/innobase/include/row0mysql.h |
4083 | 1844 | +++ b/storage/innobase/include/row0mysql.h 2010-12-03 17:19:24.904973020 +0900 | ||
4086 | 1845 | @@ -387,6 +387,22 @@ | 1832 | @@ -387,6 +387,22 @@ |
4087 | 1846 | then checked for not being too | 1833 | then checked for not being too |
4088 | 1847 | large. */ | 1834 | large. */ |
4089 | @@ -1865,9 +1852,8 @@ | |||
4090 | 1865 | Scans a table create SQL string and adds to the data dictionary | 1852 | Scans a table create SQL string and adds to the data dictionary |
4091 | 1866 | the foreign key constraints declared in the string. This function | 1853 | the foreign key constraints declared in the string. This function |
4092 | 1867 | should be called after the indexes for a table have been created. | 1854 | should be called after the indexes for a table have been created. |
4096 | 1868 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 1855 | --- a/storage/innobase/include/srv0srv.h |
4097 | 1869 | --- a/storage/innobase/include/srv0srv.h 2010-12-03 15:53:54.622036720 +0900 | 1856 | +++ b/storage/innobase/include/srv0srv.h |
4095 | 1870 | +++ b/storage/innobase/include/srv0srv.h 2010-12-03 17:19:24.906953188 +0900 | ||
4098 | 1871 | @@ -211,6 +211,9 @@ | 1857 | @@ -211,6 +211,9 @@ |
4099 | 1872 | extern ibool srv_innodb_status; | 1858 | extern ibool srv_innodb_status; |
4100 | 1873 | 1859 | ||
4101 | @@ -1878,9 +1864,8 @@ | |||
4102 | 1878 | 1864 | ||
4103 | 1879 | extern ibool srv_use_doublewrite_buf; | 1865 | extern ibool srv_use_doublewrite_buf; |
4104 | 1880 | extern ibool srv_use_checksums; | 1866 | extern ibool srv_use_checksums; |
4108 | 1881 | diff -ruN a/storage/innobase/que/que0que.c b/storage/innobase/que/que0que.c | 1867 | --- a/storage/innobase/que/que0que.c |
4109 | 1882 | --- a/storage/innobase/que/que0que.c 2010-11-03 07:01:13.000000000 +0900 | 1868 | +++ b/storage/innobase/que/que0que.c |
4107 | 1883 | +++ b/storage/innobase/que/que0que.c 2010-12-03 17:19:24.910953422 +0900 | ||
4110 | 1884 | @@ -621,11 +621,21 @@ | 1869 | @@ -621,11 +621,21 @@ |
4111 | 1885 | 1870 | ||
4112 | 1886 | que_graph_free_recursive(cre_ind->ind_def); | 1871 | que_graph_free_recursive(cre_ind->ind_def); |
4113 | @@ -1921,9 +1906,8 @@ | |||
4114 | 1921 | } else if (type == QUE_NODE_ROW_PRINTF) { | 1906 | } else if (type == QUE_NODE_ROW_PRINTF) { |
4115 | 1922 | thr = row_printf_step(thr); | 1907 | thr = row_printf_step(thr); |
4116 | 1923 | } else { | 1908 | } else { |
4120 | 1924 | diff -ruN a/storage/innobase/row/row0ins.c b/storage/innobase/row/row0ins.c | 1909 | --- a/storage/innobase/row/row0ins.c |
4121 | 1925 | --- a/storage/innobase/row/row0ins.c 2011-03-10 00:11:38.000000000 +0900 | 1910 | +++ b/storage/innobase/row/row0ins.c |
4119 | 1926 | +++ b/storage/innobase/row/row0ins.c 2011-03-30 11:44:58.000000000 +0900 | ||
4122 | 1927 | @@ -2012,6 +2012,8 @@ | 1911 | @@ -2012,6 +2012,8 @@ |
4123 | 1928 | } | 1912 | } |
4124 | 1929 | 1913 | ||
4125 | @@ -1933,9 +1917,8 @@ | |||
4126 | 1933 | { | 1917 | { |
4127 | 1934 | page_t* page = btr_cur_get_page(&cursor); | 1918 | page_t* page = btr_cur_get_page(&cursor); |
4128 | 1935 | rec_t* first_rec = page_rec_get_next( | 1919 | rec_t* first_rec = page_rec_get_next( |
4132 | 1936 | diff -ruN a/storage/innobase/row/row0merge.c b/storage/innobase/row/row0merge.c | 1920 | --- a/storage/innobase/row/row0merge.c |
4133 | 1937 | --- a/storage/innobase/row/row0merge.c 2010-11-03 07:01:13.000000000 +0900 | 1921 | +++ b/storage/innobase/row/row0merge.c |
4131 | 1938 | +++ b/storage/innobase/row/row0merge.c 2010-12-03 17:19:24.914955391 +0900 | ||
4134 | 1939 | @@ -2019,6 +2019,8 @@ | 1922 | @@ -2019,6 +2019,8 @@ |
4135 | 1940 | "UPDATE SYS_INDEXES SET NAME=CONCAT('" | 1923 | "UPDATE SYS_INDEXES SET NAME=CONCAT('" |
4136 | 1941 | TEMP_INDEX_PREFIX_STR "', NAME) WHERE ID = :indexid;\n" | 1924 | TEMP_INDEX_PREFIX_STR "', NAME) WHERE ID = :indexid;\n" |
4137 | @@ -1945,9 +1928,8 @@ | |||
4138 | 1945 | /* Drop the field definitions of the index. */ | 1928 | /* Drop the field definitions of the index. */ |
4139 | 1946 | "DELETE FROM SYS_FIELDS WHERE INDEX_ID = :indexid;\n" | 1929 | "DELETE FROM SYS_FIELDS WHERE INDEX_ID = :indexid;\n" |
4140 | 1947 | /* Drop the index definition and the B-tree. */ | 1930 | /* Drop the index definition and the B-tree. */ |
4144 | 1948 | diff -ruN a/storage/innobase/row/row0mysql.c b/storage/innobase/row/row0mysql.c | 1931 | --- a/storage/innobase/row/row0mysql.c |
4145 | 1949 | --- a/storage/innobase/row/row0mysql.c 2010-11-03 07:01:13.000000000 +0900 | 1932 | +++ b/storage/innobase/row/row0mysql.c |
4143 | 1950 | +++ b/storage/innobase/row/row0mysql.c 2010-12-03 17:19:24.918953476 +0900 | ||
4146 | 1951 | @@ -921,6 +921,9 @@ | 1933 | @@ -921,6 +921,9 @@ |
4147 | 1952 | 1934 | ||
4148 | 1953 | table->stat_modified_counter = counter + 1; | 1935 | table->stat_modified_counter = counter + 1; |
4149 | @@ -2057,9 +2039,8 @@ | |||
4150 | 2057 | " DELETE FROM SYS_FIELDS\n" | 2039 | " DELETE FROM SYS_FIELDS\n" |
4151 | 2058 | " WHERE INDEX_ID = index_id;\n" | 2040 | " WHERE INDEX_ID = index_id;\n" |
4152 | 2059 | " DELETE FROM SYS_INDEXES\n" | 2041 | " DELETE FROM SYS_INDEXES\n" |
4156 | 2060 | diff -ruN a/storage/innobase/row/row0row.c b/storage/innobase/row/row0row.c | 2042 | --- a/storage/innobase/row/row0row.c |
4157 | 2061 | --- a/storage/innobase/row/row0row.c 2011-03-10 00:11:38.000000000 +0900 | 2043 | +++ b/storage/innobase/row/row0row.c |
4155 | 2062 | +++ b/storage/innobase/row/row0row.c 2011-03-30 11:44:58.000000000 +0900 | ||
4158 | 2063 | @@ -347,6 +347,14 @@ | 2044 | @@ -347,6 +347,14 @@ |
4159 | 2064 | 2045 | ||
4160 | 2065 | rec_len = rec_offs_n_fields(offsets); | 2046 | rec_len = rec_offs_n_fields(offsets); |
4161 | @@ -2090,9 +2071,8 @@ | |||
4162 | 2090 | field = rec_get_nth_field(rec, offsets, i, &len); | 2071 | field = rec_get_nth_field(rec, offsets, i, &len); |
4163 | 2091 | 2072 | ||
4164 | 2092 | dfield_set_data(dfield, field, len); | 2073 | dfield_set_data(dfield, field, len); |
4168 | 2093 | diff -ruN a/storage/innobase/row/row0upd.c b/storage/innobase/row/row0upd.c | 2074 | --- a/storage/innobase/row/row0upd.c |
4169 | 2094 | --- a/storage/innobase/row/row0upd.c 2011-03-10 00:11:38.000000000 +0900 | 2075 | +++ b/storage/innobase/row/row0upd.c |
4167 | 2095 | +++ b/storage/innobase/row/row0upd.c 2011-03-30 11:44:58.000000000 +0900 | ||
4170 | 2096 | @@ -439,6 +439,12 @@ | 2076 | @@ -439,6 +439,12 @@ |
4171 | 2097 | 0); | 2077 | 0); |
4172 | 2098 | } | 2078 | } |
4173 | @@ -2125,9 +2105,8 @@ | |||
4174 | 2125 | data = rec_get_nth_field(rec, offsets, i, &len); | 2105 | data = rec_get_nth_field(rec, offsets, i, &len); |
4175 | 2126 | 2106 | ||
4176 | 2127 | dfield = dtuple_get_nth_field(entry, i); | 2107 | dfield = dtuple_get_nth_field(entry, i); |
4180 | 2128 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 2108 | --- a/storage/innobase/srv/srv0srv.c |
4181 | 2129 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 15:53:54.625288512 +0900 | 2109 | +++ b/storage/innobase/srv/srv0srv.c |
4179 | 2130 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 17:19:24.922953561 +0900 | ||
4182 | 2131 | @@ -398,6 +398,9 @@ | 2110 | @@ -398,6 +398,9 @@ |
4183 | 2132 | /* When estimating number of different key values in an index, sample | 2111 | /* When estimating number of different key values in an index, sample |
4184 | 2133 | this many index pages */ | 2112 | this many index pages */ |
4185 | @@ -2138,9 +2117,8 @@ | |||
4186 | 2138 | 2117 | ||
4187 | 2139 | UNIV_INTERN ibool srv_use_doublewrite_buf = TRUE; | 2118 | UNIV_INTERN ibool srv_use_doublewrite_buf = TRUE; |
4188 | 2140 | UNIV_INTERN ibool srv_use_checksums = TRUE; | 2119 | UNIV_INTERN ibool srv_use_checksums = TRUE; |
4192 | 2141 | diff -ruN a/storage/innobase/trx/trx0rec.c b/storage/innobase/trx/trx0rec.c | 2120 | --- a/storage/innobase/trx/trx0rec.c |
4193 | 2142 | --- a/storage/innobase/trx/trx0rec.c 2011-03-10 00:11:38.000000000 +0900 | 2121 | +++ b/storage/innobase/trx/trx0rec.c |
4191 | 2143 | +++ b/storage/innobase/trx/trx0rec.c 2011-03-30 11:44:58.000000000 +0900 | ||
4194 | 2144 | @@ -665,14 +665,27 @@ | 2122 | @@ -665,14 +665,27 @@ |
4195 | 2145 | /* Save to the undo log the old values of the columns to be updated. */ | 2123 | /* Save to the undo log the old values of the columns to be updated. */ |
4196 | 2146 | 2124 | ||
4197 | 2147 | 2125 | ||
4198 | === modified file 'patches/innodb_thread_concurrency_timer_based.patch' | |||
4199 | --- patches/innodb_thread_concurrency_timer_based.patch 2011-07-22 16:56:42 +0000 | |||
4200 | +++ patches/innodb_thread_concurrency_timer_based.patch 2011-07-27 11:32:35 +0000 | |||
4201 | @@ -5,9 +5,8 @@ | |||
4202 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
4203 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
4204 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
4208 | 8 | diff -ruN a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc | 8 | --- a/storage/innobase/handler/ha_innodb.cc |
4209 | 9 | --- a/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:41:52.045404706 +0900 | 9 | +++ b/storage/innobase/handler/ha_innodb.cc |
4207 | 10 | +++ b/storage/innobase/handler/ha_innodb.cc 2010-12-03 15:42:11.568959457 +0900 | ||
4210 | 11 | @@ -148,6 +148,7 @@ | 10 | @@ -148,6 +148,7 @@ |
4211 | 12 | static ulong innobase_write_io_threads; | 11 | static ulong innobase_write_io_threads; |
4212 | 13 | static long innobase_buffer_pool_instances = 1; | 12 | static long innobase_buffer_pool_instances = 1; |
4213 | @@ -47,9 +46,8 @@ | |||
4214 | 47 | MYSQL_SYSVAR(thread_sleep_delay), | 46 | MYSQL_SYSVAR(thread_sleep_delay), |
4215 | 48 | MYSQL_SYSVAR(autoinc_lock_mode), | 47 | MYSQL_SYSVAR(autoinc_lock_mode), |
4216 | 49 | MYSQL_SYSVAR(show_verbose_locks), | 48 | MYSQL_SYSVAR(show_verbose_locks), |
4220 | 50 | diff -ruN a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h | 49 | --- a/storage/innobase/include/srv0srv.h |
4221 | 51 | --- a/storage/innobase/include/srv0srv.h 2010-12-03 15:37:45.543027751 +0900 | 50 | +++ b/storage/innobase/include/srv0srv.h |
4219 | 52 | +++ b/storage/innobase/include/srv0srv.h 2010-12-03 15:42:11.571024631 +0900 | ||
4222 | 53 | @@ -161,6 +161,8 @@ | 51 | @@ -161,6 +161,8 @@ |
4223 | 54 | extern ulint srv_mem_pool_size; | 52 | extern ulint srv_mem_pool_size; |
4224 | 55 | extern ulint srv_lock_table_size; | 53 | extern ulint srv_lock_table_size; |
4225 | @@ -59,9 +57,8 @@ | |||
4226 | 59 | extern ulint srv_n_file_io_threads; | 57 | extern ulint srv_n_file_io_threads; |
4227 | 60 | extern ulong srv_read_ahead_threshold; | 58 | extern ulong srv_read_ahead_threshold; |
4228 | 61 | extern ulint srv_n_read_io_threads; | 59 | extern ulint srv_n_read_io_threads; |
4232 | 62 | diff -ruN a/storage/innobase/srv/srv0srv.c b/storage/innobase/srv/srv0srv.c | 60 | --- a/storage/innobase/srv/srv0srv.c |
4233 | 63 | --- a/storage/innobase/srv/srv0srv.c 2010-12-03 15:37:45.546023493 +0900 | 61 | +++ b/storage/innobase/srv/srv0srv.c |
4231 | 64 | +++ b/storage/innobase/srv/srv0srv.c 2010-12-03 15:42:11.574955879 +0900 | ||
4234 | 65 | @@ -347,6 +347,7 @@ | 62 | @@ -347,6 +347,7 @@ |
4235 | 66 | computer. Bigger computers need bigger values. Value 0 will disable the | 63 | computer. Bigger computers need bigger values. Value 0 will disable the |
4236 | 67 | concurrency check. */ | 64 | concurrency check. */ |
4237 | 68 | 65 | ||
4238 | === modified file 'patches/log_connection_error.patch' | |||
4239 | --- patches/log_connection_error.patch 2011-07-22 16:56:42 +0000 | |||
4240 | +++ patches/log_connection_error.patch 2011-07-27 11:32:35 +0000 | |||
4241 | @@ -5,9 +5,8 @@ | |||
4242 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
4243 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
4244 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
4248 | 8 | diff -ruN /dev/null b/patch_info/log_connection_error.patch | 8 | --- /dev/null |
4249 | 9 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 9 | +++ b/patch_info/log_connection_error.patch |
4247 | 10 | +++ b/patch_info/log_connection_error.patch 2011-04-09 18:48:54.000000000 +0400 | ||
4250 | 11 | @@ -0,0 +1,6 @@ | 10 | @@ -0,0 +1,6 @@ |
4251 | 12 | +File=log_connection_error.patch | 11 | +File=log_connection_error.patch |
4252 | 13 | +Name=logging abandoned connections | 12 | +Name=logging abandoned connections |
4253 | @@ -15,9 +14,8 @@ | |||
4254 | 15 | +Author=Percona <info@percona.com> | 14 | +Author=Percona <info@percona.com> |
4255 | 16 | +License=GPL | 15 | +License=GPL |
4256 | 17 | +Comment= | 16 | +Comment= |
4260 | 18 | diff -ruN a/sql/mysqld.cc b/sql/mysqld.cc | 17 | --- a/sql/mysqld.cc |
4261 | 19 | --- a/sql/mysqld.cc 2011-04-09 18:48:53.000000000 +0400 | 18 | +++ b/sql/mysqld.cc |
4259 | 20 | +++ b/sql/mysqld.cc 2011-04-09 18:48:54.000000000 +0400 | ||
4262 | 21 | @@ -5040,6 +5040,10 @@ | 19 | @@ -5040,6 +5040,10 @@ |
4263 | 22 | 20 | ||
4264 | 23 | DBUG_PRINT("error",("Too many connections")); | 21 | DBUG_PRINT("error",("Too many connections")); |
4265 | 24 | 22 | ||
4266 | === modified file 'patches/log_warnings_suppress.patch' | |||
4267 | --- patches/log_warnings_suppress.patch 2011-07-22 16:56:42 +0000 | |||
4268 | +++ patches/log_warnings_suppress.patch 2011-07-27 11:32:35 +0000 | |||
4269 | @@ -5,9 +5,8 @@ | |||
4270 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
4271 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
4272 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
4276 | 8 | diff -ruN /dev/null b/patch_info/log_warnings_suppress.patch | 8 | --- /dev/null |
4277 | 9 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 9 | +++ b/patch_info/log_warnings_suppress.patch |
4275 | 10 | +++ b/patch_info/log_warnings_suppress.patch 2011-04-09 18:48:59.000000000 +0400 | ||
4278 | 11 | @@ -0,0 +1,9 @@ | 10 | @@ -0,0 +1,9 @@ |
4279 | 12 | +File=log_warnings_suppress.patch | 11 | +File=log_warnings_suppress.patch |
4280 | 13 | +Name=Disable log warnings for enumerated warnings (old name:suppress_log_warning_1592.patch) | 12 | +Name=Disable log warnings for enumerated warnings (old name:suppress_log_warning_1592.patch) |
4281 | @@ -18,9 +17,8 @@ | |||
4282 | 18 | +Changelog | 17 | +Changelog |
4283 | 19 | +2011-01-05 rename patch suppress_log_warning_1592.patch to log_warnings_silence.patch. Also remove boolean system variable "suppress_log_warning_1592" and add set varbile "log_warnings_silence" (possible values: 1592) | 18 | +2011-01-05 rename patch suppress_log_warning_1592.patch to log_warnings_silence.patch. Also remove boolean system variable "suppress_log_warning_1592" and add set varbile "log_warnings_silence" (possible values: 1592) |
4284 | 20 | +2011-02-21 rename patch log_warning_silence.patch to log_warnings_suppress.patch. Also rename variable "log_warning_silence" to "log_warning_suppress". | 19 | +2011-02-21 rename patch log_warning_silence.patch to log_warnings_suppress.patch. Also rename variable "log_warning_silence" to "log_warning_suppress". |
4288 | 21 | diff -ruN a/sql/mysqld.cc b/sql/mysqld.cc | 20 | --- a/sql/mysqld.cc |
4289 | 22 | --- a/sql/mysqld.cc 2011-04-09 18:48:59.000000000 +0400 | 21 | +++ b/sql/mysqld.cc |
4287 | 23 | +++ b/sql/mysqld.cc 2011-04-09 18:48:59.000000000 +0400 | ||
4290 | 24 | @@ -623,6 +623,8 @@ | 22 | @@ -623,6 +623,8 @@ |
4291 | 25 | SHOW_COMP_OPTION have_crypt, have_compress; | 23 | SHOW_COMP_OPTION have_crypt, have_compress; |
4292 | 26 | SHOW_COMP_OPTION have_profiling; | 24 | SHOW_COMP_OPTION have_profiling; |
4293 | @@ -30,9 +28,8 @@ | |||
4294 | 30 | /* Thread specific variables */ | 28 | /* Thread specific variables */ |
4295 | 31 | 29 | ||
4296 | 32 | pthread_key(MEM_ROOT**,THR_MALLOC); | 30 | pthread_key(MEM_ROOT**,THR_MALLOC); |
4300 | 33 | diff -ruN a/sql/mysqld.h b/sql/mysqld.h | 31 | --- a/sql/mysqld.h |
4301 | 34 | --- a/sql/mysqld.h 2011-04-09 18:48:58.000000000 +0400 | 32 | +++ b/sql/mysqld.h |
4299 | 35 | +++ b/sql/mysqld.h 2011-04-09 18:48:59.000000000 +0400 | ||
4302 | 36 | @@ -228,6 +228,8 @@ | 33 | @@ -228,6 +228,8 @@ |
4303 | 37 | extern TYPELIB thread_handling_typelib; | 34 | extern TYPELIB thread_handling_typelib; |
4304 | 38 | extern my_decimal decimal_zero; | 35 | extern my_decimal decimal_zero; |
4305 | @@ -42,10 +39,9 @@ | |||
4306 | 42 | extern pthread_key(MEM_ROOT**,THR_MALLOC); | 39 | extern pthread_key(MEM_ROOT**,THR_MALLOC); |
4307 | 43 | 40 | ||
4308 | 44 | #ifdef HAVE_PSI_INTERFACE | 41 | #ifdef HAVE_PSI_INTERFACE |
4313 | 45 | diff -ruN a/sql/sql_class.cc b/sql/sql_class.cc | 42 | --- a/sql/sql_class.cc |
4314 | 46 | --- a/sql/sql_class.cc 2011-04-09 18:48:50.000000000 +0400 | 43 | +++ b/sql/sql_class.cc |
4315 | 47 | +++ b/sql/sql_class.cc 2011-04-09 18:48:59.000000000 +0400 | 44 | @@ -4578,7 +4578,7 @@ |
4312 | 48 | @@ -4575,7 +4575,7 @@ | ||
4316 | 49 | ER_BINLOG_UNSAFE_STATEMENT, | 45 | ER_BINLOG_UNSAFE_STATEMENT, |
4317 | 50 | ER(ER_BINLOG_UNSAFE_STATEMENT), | 46 | ER(ER_BINLOG_UNSAFE_STATEMENT), |
4318 | 51 | ER(LEX::binlog_stmt_unsafe_errcode[unsafe_type])); | 47 | ER(LEX::binlog_stmt_unsafe_errcode[unsafe_type])); |
4319 | @@ -54,9 +50,8 @@ | |||
4320 | 54 | { | 50 | { |
4321 | 55 | char buf[MYSQL_ERRMSG_SIZE * 2]; | 51 | char buf[MYSQL_ERRMSG_SIZE * 2]; |
4322 | 56 | sprintf(buf, ER(ER_BINLOG_UNSAFE_STATEMENT), | 52 | sprintf(buf, ER(ER_BINLOG_UNSAFE_STATEMENT), |
4326 | 57 | diff -ruN a/sql/sql_class.h b/sql/sql_class.h | 53 | --- a/sql/sql_class.h |
4327 | 58 | --- a/sql/sql_class.h 2011-04-09 18:48:53.000000000 +0400 | 54 | +++ b/sql/sql_class.h |
4325 | 59 | +++ b/sql/sql_class.h 2011-04-09 18:48:59.000000000 +0400 | ||
4328 | 60 | @@ -90,6 +90,7 @@ | 55 | @@ -90,6 +90,7 @@ |
4329 | 61 | SLOG_F_TMP_TABLE, SLOG_F_TMP_DISK, SLOG_F_FILESORT, | 56 | SLOG_F_TMP_TABLE, SLOG_F_TMP_DISK, SLOG_F_FILESORT, |
4330 | 62 | SLOG_F_FILESORT_DISK | 57 | SLOG_F_FILESORT_DISK |
4331 | @@ -65,9 +60,8 @@ | |||
4332 | 65 | enum enum_slave_exec_mode { SLAVE_EXEC_MODE_STRICT, | 60 | enum enum_slave_exec_mode { SLAVE_EXEC_MODE_STRICT, |
4333 | 66 | SLAVE_EXEC_MODE_IDEMPOTENT, | 61 | SLAVE_EXEC_MODE_IDEMPOTENT, |
4334 | 67 | SLAVE_EXEC_MODE_LAST_BIT}; | 62 | SLAVE_EXEC_MODE_LAST_BIT}; |
4338 | 68 | diff -ruN a/sql/sys_vars.cc b/sql/sys_vars.cc | 63 | --- a/sql/sys_vars.cc |
4339 | 69 | --- a/sql/sys_vars.cc 2011-04-09 18:48:55.000000000 +0400 | 64 | +++ b/sql/sys_vars.cc |
4337 | 70 | +++ b/sql/sys_vars.cc 2011-04-09 18:48:59.000000000 +0400 | ||
4340 | 71 | @@ -1470,6 +1470,15 @@ | 65 | @@ -1470,6 +1470,15 @@ |
4341 | 72 | READ_ONLY GLOBAL_VAR(mysqld_port), CMD_LINE(REQUIRED_ARG, 'P'), | 66 | READ_ONLY GLOBAL_VAR(mysqld_port), CMD_LINE(REQUIRED_ARG, 'P'), |
4342 | 73 | VALID_RANGE(0, UINT_MAX32), DEFAULT(0), BLOCK_SIZE(1)); | 67 | VALID_RANGE(0, UINT_MAX32), DEFAULT(0), BLOCK_SIZE(1)); |
4343 | 74 | 68 | ||
4344 | === modified file 'patches/microsec_process.patch' | |||
4345 | --- patches/microsec_process.patch 2011-07-22 16:56:42 +0000 | |||
4346 | +++ patches/microsec_process.patch 2011-07-27 11:32:35 +0000 | |||
4347 | @@ -5,9 +5,8 @@ | |||
4348 | 5 | #!!! notice !!! | 5 | #!!! notice !!! |
4349 | 6 | # Any small change to this file in the main branch | 6 | # Any small change to this file in the main branch |
4350 | 7 | # should be done or reviewed by the maintainer! | 7 | # should be done or reviewed by the maintainer! |
4354 | 8 | diff -ruN /dev/null b/patch_info/microsec_process.info | 8 | --- /dev/null |
4355 | 9 | --- /dev/null 1970-01-01 09:00:00.000000000 +0900 | 9 | +++ b/patch_info/microsec_process.info |
4353 | 10 | +++ b/patch_info/microsec_process.info 2010-12-02 20:41:41.616069579 +0900 | ||
4356 | 11 | @@ -0,0 +1,8 @@ | 10 | @@ -0,0 +1,8 @@ |
4357 | 12 | +File=microsec_process.patch | 11 | +File=microsec_process.patch |
4358 | 13 | +Name=Adds INFOMATION_SCHEMA.PROCESSLIST with TIME_MS column | 12 | +Name=Adds INFOMATION_SCHEMA.PROCESSLIST with TIME_MS column |
4359 | @@ -17,9 +16,8 @@ | |||
4360 | 17 | +Comment= | 16 | +Comment= |
4361 | 18 | +2010-01 | 17 | +2010-01 |
4362 | 19 | +Ported to 5.1.42 | 18 | +Ported to 5.1.42 |
4366 | 20 | diff -ruN a/sql/sql_show.cc b/sql/sql_show.cc | 19 | --- a/sql/sql_show.cc |
4367 | 21 | --- a/sql/sql_show.cc 2010-12-02 19:22:40.054024541 +0900 | 20 | +++ b/sql/sql_show.cc |
4365 | 22 | +++ b/sql/sql_show.cc 2010-12-02 20:41:41.622941425 +0900 | ||
4368 | 23 | @@ -1890,7 +1890,8 @@ | 21 | @@ -1890,7 +1890,8 @@ |
4369 | 24 | TABLE *table= tables->table; | 22 | TABLE *table= tables->table; |
4370 | 25 | CHARSET_INFO *cs= system_charset_info; | 23 | CHARSET_INFO *cs= system_charset_info; |
4371 | 26 | 24 | ||
4372 | === modified file 'patches/mysql-test.diff' | |||
4373 | --- patches/mysql-test.diff 2011-07-22 16:56:42 +0000 | |||
4374 | +++ patches/mysql-test.diff 2011-07-27 11:32:35 +0000 | |||
4375 | @@ -1,6 +1,5 @@ | |||
4379 | 1 | diff -ruN a/mysql-test/include/default_mysqld.cnf b/mysql-test/include/default_mysqld.cnf | 1 | --- a/mysql-test/include/default_mysqld.cnf |
4380 | 2 | --- a/mysql-test/include/default_mysqld.cnf 2011-04-09 18:48:03.000000000 +0400 | 2 | +++ b/mysql-test/include/default_mysqld.cnf |
4378 | 3 | +++ b/mysql-test/include/default_mysqld.cnf 2011-04-09 18:49:05.000000000 +0400 | ||
4381 | 4 | @@ -29,7 +29,7 @@ | 3 | @@ -29,7 +29,7 @@ |
4382 | 5 | max_heap_table_size= 1M | 4 | max_heap_table_size= 1M |
4383 | 6 | 5 | ||
4384 | @@ -10,9 +9,8 @@ | |||
4385 | 10 | loose-innodb_write_io_threads= 2 | 9 | loose-innodb_write_io_threads= 2 |
4386 | 11 | loose-innodb_read_io_threads= 2 | 10 | loose-innodb_read_io_threads= 2 |
4387 | 12 | loose-innodb_log_buffer_size= 1M | 11 | loose-innodb_log_buffer_size= 1M |
4391 | 13 | diff -ruN a/mysql-test/r/connect.result b/mysql-test/r/connect.result | 12 | --- a/mysql-test/r/connect.result |
4392 | 14 | --- a/mysql-test/r/connect.result 2011-04-09 18:48:03.000000000 +0400 | 13 | +++ b/mysql-test/r/connect.result |
4390 | 15 | +++ b/mysql-test/r/connect.result 2011-04-09 18:49:05.000000000 +0400 | ||
4393 | 16 | @@ -1,3 +1,4 @@ | 14 | @@ -1,3 +1,4 @@ |
4394 | 17 | +set global log_warnings=0; | 15 | +set global log_warnings=0; |
4395 | 18 | drop table if exists t1,t2; | 16 | drop table if exists t1,t2; |
4396 | @@ -23,9 +21,8 @@ | |||
4397 | 23 | # -- End of 5.1 tests | 21 | # -- End of 5.1 tests |
4398 | 24 | # ------------------------------------------------------------------ | 22 | # ------------------------------------------------------------------ |
4399 | 25 | +set global log_warnings=1; | 23 | +set global log_warnings=1; |
4403 | 26 | diff -ruN a/mysql-test/r/create.result b/mysql-test/r/create.result | 24 | --- a/mysql-test/r/create.result |
4404 | 27 | --- a/mysql-test/r/create.result 2011-04-09 18:48:03.000000000 +0400 | 25 | +++ b/mysql-test/r/create.result |
4402 | 28 | +++ b/mysql-test/r/create.result 2011-04-09 18:49:05.000000000 +0400 | ||
4405 | 29 | @@ -1741,7 +1741,11 @@ | 26 | @@ -1741,7 +1741,11 @@ |
4406 | 30 | `COMMAND` varchar(16) NOT NULL DEFAULT '', | 27 | `COMMAND` varchar(16) NOT NULL DEFAULT '', |
4407 | 31 | `TIME` int(7) NOT NULL DEFAULT '0', | 28 | `TIME` int(7) NOT NULL DEFAULT '0', |
4408 | @@ -52,9 +49,8 @@ | |||
4409 | 52 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 | 49 | ) ENGINE=MyISAM DEFAULT CHARSET=utf8 |
4410 | 53 | drop table t1; | 50 | drop table t1; |
4411 | 54 | create table t1 like information_schema.character_sets; | 51 | create table t1 like information_schema.character_sets; |
4415 | 55 | diff -ruN a/mysql-test/r/information_schema.result b/mysql-test/r/information_schema.result | 52 | --- a/mysql-test/r/information_schema.result |
4416 | 56 | --- a/mysql-test/r/information_schema.result 2011-04-09 18:48:03.000000000 +0400 | 53 | +++ b/mysql-test/r/information_schema.result |
4414 | 57 | +++ b/mysql-test/r/information_schema.result 2011-04-09 18:49:05.000000000 +0400 | ||
4417 | 58 | @@ -46,14 +46,17 @@ | 54 | @@ -46,14 +46,17 @@ |
4418 | 59 | select * from v1; | 55 | select * from v1; |
4419 | 60 | c | 56 | c |
4420 | @@ -266,9 +262,8 @@ | |||
4421 | 266 | VIEWS information_schema.VIEWS 1 | 262 | VIEWS information_schema.VIEWS 1 |
4422 | 267 | create table t1(f1 int); | 263 | create table t1(f1 int); |
4423 | 268 | create view v1 as select f1+1 as a from t1; | 264 | create view v1 as select f1+1 as a from t1; |
4427 | 269 | diff -ruN a/mysql-test/r/information_schema_db.result b/mysql-test/r/information_schema_db.result | 265 | --- a/mysql-test/r/information_schema_db.result |
4428 | 270 | --- a/mysql-test/r/information_schema_db.result 2011-04-09 18:48:03.000000000 +0400 | 266 | +++ b/mysql-test/r/information_schema_db.result |
4426 | 271 | +++ b/mysql-test/r/information_schema_db.result 2011-04-09 18:49:05.000000000 +0400 | ||
4429 | 272 | @@ -6,14 +6,17 @@ | 267 | @@ -6,14 +6,17 @@ |
4430 | 273 | show tables where Tables_in_information_schema NOT LIKE 'Innodb%'; | 268 | show tables where Tables_in_information_schema NOT LIKE 'Innodb%'; |
4431 | 274 | Tables_in_information_schema | 269 | Tables_in_information_schema |
4432 | @@ -319,9 +314,8 @@ | |||
4433 | 319 | TRIGGERS | 314 | TRIGGERS |
4434 | 320 | create database `inf%`; | 315 | create database `inf%`; |
4435 | 321 | create database mbase; | 316 | create database mbase; |
4439 | 322 | diff -ruN a/mysql-test/r/mysqld--help-notwin.result b/mysql-test/r/mysqld--help-notwin.result | 317 | --- a/mysql-test/r/mysqld--help-notwin.result |
4440 | 323 | --- a/mysql-test/r/mysqld--help-notwin.result 2011-04-09 18:48:03.000000000 +0400 | 318 | +++ b/mysql-test/r/mysqld--help-notwin.result |
4438 | 324 | +++ b/mysql-test/r/mysqld--help-notwin.result 2011-04-09 18:49:05.000000000 +0400 | ||
4441 | 325 | @@ -250,21 +250,40 @@ | 319 | @@ -250,21 +250,40 @@ |
4442 | 326 | --log-slow-admin-statements | 320 | --log-slow-admin-statements |
4443 | 327 | Log slow OPTIMIZE, ANALYZE, ALTER and other | 321 | Log slow OPTIMIZE, ANALYZE, ALTER and other |
4444 | @@ -493,9 +487,8 @@ | |||
4445 | 493 | 487 | ||
4446 | 494 | To see what values a running MySQL server is using, type | 488 | To see what values a running MySQL server is using, type |
4447 | 495 | 'mysqladmin variables' instead of 'mysqld --verbose --help'. | 489 | 'mysqladmin variables' instead of 'mysqld --verbose --help'. |
4451 | 496 | diff -ruN a/mysql-test/r/mysqldump.result b/mysql-test/r/mysqldump.result | 490 | --- a/mysql-test/r/mysqldump.result |
4452 | 497 | --- a/mysql-test/r/mysqldump.result 2011-04-09 18:48:03.000000000 +0400 | 491 | +++ b/mysql-test/r/mysqldump.result |
4450 | 498 | +++ b/mysql-test/r/mysqldump.result 2011-04-09 18:49:05.000000000 +0400 | ||
4453 | 499 | @@ -1832,7 +1832,7 @@ | 492 | @@ -1832,7 +1832,7 @@ |
4454 | 500 | # Bug#21288 mysqldump segmentation fault when using --where | 493 | # Bug#21288 mysqldump segmentation fault when using --where |
4455 | 501 | # | 494 | # |
4456 | @@ -505,9 +498,8 @@ | |||
4457 | 505 | mysqldump: Got error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 when retrieving data from server | 498 | mysqldump: Got error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 when retrieving data from server |
4458 | 506 | 499 | ||
4459 | 507 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; | 500 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
4463 | 508 | diff -ruN a/mysql-test/r/mysqlshow.result b/mysql-test/r/mysqlshow.result | 501 | --- a/mysql-test/r/mysqlshow.result |
4464 | 509 | --- a/mysql-test/r/mysqlshow.result 2011-04-09 18:48:03.000000000 +0400 | 502 | +++ b/mysql-test/r/mysqlshow.result |
4462 | 510 | +++ b/mysql-test/r/mysqlshow.result 2011-04-09 18:49:05.000000000 +0400 | ||
4465 | 511 | @@ -80,14 +80,17 @@ | 503 | @@ -80,14 +80,17 @@ |
4466 | 512 | | Tables | | 504 | | Tables | |
4467 | 513 | +---------------------------------------+ | 505 | +---------------------------------------+ |
4468 | @@ -639,9 +631,8 @@ | |||
4469 | 639 | +---------------------------------------+ | 631 | +---------------------------------------+ |
4470 | 640 | Wildcard: inf_rmation_schema | 632 | Wildcard: inf_rmation_schema |
4471 | 641 | +--------------------+ | 633 | +--------------------+ |
4475 | 642 | diff -ruN a/mysql-test/r/select.result b/mysql-test/r/select.result | 634 | --- a/mysql-test/r/select.result |
4476 | 643 | --- a/mysql-test/r/select.result 2011-04-09 18:48:03.000000000 +0400 | 635 | +++ b/mysql-test/r/select.result |
4474 | 644 | +++ b/mysql-test/r/select.result 2011-04-09 18:49:05.000000000 +0400 | ||
4477 | 645 | @@ -2196,10 +2196,10 @@ | 636 | @@ -2196,10 +2196,10 @@ |
4478 | 646 | select * from (t1 as t2 left join t1 as t3 using (a)) inner join t1 on t1.a>1; | 637 | select * from (t1 as t2 left join t1 as t3 using (a)) inner join t1 on t1.a>1; |
4479 | 647 | a a | 638 | a a |
4480 | @@ -655,9 +646,8 @@ | |||
4481 | 655 | 3 3 | 646 | 3 3 |
4482 | 656 | select * from t1 inner join (t1 as t2 left join t1 as t3 using (a)) on t1.a>1; | 647 | select * from t1 inner join (t1 as t2 left join t1 as t3 using (a)) on t1.a>1; |
4483 | 657 | a a | 648 | a a |
4487 | 658 | diff -ruN a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result | 649 | --- a/mysql-test/r/show_check.result |
4488 | 659 | --- a/mysql-test/r/show_check.result 2011-04-09 18:48:03.000000000 +0400 | 650 | +++ b/mysql-test/r/show_check.result |
4486 | 660 | +++ b/mysql-test/r/show_check.result 2011-04-09 18:49:05.000000000 +0400 | ||
4489 | 661 | @@ -1538,14 +1538,14 @@ | 651 | @@ -1538,14 +1538,14 @@ |
4490 | 662 | SET NAMES latin1; | 652 | SET NAMES latin1; |
4491 | 663 | SELECT GET_LOCK('t',1000) AS 'óóóó';; | 653 | SELECT GET_LOCK('t',1000) AS 'óóóó';; |
4492 | @@ -679,9 +669,8 @@ | |||
4493 | 679 | SELECT RELEASE_LOCK('t'); | 669 | SELECT RELEASE_LOCK('t'); |
4494 | 680 | RELEASE_LOCK('t') | 670 | RELEASE_LOCK('t') |
4495 | 681 | 1 | 671 | 1 |
4499 | 682 | diff -ruN a/mysql-test/r/sp-threads.result b/mysql-test/r/sp-threads.result | 672 | --- a/mysql-test/r/sp-threads.result |
4500 | 683 | --- a/mysql-test/r/sp-threads.result 2011-04-09 18:48:03.000000000 +0400 | 673 | +++ b/mysql-test/r/sp-threads.result |
4498 | 684 | +++ b/mysql-test/r/sp-threads.result 2011-04-09 18:49:05.000000000 +0400 | ||
4501 | 685 | @@ -33,11 +33,11 @@ | 674 | @@ -33,11 +33,11 @@ |
4502 | 686 | lock tables t2 write; | 675 | lock tables t2 write; |
4503 | 687 | call bug9486(); | 676 | call bug9486(); |
4504 | @@ -699,9 +688,8 @@ | |||
4505 | 699 | unlock tables; | 688 | unlock tables; |
4506 | 700 | drop procedure bug9486; | 689 | drop procedure bug9486; |
4507 | 701 | drop table t1, t2; | 690 | drop table t1, t2; |
4511 | 702 | diff -ruN a/mysql-test/suite/innodb/r/innodb.result b/mysql-test/suite/innodb/r/innodb.result | 691 | --- a/mysql-test/suite/innodb/r/innodb.result |
4512 | 703 | --- a/mysql-test/suite/innodb/r/innodb.result 2011-04-09 18:49:04.000000000 +0400 | 692 | +++ b/mysql-test/suite/innodb/r/innodb.result |
4510 | 704 | +++ b/mysql-test/suite/innodb/r/innodb.result 2011-04-09 18:49:05.000000000 +0400 | ||
4513 | 705 | @@ -1664,7 +1664,7 @@ | 693 | @@ -1664,7 +1664,7 @@ |
4514 | 706 | drop table t1; | 694 | drop table t1; |
4515 | 707 | SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_pages_total'; | 695 | SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_pages_total'; |
4516 | @@ -711,9 +699,8 @@ | |||
4517 | 711 | SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_page_size'; | 699 | SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_page_size'; |
4518 | 712 | variable_value | 700 | variable_value |
4519 | 713 | 16384 | 701 | 16384 |
4523 | 714 | diff -ruN a/mysql-test/suite/sys_vars/r/innodb_flush_log_at_trx_commit_basic.result b/mysql-test/suite/sys_vars/r/innodb_flush_log_at_trx_commit_basic.result | 702 | --- a/mysql-test/suite/sys_vars/r/innodb_flush_log_at_trx_commit_basic.result |
4524 | 715 | --- a/mysql-test/suite/sys_vars/r/innodb_flush_log_at_trx_commit_basic.result 2011-04-09 18:48:03.000000000 +0400 | 703 | +++ b/mysql-test/suite/sys_vars/r/innodb_flush_log_at_trx_commit_basic.result |
4522 | 716 | +++ b/mysql-test/suite/sys_vars/r/innodb_flush_log_at_trx_commit_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4525 | 717 | @@ -10,7 +10,6 @@ | 704 | @@ -10,7 +10,6 @@ |
4526 | 718 | 1 | 705 | 1 |
4527 | 719 | '#---------------------FN_DYNVARS_046_02-------------------------#' | 706 | '#---------------------FN_DYNVARS_046_02-------------------------#' |
4528 | @@ -722,9 +709,8 @@ | |||
4529 | 722 | SELECT @@innodb_flush_log_at_trx_commit; | 709 | SELECT @@innodb_flush_log_at_trx_commit; |
4530 | 723 | @@innodb_flush_log_at_trx_commit | 710 | @@innodb_flush_log_at_trx_commit |
4531 | 724 | 1 | 711 | 1 |
4535 | 725 | diff -ruN a/mysql-test/suite/sys_vars/t/innodb_flush_log_at_trx_commit_basic.test b/mysql-test/suite/sys_vars/t/innodb_flush_log_at_trx_commit_basic.test | 712 | --- a/mysql-test/suite/sys_vars/t/innodb_flush_log_at_trx_commit_basic.test |
4536 | 726 | --- a/mysql-test/suite/sys_vars/t/innodb_flush_log_at_trx_commit_basic.test 2011-04-09 18:48:03.000000000 +0400 | 713 | +++ b/mysql-test/suite/sys_vars/t/innodb_flush_log_at_trx_commit_basic.test |
4534 | 727 | +++ b/mysql-test/suite/sys_vars/t/innodb_flush_log_at_trx_commit_basic.test 2011-04-09 18:49:05.000000000 +0400 | ||
4537 | 728 | @@ -56,7 +56,7 @@ | 714 | @@ -56,7 +56,7 @@ |
4538 | 729 | # Check if variable can be accessed with and without @@ sign # | 715 | # Check if variable can be accessed with and without @@ sign # |
4539 | 730 | ############################################################################### | 716 | ############################################################################### |
4540 | @@ -734,9 +720,8 @@ | |||
4541 | 734 | SET innodb_flush_log_at_trx_commit = 1; | 720 | SET innodb_flush_log_at_trx_commit = 1; |
4542 | 735 | SELECT @@innodb_flush_log_at_trx_commit; | 721 | SELECT @@innodb_flush_log_at_trx_commit; |
4543 | 736 | 722 | ||
4547 | 737 | diff -ruN a/mysql-test/t/connect.test b/mysql-test/t/connect.test | 723 | --- a/mysql-test/t/connect.test |
4548 | 738 | --- a/mysql-test/t/connect.test 2011-04-09 18:48:03.000000000 +0400 | 724 | +++ b/mysql-test/t/connect.test |
4546 | 739 | +++ b/mysql-test/t/connect.test 2011-04-09 18:49:05.000000000 +0400 | ||
4549 | 740 | @@ -1,3 +1,5 @@ | 725 | @@ -1,3 +1,5 @@ |
4550 | 741 | +set global log_warnings=0; | 726 | +set global log_warnings=0; |
4551 | 742 | + | 727 | + |
4552 | @@ -748,9 +733,8 @@ | |||
4553 | 748 | --source include/wait_until_count_sessions.inc | 733 | --source include/wait_until_count_sessions.inc |
4554 | 749 | 734 | ||
4555 | 750 | +set global log_warnings=1; | 735 | +set global log_warnings=1; |
4559 | 751 | diff -ruN a/mysql-test/t/show_check.test b/mysql-test/t/show_check.test | 736 | --- a/mysql-test/t/show_check.test |
4560 | 752 | --- a/mysql-test/t/show_check.test 2011-04-09 18:48:03.000000000 +0400 | 737 | +++ b/mysql-test/t/show_check.test |
4558 | 753 | +++ b/mysql-test/t/show_check.test 2011-04-09 18:49:05.000000000 +0400 | ||
4561 | 754 | @@ -1376,10 +1376,10 @@ | 738 | @@ -1376,10 +1376,10 @@ |
4562 | 755 | let $wait_timeout= 10; | 739 | let $wait_timeout= 10; |
4563 | 756 | let $wait_condition= SELECT COUNT(*) FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%GET_LOCK%' AND ID != CONNECTION_ID(); | 740 | let $wait_condition= SELECT COUNT(*) FROM INFORMATION_SCHEMA.PROCESSLIST WHERE INFO LIKE '%GET_LOCK%' AND ID != CONNECTION_ID(); |
4564 | @@ -764,9 +748,8 @@ | |||
4565 | 764 | SHOW PROCESSLIST; | 748 | SHOW PROCESSLIST; |
4566 | 765 | SELECT RELEASE_LOCK('t'); | 749 | SELECT RELEASE_LOCK('t'); |
4567 | 766 | --connection con1 | 750 | --connection con1 |
4571 | 767 | diff -ruN a/mysql-test/t/sp-threads.test b/mysql-test/t/sp-threads.test | 751 | --- a/mysql-test/t/sp-threads.test |
4572 | 768 | --- a/mysql-test/t/sp-threads.test 2011-04-09 18:48:03.000000000 +0400 | 752 | +++ b/mysql-test/t/sp-threads.test |
4570 | 769 | +++ b/mysql-test/t/sp-threads.test 2011-04-09 18:49:05.000000000 +0400 | ||
4573 | 770 | @@ -81,7 +81,7 @@ | 753 | @@ -81,7 +81,7 @@ |
4574 | 771 | connection con2root; | 754 | connection con2root; |
4575 | 772 | --sleep 2 | 755 | --sleep 2 |
4576 | @@ -776,509 +759,426 @@ | |||
4577 | 776 | show processlist; | 759 | show processlist; |
4578 | 777 | unlock tables; | 760 | unlock tables; |
4579 | 778 | connection con1root; | 761 | connection con1root; |
4583 | 779 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/log_slow_sp_statements_basic.result | 762 | --- /dev/null |
4584 | 780 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 763 | +++ b/mysql-test/suite/sys_vars/r/log_slow_sp_statements_basic.result |
4582 | 781 | +++ b/mysql-test/suite/sys_vars/r/log_slow_sp_statements_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4585 | 782 | @@ -0,0 +1,3 @@ | 764 | @@ -0,0 +1,3 @@ |
4586 | 783 | +SELECT @@global.log_slow_sp_statements; | 765 | +SELECT @@global.log_slow_sp_statements; |
4587 | 784 | +@@global.log_slow_sp_statements | 766 | +@@global.log_slow_sp_statements |
4588 | 785 | +1 | 767 | +1 |
4592 | 786 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/t/log_slow_sp_statements_basic.test | 768 | --- /dev/null |
4593 | 787 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 769 | +++ b/mysql-test/suite/sys_vars/t/log_slow_sp_statements_basic.test |
4591 | 788 | +++ b/mysql-test/suite/sys_vars/t/log_slow_sp_statements_basic.test 2011-04-09 18:49:05.000000000 +0400 | ||
4594 | 789 | @@ -0,0 +1 @@ | 770 | @@ -0,0 +1 @@ |
4595 | 790 | +SELECT @@global.log_slow_sp_statements; | 771 | +SELECT @@global.log_slow_sp_statements; |
4599 | 791 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/fast_index_creation_basic.result | 772 | --- /dev/null |
4600 | 792 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 773 | +++ b/mysql-test/suite/sys_vars/r/fast_index_creation_basic.result |
4598 | 793 | +++ b/mysql-test/suite/sys_vars/r/fast_index_creation_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4601 | 794 | @@ -0,0 +1,3 @@ | 774 | @@ -0,0 +1,3 @@ |
4602 | 795 | +SELECT @@global.fast_index_creation; | 775 | +SELECT @@global.fast_index_creation; |
4603 | 796 | +@@global.fast_index_creation | 776 | +@@global.fast_index_creation |
4604 | 797 | +1 | 777 | +1 |
4608 | 798 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/have_response_time_distribution_basic.result | 778 | --- /dev/null |
4609 | 799 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 779 | +++ b/mysql-test/suite/sys_vars/r/have_response_time_distribution_basic.result |
4607 | 800 | +++ b/mysql-test/suite/sys_vars/r/have_response_time_distribution_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4610 | 801 | @@ -0,0 +1,3 @@ | 780 | @@ -0,0 +1,3 @@ |
4611 | 802 | +SELECT @@global.have_response_time_distribution; | 781 | +SELECT @@global.have_response_time_distribution; |
4612 | 803 | +@@global.have_response_time_distribution | 782 | +@@global.have_response_time_distribution |
4613 | 804 | +YES | 783 | +YES |
4617 | 805 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_method_basic.result | 784 | --- /dev/null |
4618 | 806 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 785 | +++ b/mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_method_basic.result |
4616 | 807 | +++ b/mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_method_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4619 | 808 | @@ -0,0 +1,3 @@ | 786 | @@ -0,0 +1,3 @@ |
4620 | 809 | +SELECT @@global.innodb_adaptive_flushing_method; | 787 | +SELECT @@global.innodb_adaptive_flushing_method; |
4621 | 810 | +@@global.innodb_adaptive_flushing_method | 788 | +@@global.innodb_adaptive_flushing_method |
4622 | 811 | +estimate | 789 | +estimate |
4626 | 812 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_adaptive_hash_index_partitions_basic.result | 790 | --- /dev/null |
4627 | 813 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 791 | +++ b/mysql-test/suite/sys_vars/r/innodb_adaptive_hash_index_partitions_basic.result |
4625 | 814 | +++ b/mysql-test/suite/sys_vars/r/innodb_adaptive_hash_index_partitions_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4628 | 815 | @@ -0,0 +1,3 @@ | 792 | @@ -0,0 +1,3 @@ |
4629 | 816 | +SELECT @@global.innodb_adaptive_hash_index_partitions; | 793 | +SELECT @@global.innodb_adaptive_hash_index_partitions; |
4630 | 817 | +@@global.innodb_adaptive_hash_index_partitions | 794 | +@@global.innodb_adaptive_hash_index_partitions |
4631 | 818 | +1 | 795 | +1 |
4635 | 819 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_restore_at_startup_basic.result | 796 | --- /dev/null |
4636 | 820 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 797 | +++ b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_restore_at_startup_basic.result |
4634 | 821 | +++ b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_restore_at_startup_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4637 | 822 | @@ -0,0 +1,3 @@ | 798 | @@ -0,0 +1,3 @@ |
4638 | 823 | +SELECT @@global.innodb_buffer_pool_restore_at_startup; | 799 | +SELECT @@global.innodb_buffer_pool_restore_at_startup; |
4639 | 824 | +@@global.innodb_buffer_pool_restore_at_startup | 800 | +@@global.innodb_buffer_pool_restore_at_startup |
4640 | 825 | +0 | 801 | +0 |
4644 | 826 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_shm_checksum_basic.result | 802 | --- /dev/null |
4645 | 827 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 803 | +++ b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_shm_checksum_basic.result |
4643 | 828 | +++ b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_shm_checksum_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4646 | 829 | @@ -0,0 +1,3 @@ | 804 | @@ -0,0 +1,3 @@ |
4647 | 830 | +SELECT @@global.innodb_buffer_pool_shm_checksum; | 805 | +SELECT @@global.innodb_buffer_pool_shm_checksum; |
4648 | 831 | +@@global.innodb_buffer_pool_shm_checksum | 806 | +@@global.innodb_buffer_pool_shm_checksum |
4649 | 832 | +1 | 807 | +1 |
4653 | 833 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_shm_key_basic.result | 808 | --- /dev/null |
4654 | 834 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 809 | +++ b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_shm_key_basic.result |
4652 | 835 | +++ b/mysql-test/suite/sys_vars/r/innodb_buffer_pool_shm_key_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4655 | 836 | @@ -0,0 +1,3 @@ | 810 | @@ -0,0 +1,3 @@ |
4656 | 837 | +SELECT @@global.innodb_buffer_pool_shm_key; | 811 | +SELECT @@global.innodb_buffer_pool_shm_key; |
4657 | 838 | +@@global.innodb_buffer_pool_shm_key | 812 | +@@global.innodb_buffer_pool_shm_key |
4658 | 839 | +0 | 813 | +0 |
4662 | 840 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_checkpoint_age_target_basic.result | 814 | --- /dev/null |
4663 | 841 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 815 | +++ b/mysql-test/suite/sys_vars/r/innodb_checkpoint_age_target_basic.result |
4661 | 842 | +++ b/mysql-test/suite/sys_vars/r/innodb_checkpoint_age_target_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4664 | 843 | @@ -0,0 +1,3 @@ | 816 | @@ -0,0 +1,3 @@ |
4665 | 844 | +SELECT @@global.innodb_checkpoint_age_target; | 817 | +SELECT @@global.innodb_checkpoint_age_target; |
4666 | 845 | +@@global.innodb_checkpoint_age_target | 818 | +@@global.innodb_checkpoint_age_target |
4667 | 846 | +0 | 819 | +0 |
4671 | 847 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_corrupt_table_action_basic.result | 820 | --- /dev/null |
4672 | 848 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 821 | +++ b/mysql-test/suite/sys_vars/r/innodb_corrupt_table_action_basic.result |
4670 | 849 | +++ b/mysql-test/suite/sys_vars/r/innodb_corrupt_table_action_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4673 | 850 | @@ -0,0 +1,3 @@ | 822 | @@ -0,0 +1,3 @@ |
4674 | 851 | +SELECT @@global.innodb_corrupt_table_action; | 823 | +SELECT @@global.innodb_corrupt_table_action; |
4675 | 852 | +@@global.innodb_corrupt_table_action | 824 | +@@global.innodb_corrupt_table_action |
4676 | 853 | +assert | 825 | +assert |
4680 | 854 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_dict_size_limit_basic.result | 826 | --- /dev/null |
4681 | 855 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 827 | +++ b/mysql-test/suite/sys_vars/r/innodb_dict_size_limit_basic.result |
4679 | 856 | +++ b/mysql-test/suite/sys_vars/r/innodb_dict_size_limit_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4682 | 857 | @@ -0,0 +1,3 @@ | 828 | @@ -0,0 +1,3 @@ |
4683 | 858 | +SELECT @@global.innodb_dict_size_limit; | 829 | +SELECT @@global.innodb_dict_size_limit; |
4684 | 859 | +@@global.innodb_dict_size_limit | 830 | +@@global.innodb_dict_size_limit |
4685 | 860 | +0 | 831 | +0 |
4689 | 861 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_doublewrite_file_basic.result | 832 | --- /dev/null |
4690 | 862 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 833 | +++ b/mysql-test/suite/sys_vars/r/innodb_doublewrite_file_basic.result |
4688 | 863 | +++ b/mysql-test/suite/sys_vars/r/innodb_doublewrite_file_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4691 | 864 | @@ -0,0 +1,3 @@ | 834 | @@ -0,0 +1,3 @@ |
4692 | 865 | +SELECT @@global.innodb_doublewrite_file; | 835 | +SELECT @@global.innodb_doublewrite_file; |
4693 | 866 | +@@global.innodb_doublewrite_file | 836 | +@@global.innodb_doublewrite_file |
4694 | 867 | +NULL | 837 | +NULL |
4698 | 868 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_fast_checksum_basic.result | 838 | --- /dev/null |
4699 | 869 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 839 | +++ b/mysql-test/suite/sys_vars/r/innodb_fast_checksum_basic.result |
4697 | 870 | +++ b/mysql-test/suite/sys_vars/r/innodb_fast_checksum_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4700 | 871 | @@ -0,0 +1,3 @@ | 840 | @@ -0,0 +1,3 @@ |
4701 | 872 | +SELECT @@global.innodb_fast_checksum; | 841 | +SELECT @@global.innodb_fast_checksum; |
4702 | 873 | +@@global.innodb_fast_checksum | 842 | +@@global.innodb_fast_checksum |
4703 | 874 | +0 | 843 | +0 |
4707 | 875 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_flush_neighbor_pages_basic.result | 844 | --- /dev/null |
4708 | 876 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 845 | +++ b/mysql-test/suite/sys_vars/r/innodb_flush_neighbor_pages_basic.result |
4706 | 877 | +++ b/mysql-test/suite/sys_vars/r/innodb_flush_neighbor_pages_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4709 | 878 | @@ -0,0 +1,3 @@ | 846 | @@ -0,0 +1,3 @@ |
4710 | 879 | +SELECT @@global.innodb_flush_neighbor_pages; | 847 | +SELECT @@global.innodb_flush_neighbor_pages; |
4711 | 880 | +@@global.innodb_flush_neighbor_pages | 848 | +@@global.innodb_flush_neighbor_pages |
4712 | 881 | +1 | 849 | +1 |
4716 | 882 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_ibuf_accel_rate_basic.result | 850 | --- /dev/null |
4717 | 883 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 851 | +++ b/mysql-test/suite/sys_vars/r/innodb_ibuf_accel_rate_basic.result |
4715 | 884 | +++ b/mysql-test/suite/sys_vars/r/innodb_ibuf_accel_rate_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4718 | 885 | @@ -0,0 +1,3 @@ | 852 | @@ -0,0 +1,3 @@ |
4719 | 886 | +SELECT @@global.innodb_ibuf_accel_rate; | 853 | +SELECT @@global.innodb_ibuf_accel_rate; |
4720 | 887 | +@@global.innodb_ibuf_accel_rate | 854 | +@@global.innodb_ibuf_accel_rate |
4721 | 888 | +100 | 855 | +100 |
4725 | 889 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_ibuf_active_contract_basic.result | 856 | --- /dev/null |
4726 | 890 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 857 | +++ b/mysql-test/suite/sys_vars/r/innodb_ibuf_active_contract_basic.result |
4724 | 891 | +++ b/mysql-test/suite/sys_vars/r/innodb_ibuf_active_contract_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4727 | 892 | @@ -0,0 +1,3 @@ | 858 | @@ -0,0 +1,3 @@ |
4728 | 893 | +SELECT @@global.innodb_ibuf_active_contract; | 859 | +SELECT @@global.innodb_ibuf_active_contract; |
4729 | 894 | +@@global.innodb_ibuf_active_contract | 860 | +@@global.innodb_ibuf_active_contract |
4730 | 895 | +1 | 861 | +1 |
4734 | 896 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_ibuf_max_size_basic.result | 862 | --- /dev/null |
4735 | 897 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 863 | +++ b/mysql-test/suite/sys_vars/r/innodb_ibuf_max_size_basic.result |
4733 | 898 | +++ b/mysql-test/suite/sys_vars/r/innodb_ibuf_max_size_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4736 | 899 | @@ -0,0 +1,3 @@ | 864 | @@ -0,0 +1,3 @@ |
4737 | 900 | +SELECT @@global.innodb_ibuf_max_size; | 865 | +SELECT @@global.innodb_ibuf_max_size; |
4738 | 901 | +@@global.innodb_ibuf_max_size | 866 | +@@global.innodb_ibuf_max_size |
4739 | 902 | +16760832 | 867 | +16760832 |
4743 | 903 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_import_table_from_xtrabackup_basic.result | 868 | --- /dev/null |
4744 | 904 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 869 | +++ b/mysql-test/suite/sys_vars/r/innodb_import_table_from_xtrabackup_basic.result |
4742 | 905 | +++ b/mysql-test/suite/sys_vars/r/innodb_import_table_from_xtrabackup_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4745 | 906 | @@ -0,0 +1,3 @@ | 870 | @@ -0,0 +1,3 @@ |
4746 | 907 | +SELECT @@global.innodb_import_table_from_xtrabackup; | 871 | +SELECT @@global.innodb_import_table_from_xtrabackup; |
4747 | 908 | +@@global.innodb_import_table_from_xtrabackup | 872 | +@@global.innodb_import_table_from_xtrabackup |
4748 | 909 | +0 | 873 | +0 |
4752 | 910 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_lazy_drop_table_basic.result | 874 | --- /dev/null |
4753 | 911 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 875 | +++ b/mysql-test/suite/sys_vars/r/innodb_lazy_drop_table_basic.result |
4751 | 912 | +++ b/mysql-test/suite/sys_vars/r/innodb_lazy_drop_table_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4754 | 913 | @@ -0,0 +1,3 @@ | 876 | @@ -0,0 +1,3 @@ |
4755 | 914 | +SELECT @@global.innodb_lazy_drop_table; | 877 | +SELECT @@global.innodb_lazy_drop_table; |
4756 | 915 | +@@global.innodb_lazy_drop_table | 878 | +@@global.innodb_lazy_drop_table |
4757 | 916 | +0 | 879 | +0 |
4761 | 917 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_log_block_size_basic.result | 880 | --- /dev/null |
4762 | 918 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 881 | +++ b/mysql-test/suite/sys_vars/r/innodb_log_block_size_basic.result |
4760 | 919 | +++ b/mysql-test/suite/sys_vars/r/innodb_log_block_size_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4763 | 920 | @@ -0,0 +1,3 @@ | 882 | @@ -0,0 +1,3 @@ |
4764 | 921 | +SELECT @@global.innodb_log_block_size; | 883 | +SELECT @@global.innodb_log_block_size; |
4765 | 922 | +@@global.innodb_log_block_size | 884 | +@@global.innodb_log_block_size |
4766 | 923 | +512 | 885 | +512 |
4770 | 924 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_page_size_basic.result | 886 | --- /dev/null |
4771 | 925 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 887 | +++ b/mysql-test/suite/sys_vars/r/innodb_page_size_basic.result |
4769 | 926 | +++ b/mysql-test/suite/sys_vars/r/innodb_page_size_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4772 | 927 | @@ -0,0 +1,3 @@ | 888 | @@ -0,0 +1,3 @@ |
4773 | 928 | +SELECT @@global.innodb_page_size; | 889 | +SELECT @@global.innodb_page_size; |
4774 | 929 | +@@global.innodb_page_size | 890 | +@@global.innodb_page_size |
4775 | 930 | +16384 | 891 | +16384 |
4779 | 931 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_read_ahead_basic.result | 892 | --- /dev/null |
4780 | 932 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 893 | +++ b/mysql-test/suite/sys_vars/r/innodb_read_ahead_basic.result |
4778 | 933 | +++ b/mysql-test/suite/sys_vars/r/innodb_read_ahead_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4781 | 934 | @@ -0,0 +1,3 @@ | 894 | @@ -0,0 +1,3 @@ |
4782 | 935 | +SELECT @@global.innodb_read_ahead; | 895 | +SELECT @@global.innodb_read_ahead; |
4783 | 936 | +@@global.innodb_read_ahead | 896 | +@@global.innodb_read_ahead |
4784 | 937 | +linear | 897 | +linear |
4788 | 938 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_recovery_stats_basic.result | 898 | --- /dev/null |
4789 | 939 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 899 | +++ b/mysql-test/suite/sys_vars/r/innodb_recovery_stats_basic.result |
4787 | 940 | +++ b/mysql-test/suite/sys_vars/r/innodb_recovery_stats_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4790 | 941 | @@ -0,0 +1,3 @@ | 900 | @@ -0,0 +1,3 @@ |
4791 | 942 | +SELECT @@global.innodb_recovery_stats; | 901 | +SELECT @@global.innodb_recovery_stats; |
4792 | 943 | +@@global.innodb_recovery_stats | 902 | +@@global.innodb_recovery_stats |
4793 | 944 | +0 | 903 | +0 |
4797 | 945 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_recovery_update_relay_log_basic.result | 904 | --- /dev/null |
4798 | 946 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 905 | +++ b/mysql-test/suite/sys_vars/r/innodb_recovery_update_relay_log_basic.result |
4796 | 947 | +++ b/mysql-test/suite/sys_vars/r/innodb_recovery_update_relay_log_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4799 | 948 | @@ -0,0 +1,3 @@ | 906 | @@ -0,0 +1,3 @@ |
4800 | 949 | +SELECT @@global.innodb_recovery_update_relay_log; | 907 | +SELECT @@global.innodb_recovery_update_relay_log; |
4801 | 950 | +@@global.innodb_recovery_update_relay_log | 908 | +@@global.innodb_recovery_update_relay_log |
4802 | 951 | +0 | 909 | +0 |
4806 | 952 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_show_locks_held_basic.result | 910 | --- /dev/null |
4807 | 953 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 911 | +++ b/mysql-test/suite/sys_vars/r/innodb_show_locks_held_basic.result |
4805 | 954 | +++ b/mysql-test/suite/sys_vars/r/innodb_show_locks_held_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4808 | 955 | @@ -0,0 +1,3 @@ | 912 | @@ -0,0 +1,3 @@ |
4809 | 956 | +SELECT @@global.innodb_show_locks_held; | 913 | +SELECT @@global.innodb_show_locks_held; |
4810 | 957 | +@@global.innodb_show_locks_held | 914 | +@@global.innodb_show_locks_held |
4811 | 958 | +10 | 915 | +10 |
4815 | 959 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_show_verbose_locks_basic.result | 916 | --- /dev/null |
4816 | 960 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 917 | +++ b/mysql-test/suite/sys_vars/r/innodb_show_verbose_locks_basic.result |
4814 | 961 | +++ b/mysql-test/suite/sys_vars/r/innodb_show_verbose_locks_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4817 | 962 | @@ -0,0 +1,3 @@ | 918 | @@ -0,0 +1,3 @@ |
4818 | 963 | +SELECT @@global.innodb_show_verbose_locks; | 919 | +SELECT @@global.innodb_show_verbose_locks; |
4819 | 964 | +@@global.innodb_show_verbose_locks | 920 | +@@global.innodb_show_verbose_locks |
4820 | 965 | +0 | 921 | +0 |
4824 | 966 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_stats_auto_update_basic.result | 922 | --- /dev/null |
4825 | 967 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 923 | +++ b/mysql-test/suite/sys_vars/r/innodb_stats_auto_update_basic.result |
4823 | 968 | +++ b/mysql-test/suite/sys_vars/r/innodb_stats_auto_update_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4826 | 969 | @@ -0,0 +1,3 @@ | 924 | @@ -0,0 +1,3 @@ |
4827 | 970 | +SELECT @@global.innodb_stats_auto_update; | 925 | +SELECT @@global.innodb_stats_auto_update; |
4828 | 971 | +@@global.innodb_stats_auto_update | 926 | +@@global.innodb_stats_auto_update |
4829 | 972 | +1 | 927 | +1 |
4833 | 973 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_stats_update_need_lock_basic.result | 928 | --- /dev/null |
4834 | 974 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 929 | +++ b/mysql-test/suite/sys_vars/r/innodb_stats_update_need_lock_basic.result |
4832 | 975 | +++ b/mysql-test/suite/sys_vars/r/innodb_stats_update_need_lock_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4835 | 976 | @@ -0,0 +1,3 @@ | 930 | @@ -0,0 +1,3 @@ |
4836 | 977 | +SELECT @@global.innodb_stats_update_need_lock; | 931 | +SELECT @@global.innodb_stats_update_need_lock; |
4837 | 978 | +@@global.innodb_stats_update_need_lock | 932 | +@@global.innodb_stats_update_need_lock |
4838 | 979 | +1 | 933 | +1 |
4842 | 980 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_thread_concurrency_timer_based_basic.result | 934 | --- /dev/null |
4843 | 981 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 935 | +++ b/mysql-test/suite/sys_vars/r/innodb_thread_concurrency_timer_based_basic.result |
4841 | 982 | +++ b/mysql-test/suite/sys_vars/r/innodb_thread_concurrency_timer_based_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4844 | 983 | @@ -0,0 +1,3 @@ | 936 | @@ -0,0 +1,3 @@ |
4845 | 984 | +SELECT @@global.innodb_thread_concurrency_timer_based; | 937 | +SELECT @@global.innodb_thread_concurrency_timer_based; |
4846 | 985 | +@@global.innodb_thread_concurrency_timer_based | 938 | +@@global.innodb_thread_concurrency_timer_based |
4847 | 986 | +0 | 939 | +0 |
4851 | 987 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_use_global_flush_log_at_trx_commit_basic.result | 940 | --- /dev/null |
4852 | 988 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 941 | +++ b/mysql-test/suite/sys_vars/r/innodb_use_global_flush_log_at_trx_commit_basic.result |
4850 | 989 | +++ b/mysql-test/suite/sys_vars/r/innodb_use_global_flush_log_at_trx_commit_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4853 | 990 | @@ -0,0 +1,3 @@ | 942 | @@ -0,0 +1,3 @@ |
4854 | 991 | +SELECT @@global.innodb_use_global_flush_log_at_trx_commit; | 943 | +SELECT @@global.innodb_use_global_flush_log_at_trx_commit; |
4855 | 992 | +@@global.innodb_use_global_flush_log_at_trx_commit | 944 | +@@global.innodb_use_global_flush_log_at_trx_commit |
4856 | 993 | +1 | 945 | +1 |
4860 | 994 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/innodb_use_sys_stats_table_basic.result | 946 | --- /dev/null |
4861 | 995 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 947 | +++ b/mysql-test/suite/sys_vars/r/innodb_use_sys_stats_table_basic.result |
4859 | 996 | +++ b/mysql-test/suite/sys_vars/r/innodb_use_sys_stats_table_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4862 | 997 | @@ -0,0 +1,3 @@ | 948 | @@ -0,0 +1,3 @@ |
4863 | 998 | +SELECT @@global.innodb_use_sys_stats_table; | 949 | +SELECT @@global.innodb_use_sys_stats_table; |
4864 | 999 | +@@global.innodb_use_sys_stats_table | 950 | +@@global.innodb_use_sys_stats_table |
4865 | 1000 | +0 | 951 | +0 |
4869 | 1001 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/log_slow_filter_basic.result | 952 | --- /dev/null |
4870 | 1002 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 953 | +++ b/mysql-test/suite/sys_vars/r/log_slow_filter_basic.result |
4868 | 1003 | +++ b/mysql-test/suite/sys_vars/r/log_slow_filter_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4871 | 1004 | @@ -0,0 +1,3 @@ | 954 | @@ -0,0 +1,3 @@ |
4872 | 1005 | +SELECT @@global.log_slow_filter; | 955 | +SELECT @@global.log_slow_filter; |
4873 | 1006 | +@@global.log_slow_filter | 956 | +@@global.log_slow_filter |
4874 | 1007 | + | 957 | + |
4878 | 1008 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/log_slow_rate_limit_basic.result | 958 | --- /dev/null |
4879 | 1009 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 959 | +++ b/mysql-test/suite/sys_vars/r/log_slow_rate_limit_basic.result |
4877 | 1010 | +++ b/mysql-test/suite/sys_vars/r/log_slow_rate_limit_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4880 | 1011 | @@ -0,0 +1,3 @@ | 960 | @@ -0,0 +1,3 @@ |
4881 | 1012 | +SELECT @@global.log_slow_rate_limit; | 961 | +SELECT @@global.log_slow_rate_limit; |
4882 | 1013 | +@@global.log_slow_rate_limit | 962 | +@@global.log_slow_rate_limit |
4883 | 1014 | +1 | 963 | +1 |
4887 | 1015 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/log_slow_slave_statements_basic.result | 964 | --- /dev/null |
4888 | 1016 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 965 | +++ b/mysql-test/suite/sys_vars/r/log_slow_slave_statements_basic.result |
4886 | 1017 | +++ b/mysql-test/suite/sys_vars/r/log_slow_slave_statements_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4889 | 1018 | @@ -0,0 +1,3 @@ | 966 | @@ -0,0 +1,3 @@ |
4890 | 1019 | +SELECT @@global.log_slow_slave_statements; | 967 | +SELECT @@global.log_slow_slave_statements; |
4891 | 1020 | +@@global.log_slow_slave_statements | 968 | +@@global.log_slow_slave_statements |
4892 | 1021 | +0 | 969 | +0 |
4896 | 1022 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/log_slow_verbosity_basic.result | 970 | --- /dev/null |
4897 | 1023 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 971 | +++ b/mysql-test/suite/sys_vars/r/log_slow_verbosity_basic.result |
4895 | 1024 | +++ b/mysql-test/suite/sys_vars/r/log_slow_verbosity_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4898 | 1025 | @@ -0,0 +1,3 @@ | 972 | @@ -0,0 +1,3 @@ |
4899 | 1026 | +SELECT @@global.log_slow_verbosity; | 973 | +SELECT @@global.log_slow_verbosity; |
4900 | 1027 | +@@global.log_slow_verbosity | 974 | +@@global.log_slow_verbosity |
4901 | 1028 | + | 975 | + |
4905 | 1029 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/log_warnings_suppress_basic.result | 976 | --- /dev/null |
4906 | 1030 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 977 | +++ b/mysql-test/suite/sys_vars/r/log_warnings_suppress_basic.result |
4904 | 1031 | +++ b/mysql-test/suite/sys_vars/r/log_warnings_suppress_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4907 | 1032 | @@ -0,0 +1,3 @@ | 978 | @@ -0,0 +1,3 @@ |
4908 | 1033 | +SELECT @@global.log_warnings_suppress; | 979 | +SELECT @@global.log_warnings_suppress; |
4909 | 1034 | +@@global.log_warnings_suppress | 980 | +@@global.log_warnings_suppress |
4910 | 1035 | + | 981 | + |
4914 | 1036 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/optimizer_fix_basic.result | 982 | --- /dev/null |
4915 | 1037 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 983 | +++ b/mysql-test/suite/sys_vars/r/optimizer_fix_basic.result |
4913 | 1038 | +++ b/mysql-test/suite/sys_vars/r/optimizer_fix_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4916 | 1039 | @@ -0,0 +1,3 @@ | 984 | @@ -0,0 +1,3 @@ |
4917 | 1040 | +SELECT @@global.optimizer_fix; | 985 | +SELECT @@global.optimizer_fix; |
4918 | 1041 | +@@global.optimizer_fix | 986 | +@@global.optimizer_fix |
4919 | 1042 | +1 | 987 | +1 |
4923 | 1043 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/query_cache_strip_comments_basic.result | 988 | --- /dev/null |
4924 | 1044 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 989 | +++ b/mysql-test/suite/sys_vars/r/query_cache_strip_comments_basic.result |
4922 | 1045 | +++ b/mysql-test/suite/sys_vars/r/query_cache_strip_comments_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4925 | 1046 | @@ -0,0 +1,3 @@ | 990 | @@ -0,0 +1,3 @@ |
4926 | 1047 | +SELECT @@global.query_cache_strip_comments; | 991 | +SELECT @@global.query_cache_strip_comments; |
4927 | 1048 | +@@global.query_cache_strip_comments | 992 | +@@global.query_cache_strip_comments |
4928 | 1049 | +0 | 993 | +0 |
4932 | 1050 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/query_response_time_range_base_basic.result | 994 | --- /dev/null |
4933 | 1051 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 995 | +++ b/mysql-test/suite/sys_vars/r/query_response_time_range_base_basic.result |
4931 | 1052 | +++ b/mysql-test/suite/sys_vars/r/query_response_time_range_base_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4934 | 1053 | @@ -0,0 +1,3 @@ | 996 | @@ -0,0 +1,3 @@ |
4935 | 1054 | +SELECT @@global.query_response_time_range_base; | 997 | +SELECT @@global.query_response_time_range_base; |
4936 | 1055 | +@@global.query_response_time_range_base | 998 | +@@global.query_response_time_range_base |
4937 | 1056 | +10 | 999 | +10 |
4941 | 1057 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/query_response_time_stats_basic.result | 1000 | --- /dev/null |
4942 | 1058 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 1001 | +++ b/mysql-test/suite/sys_vars/r/query_response_time_stats_basic.result |
4940 | 1059 | +++ b/mysql-test/suite/sys_vars/r/query_response_time_stats_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4943 | 1060 | @@ -0,0 +1,3 @@ | 1002 | @@ -0,0 +1,3 @@ |
4944 | 1061 | +SELECT @@global.query_response_time_stats; | 1003 | +SELECT @@global.query_response_time_stats; |
4945 | 1062 | +@@global.query_response_time_stats | 1004 | +@@global.query_response_time_stats |
4946 | 1063 | +0 | 1005 | +0 |
4950 | 1064 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/slow_query_log_timestamp_always_basic.result | 1006 | --- /dev/null |
4951 | 1065 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 1007 | +++ b/mysql-test/suite/sys_vars/r/slow_query_log_timestamp_always_basic.result |
4949 | 1066 | +++ b/mysql-test/suite/sys_vars/r/slow_query_log_timestamp_always_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4952 | 1067 | @@ -0,0 +1,3 @@ | 1008 | @@ -0,0 +1,3 @@ |
4953 | 1068 | +SELECT @@global.slow_query_log_timestamp_always; | 1009 | +SELECT @@global.slow_query_log_timestamp_always; |
4954 | 1069 | +@@global.slow_query_log_timestamp_always | 1010 | +@@global.slow_query_log_timestamp_always |
4955 | 1070 | +0 | 1011 | +0 |
4959 | 1071 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/slow_query_log_timestamp_precision_basic.result | 1012 | --- /dev/null |
4960 | 1072 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 1013 | +++ b/mysql-test/suite/sys_vars/r/slow_query_log_timestamp_precision_basic.result |
4958 | 1073 | +++ b/mysql-test/suite/sys_vars/r/slow_query_log_timestamp_precision_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4961 | 1074 | @@ -0,0 +1,3 @@ | 1014 | @@ -0,0 +1,3 @@ |
4962 | 1075 | +SELECT @@global.slow_query_log_timestamp_precision; | 1015 | +SELECT @@global.slow_query_log_timestamp_precision; |
4963 | 1076 | +@@global.slow_query_log_timestamp_precision | 1016 | +@@global.slow_query_log_timestamp_precision |
4964 | 1077 | +second | 1017 | +second |
4968 | 1078 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/slow_query_log_use_global_control_basic.result | 1018 | --- /dev/null |
4969 | 1079 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 1019 | +++ b/mysql-test/suite/sys_vars/r/slow_query_log_use_global_control_basic.result |
4967 | 1080 | +++ b/mysql-test/suite/sys_vars/r/slow_query_log_use_global_control_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4970 | 1081 | @@ -0,0 +1,3 @@ | 1020 | @@ -0,0 +1,3 @@ |
4971 | 1082 | +SELECT @@global.slow_query_log_use_global_control; | 1021 | +SELECT @@global.slow_query_log_use_global_control; |
4972 | 1083 | +@@global.slow_query_log_use_global_control | 1022 | +@@global.slow_query_log_use_global_control |
4973 | 1084 | + | 1023 | + |
4977 | 1085 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/thread_statistics_basic.result | 1024 | --- /dev/null |
4978 | 1086 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 1025 | +++ b/mysql-test/suite/sys_vars/r/thread_statistics_basic.result |
4976 | 1087 | +++ b/mysql-test/suite/sys_vars/r/thread_statistics_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4979 | 1088 | @@ -0,0 +1,3 @@ | 1026 | @@ -0,0 +1,3 @@ |
4980 | 1089 | +SELECT @@global.thread_statistics; | 1027 | +SELECT @@global.thread_statistics; |
4981 | 1090 | +@@global.thread_statistics | 1028 | +@@global.thread_statistics |
4982 | 1091 | +0 | 1029 | +0 |
4986 | 1092 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/r/userstat_basic.result | 1030 | --- /dev/null |
4987 | 1093 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 1031 | +++ b/mysql-test/suite/sys_vars/r/userstat_basic.result |
4985 | 1094 | +++ b/mysql-test/suite/sys_vars/r/userstat_basic.result 2011-04-09 18:49:05.000000000 +0400 | ||
4988 | 1095 | @@ -0,0 +1,3 @@ | 1032 | @@ -0,0 +1,3 @@ |
4989 | 1096 | +SELECT @@global.userstat; | 1033 | +SELECT @@global.userstat; |
4990 | 1097 | +@@global.userstat | 1034 | +@@global.userstat |
4991 | 1098 | +0 | 1035 | +0 |
4995 | 1099 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/t/fast_index_creation_basic.test | 1036 | --- /dev/null |
4996 | 1100 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 | 1037 | +++ b/mysql-test/suite/sys_vars/t/fast_index_creation_basic.test |
4994 | 1101 | +++ b/mysql-test/suite/sys_vars/t/fast_index_creation_basic.test 2011-04-09 18:49:05.000000000 +0400 | ||
4997 | 1102 | @@ -0,0 +1 @@ | 1038 | @@ -0,0 +1 @@ |
4998 | 1103 | +SELECT @@global.fast_index_creation; | 1039 | +SELECT @@global.fast_index_creation; |
4999 | 1104 | diff -ruN /dev/null b/mysql-test/suite/sys_vars/t/have_response_time_distribution_basic.test | ||
5000 | 1105 | --- /dev/null 1970-01-01 00:00:00.000000000 +0000 |
I checked correctness by following way:
rm -rf a b Server- 5.5.13- rel20.4 a Server- 5.5.13- rel20.4 b
bzr update -r 143
make clean && make all && mv Percona-
bzr update -r 144
make clean && make all && mv Percona-
diff -ruN a b # nothing to output