Merge lp:~percona-dev/percona-server/fix-714884 into lp:~percona-dev/percona-server/5.5.8
- fix-714884
- Merge into 5.5.8
Proposed by
Oleg Tsarev
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 71 |
Proposed branch: | lp:~percona-dev/percona-server/fix-714884 |
Merge into: | lp:~percona-dev/percona-server/5.5.8 |
Diff against target: |
458 lines (+72/-72) 7 files modified
mysql-test/response-time-distribution.patch/percona_query_response_time-replication.result (+2/-2) mysql-test/response-time-distribution.patch/percona_query_response_time-replication.test (+2/-2) mysql-test/response-time-distribution.patch/percona_query_response_time-stored.result (+23/-23) mysql-test/response-time-distribution.patch/percona_query_response_time-stored.test (+15/-15) mysql-test/response-time-distribution.patch/percona_query_response_time.result (+11/-11) mysql-test/response-time-distribution.patch/percona_query_response_time.test (+11/-11) response_time_distribution.patch (+8/-8) |
To merge this branch: | bzr merge lp:~percona-dev/percona-server/fix-714884 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Fred Linhoss (community) | documentation | Approve | |
Review via email: mp+48972@code.launchpad.net |
Commit message
Description of the change
Renamed "enable_
This should be reflected in documentation.
To post a comment you must log in.
Revision history for this message
Fred Linhoss (fred-linhoss) wrote : | # |
review:
Approve
(documentation)
Revision history for this message
Alexey Kopytov (akopytov) : | # |
review:
Approve
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'mysql-test/response-time-distribution.patch/percona_query_response_time-replication.result' | |||
2 | --- mysql-test/response-time-distribution.patch/percona_query_response_time-replication.result 2011-01-17 01:49:51 +0000 | |||
3 | +++ mysql-test/response-time-distribution.patch/percona_query_response_time-replication.result 2011-02-08 19:59:30 +0000 | |||
4 | @@ -22,7 +22,7 @@ | |||
5 | 22 | Variable_name Value | 22 | Variable_name Value |
6 | 23 | query_response_time_range_base 10 | 23 | query_response_time_range_base 10 |
7 | 24 | FLUSH QUERY_RESPONSE_TIME; | 24 | FLUSH QUERY_RESPONSE_TIME; |
9 | 25 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=ON; | 25 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=ON; |
10 | 26 | INSERT INTO t SELECT SLEEP(0.4); | 26 | INSERT INTO t SELECT SLEEP(0.4); |
11 | 27 | Warnings: | 27 | Warnings: |
12 | 28 | Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave. | 28 | Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave. |
13 | @@ -66,5 +66,5 @@ | |||
14 | 66 | 3 | 66 | 3 |
15 | 67 | DROP TABLE IF EXISTS t; | 67 | DROP TABLE IF EXISTS t; |
16 | 68 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 10; | 68 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 10; |
18 | 69 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=OFF; | 69 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=OFF; |
19 | 70 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; | 70 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; |
20 | 71 | 71 | ||
21 | === modified file 'mysql-test/response-time-distribution.patch/percona_query_response_time-replication.test' | |||
22 | --- mysql-test/response-time-distribution.patch/percona_query_response_time-replication.test 2011-01-17 01:49:51 +0000 | |||
23 | +++ mysql-test/response-time-distribution.patch/percona_query_response_time-replication.test 2011-02-08 19:59:30 +0000 | |||
24 | @@ -20,7 +20,7 @@ | |||
25 | 20 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 10; | 20 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 10; |
26 | 21 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 21 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
27 | 22 | source include/percona_query_response_time_flush.inc; | 22 | source include/percona_query_response_time_flush.inc; |
29 | 23 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=ON; | 23 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=ON; |
30 | 24 | 24 | ||
31 | 25 | connection master; | 25 | connection master; |
32 | 26 | INSERT INTO t SELECT SLEEP(0.4); | 26 | INSERT INTO t SELECT SLEEP(0.4); |
33 | @@ -53,5 +53,5 @@ | |||
34 | 53 | sync_slave_with_master; | 53 | sync_slave_with_master; |
35 | 54 | connection slave; | 54 | connection slave; |
36 | 55 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 10; | 55 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 10; |
38 | 56 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=OFF; | 56 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=OFF; |
39 | 57 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; | 57 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; |
40 | 58 | 58 | ||
41 | === modified file 'mysql-test/response-time-distribution.patch/percona_query_response_time-stored.result' | |||
42 | --- mysql-test/response-time-distribution.patch/percona_query_response_time-stored.result 2010-12-09 18:30:58 +0000 | |||
43 | +++ mysql-test/response-time-distribution.patch/percona_query_response_time-stored.result 2011-02-08 19:59:30 +0000 | |||
44 | @@ -79,20 +79,20 @@ | |||
45 | 79 | 4194304.00000 | 79 | 4194304.00000 |
46 | 80 | 8388608.00000 | 80 | 8388608.00000 |
47 | 81 | TOO LONG | 81 | TOO LONG |
62 | 82 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 82 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
63 | 83 | SELECT test_f(); | 83 | SELECT test_f(); |
64 | 84 | test_f() | 84 | test_f() |
65 | 85 | Hello, world! | 85 | Hello, world! |
66 | 86 | SELECT test_f(); | 86 | SELECT test_f(); |
67 | 87 | test_f() | 87 | test_f() |
68 | 88 | Hello, world! | 88 | Hello, world! |
69 | 89 | SELECT test_f(); | 89 | SELECT test_f(); |
70 | 90 | test_f() | 90 | test_f() |
71 | 91 | Hello, world! | 91 | Hello, world! |
72 | 92 | SELECT test_f(); | 92 | SELECT test_f(); |
73 | 93 | test_f() | 93 | test_f() |
74 | 94 | Hello, world! | 94 | Hello, world! |
75 | 95 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 95 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
76 | 96 | SELECT d.count, | 96 | SELECT d.count, |
77 | 97 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 97 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
78 | 98 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 98 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
79 | @@ -158,11 +158,11 @@ | |||
80 | 158 | Variable_name Value | 158 | Variable_name Value |
81 | 159 | query_response_time_range_base 10 | 159 | query_response_time_range_base 10 |
82 | 160 | FLUSH QUERY_RESPONSE_TIME; | 160 | FLUSH QUERY_RESPONSE_TIME; |
84 | 161 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 161 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
85 | 162 | SELECT test_f(); | 162 | SELECT test_f(); |
86 | 163 | test_f() | 163 | test_f() |
87 | 164 | Hello, world! | 164 | Hello, world! |
89 | 165 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 165 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
90 | 166 | SELECT d.count, | 166 | SELECT d.count, |
91 | 167 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 167 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
92 | 168 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 168 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
93 | @@ -198,11 +198,11 @@ | |||
94 | 198 | Variable_name Value | 198 | Variable_name Value |
95 | 199 | query_response_time_range_base 7 | 199 | query_response_time_range_base 7 |
96 | 200 | FLUSH QUERY_RESPONSE_TIME; | 200 | FLUSH QUERY_RESPONSE_TIME; |
98 | 201 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 201 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
99 | 202 | SELECT test_f(); | 202 | SELECT test_f(); |
100 | 203 | test_f() | 203 | test_f() |
101 | 204 | Hello, world! | 204 | Hello, world! |
103 | 205 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 205 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
104 | 206 | SELECT d.count, | 206 | SELECT d.count, |
105 | 207 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 207 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
106 | 208 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 208 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
107 | @@ -241,11 +241,11 @@ | |||
108 | 241 | Variable_name Value | 241 | Variable_name Value |
109 | 242 | query_response_time_range_base 156 | 242 | query_response_time_range_base 156 |
110 | 243 | FLUSH QUERY_RESPONSE_TIME; | 243 | FLUSH QUERY_RESPONSE_TIME; |
112 | 244 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 244 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
113 | 245 | SELECT test_f(); | 245 | SELECT test_f(); |
114 | 246 | test_f() | 246 | test_f() |
115 | 247 | Hello, world! | 247 | Hello, world! |
117 | 248 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 248 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
118 | 249 | SELECT d.count, | 249 | SELECT d.count, |
119 | 250 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 250 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
120 | 251 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 251 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
121 | @@ -274,11 +274,11 @@ | |||
122 | 274 | Variable_name Value | 274 | Variable_name Value |
123 | 275 | query_response_time_range_base 1000 | 275 | query_response_time_range_base 1000 |
124 | 276 | FLUSH QUERY_RESPONSE_TIME; | 276 | FLUSH QUERY_RESPONSE_TIME; |
126 | 277 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 277 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
127 | 278 | SELECT test_f(); | 278 | SELECT test_f(); |
128 | 279 | test_f() | 279 | test_f() |
129 | 280 | Hello, world! | 280 | Hello, world! |
131 | 281 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 281 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
132 | 282 | SELECT d.count, | 282 | SELECT d.count, |
133 | 283 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 283 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
134 | 284 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 284 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
135 | @@ -307,7 +307,7 @@ | |||
136 | 307 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 307 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
137 | 308 | Variable_name Value | 308 | Variable_name Value |
138 | 309 | query_response_time_range_base 1000 | 309 | query_response_time_range_base 1000 |
140 | 310 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 310 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
141 | 311 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; | 311 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; |
142 | 312 | DROP FUNCTION test_f; | 312 | DROP FUNCTION test_f; |
143 | 313 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; | 313 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; |
144 | 314 | 314 | ||
145 | === modified file 'mysql-test/response-time-distribution.patch/percona_query_response_time-stored.test' | |||
146 | --- mysql-test/response-time-distribution.patch/percona_query_response_time-stored.test 2011-01-17 01:49:51 +0000 | |||
147 | +++ mysql-test/response-time-distribution.patch/percona_query_response_time-stored.test 2011-02-08 19:59:30 +0000 | |||
148 | @@ -26,12 +26,12 @@ | |||
149 | 26 | source include/percona_query_response_time_flush.inc; | 26 | source include/percona_query_response_time_flush.inc; |
150 | 27 | source include/percona_query_response_time_show.inc; | 27 | source include/percona_query_response_time_show.inc; |
151 | 28 | 28 | ||
158 | 29 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 29 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
159 | 30 | SELECT test_f(); | 30 | SELECT test_f(); |
160 | 31 | SELECT test_f(); | 31 | SELECT test_f(); |
161 | 32 | SELECT test_f(); | 32 | SELECT test_f(); |
162 | 33 | SELECT test_f(); | 33 | SELECT test_f(); |
163 | 34 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 34 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
164 | 35 | 35 | ||
165 | 36 | source include/percona_query_response_time_show.inc; | 36 | source include/percona_query_response_time_show.inc; |
166 | 37 | 37 | ||
167 | @@ -40,9 +40,9 @@ | |||
168 | 40 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 40 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
169 | 41 | 41 | ||
170 | 42 | source include/percona_query_response_time_flush.inc; | 42 | source include/percona_query_response_time_flush.inc; |
172 | 43 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 43 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
173 | 44 | SELECT test_f(); | 44 | SELECT test_f(); |
175 | 45 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 45 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
176 | 46 | 46 | ||
177 | 47 | source include/percona_query_response_time_show.inc; | 47 | source include/percona_query_response_time_show.inc; |
178 | 48 | 48 | ||
179 | @@ -51,9 +51,9 @@ | |||
180 | 51 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 51 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
181 | 52 | 52 | ||
182 | 53 | source include/percona_query_response_time_flush.inc; | 53 | source include/percona_query_response_time_flush.inc; |
184 | 54 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 54 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
185 | 55 | SELECT test_f(); | 55 | SELECT test_f(); |
187 | 56 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 56 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
188 | 57 | 57 | ||
189 | 58 | source include/percona_query_response_time_show.inc; | 58 | source include/percona_query_response_time_show.inc; |
190 | 59 | 59 | ||
191 | @@ -62,9 +62,9 @@ | |||
192 | 62 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 62 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
193 | 63 | 63 | ||
194 | 64 | source include/percona_query_response_time_flush.inc; | 64 | source include/percona_query_response_time_flush.inc; |
196 | 65 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 65 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
197 | 66 | SELECT test_f(); | 66 | SELECT test_f(); |
199 | 67 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 67 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
200 | 68 | 68 | ||
201 | 69 | source include/percona_query_response_time_show.inc; | 69 | source include/percona_query_response_time_show.inc; |
202 | 70 | 70 | ||
203 | @@ -73,9 +73,9 @@ | |||
204 | 73 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 73 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
205 | 74 | 74 | ||
206 | 75 | source include/percona_query_response_time_flush.inc; | 75 | source include/percona_query_response_time_flush.inc; |
208 | 76 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 76 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
209 | 77 | SELECT test_f(); | 77 | SELECT test_f(); |
211 | 78 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 78 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
212 | 79 | 79 | ||
213 | 80 | source include/percona_query_response_time_show.inc; | 80 | source include/percona_query_response_time_show.inc; |
214 | 81 | 81 | ||
215 | @@ -83,7 +83,7 @@ | |||
216 | 83 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 1001; | 83 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 1001; |
217 | 84 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 84 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
218 | 85 | 85 | ||
220 | 86 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 86 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
221 | 87 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; | 87 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; |
222 | 88 | 88 | ||
223 | 89 | DROP FUNCTION test_f; | 89 | DROP FUNCTION test_f; |
224 | 90 | 90 | ||
225 | === modified file 'mysql-test/response-time-distribution.patch/percona_query_response_time.result' | |||
226 | --- mysql-test/response-time-distribution.patch/percona_query_response_time.result 2010-12-09 18:30:58 +0000 | |||
227 | +++ mysql-test/response-time-distribution.patch/percona_query_response_time.result 2011-02-08 19:59:30 +0000 | |||
228 | @@ -66,7 +66,7 @@ | |||
229 | 66 | 4194304.00000 | 66 | 4194304.00000 |
230 | 67 | 8388608.00000 | 67 | 8388608.00000 |
231 | 68 | TOO LONG | 68 | TOO LONG |
233 | 69 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 69 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
234 | 70 | SELECT SLEEP(0.31); | 70 | SELECT SLEEP(0.31); |
235 | 71 | SLEEP(0.31) | 71 | SLEEP(0.31) |
236 | 72 | 0 | 72 | 0 |
237 | @@ -124,7 +124,7 @@ | |||
238 | 124 | SELECT SLEEP(2.5); | 124 | SELECT SLEEP(2.5); |
239 | 125 | SLEEP(2.5) | 125 | SLEEP(2.5) |
240 | 126 | 0 | 126 | 0 |
242 | 127 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 127 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
243 | 128 | SELECT d.count, | 128 | SELECT d.count, |
244 | 129 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 129 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
245 | 130 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 130 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
246 | @@ -193,7 +193,7 @@ | |||
247 | 193 | Variable_name Value | 193 | Variable_name Value |
248 | 194 | query_response_time_range_base 10 | 194 | query_response_time_range_base 10 |
249 | 195 | FLUSH QUERY_RESPONSE_TIME; | 195 | FLUSH QUERY_RESPONSE_TIME; |
251 | 196 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 196 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
252 | 197 | SELECT SLEEP(0.31); | 197 | SELECT SLEEP(0.31); |
253 | 198 | SLEEP(0.31) | 198 | SLEEP(0.31) |
254 | 199 | 0 | 199 | 0 |
255 | @@ -251,7 +251,7 @@ | |||
256 | 251 | SELECT SLEEP(2.5); | 251 | SELECT SLEEP(2.5); |
257 | 252 | SLEEP(2.5) | 252 | SLEEP(2.5) |
258 | 253 | 0 | 253 | 0 |
260 | 254 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 254 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
261 | 255 | SELECT d.count, | 255 | SELECT d.count, |
262 | 256 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 256 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
263 | 257 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 257 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
264 | @@ -288,7 +288,7 @@ | |||
265 | 288 | Variable_name Value | 288 | Variable_name Value |
266 | 289 | query_response_time_range_base 7 | 289 | query_response_time_range_base 7 |
267 | 290 | FLUSH QUERY_RESPONSE_TIME; | 290 | FLUSH QUERY_RESPONSE_TIME; |
269 | 291 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 291 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
270 | 292 | SELECT SLEEP(0.31); | 292 | SELECT SLEEP(0.31); |
271 | 293 | SLEEP(0.31) | 293 | SLEEP(0.31) |
272 | 294 | 0 | 294 | 0 |
273 | @@ -346,7 +346,7 @@ | |||
274 | 346 | SELECT SLEEP(2.5); | 346 | SELECT SLEEP(2.5); |
275 | 347 | SLEEP(2.5) | 347 | SLEEP(2.5) |
276 | 348 | 0 | 348 | 0 |
278 | 349 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 349 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
279 | 350 | SELECT d.count, | 350 | SELECT d.count, |
280 | 351 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 351 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
281 | 352 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 352 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
282 | @@ -386,7 +386,7 @@ | |||
283 | 386 | Variable_name Value | 386 | Variable_name Value |
284 | 387 | query_response_time_range_base 156 | 387 | query_response_time_range_base 156 |
285 | 388 | FLUSH QUERY_RESPONSE_TIME; | 388 | FLUSH QUERY_RESPONSE_TIME; |
287 | 389 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 389 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
288 | 390 | SELECT SLEEP(0.31); | 390 | SELECT SLEEP(0.31); |
289 | 391 | SLEEP(0.31) | 391 | SLEEP(0.31) |
290 | 392 | 0 | 392 | 0 |
291 | @@ -444,7 +444,7 @@ | |||
292 | 444 | SELECT SLEEP(2.5); | 444 | SELECT SLEEP(2.5); |
293 | 445 | SLEEP(2.5) | 445 | SLEEP(2.5) |
294 | 446 | 0 | 446 | 0 |
296 | 447 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 447 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
297 | 448 | SELECT d.count, | 448 | SELECT d.count, |
298 | 449 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 449 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
299 | 450 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 450 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
300 | @@ -474,7 +474,7 @@ | |||
301 | 474 | Variable_name Value | 474 | Variable_name Value |
302 | 475 | query_response_time_range_base 1000 | 475 | query_response_time_range_base 1000 |
303 | 476 | FLUSH QUERY_RESPONSE_TIME; | 476 | FLUSH QUERY_RESPONSE_TIME; |
305 | 477 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 477 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
306 | 478 | SELECT SLEEP(0.31); | 478 | SELECT SLEEP(0.31); |
307 | 479 | SLEEP(0.31) | 479 | SLEEP(0.31) |
308 | 480 | 0 | 480 | 0 |
309 | @@ -532,7 +532,7 @@ | |||
310 | 532 | SELECT SLEEP(2.5); | 532 | SELECT SLEEP(2.5); |
311 | 533 | SLEEP(2.5) | 533 | SLEEP(2.5) |
312 | 534 | 0 | 534 | 0 |
314 | 535 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 535 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
315 | 536 | SELECT d.count, | 536 | SELECT d.count, |
316 | 537 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, | 537 | (SELECT SUM(a.count) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as a WHERE a.count != 0) as query_count, |
317 | 538 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, | 538 | (SELECT SUM((b.total * 1000000) DIV 1000000) FROM INFORMATION_SCHEMA.QUERY_RESPONSE_TIME as b WHERE b.count != 0) as query_total, |
318 | @@ -562,6 +562,6 @@ | |||
319 | 562 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 562 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
320 | 563 | Variable_name Value | 563 | Variable_name Value |
321 | 564 | query_response_time_range_base 1000 | 564 | query_response_time_range_base 1000 |
323 | 565 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 565 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
324 | 566 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; | 566 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; |
325 | 567 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; | 567 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; |
326 | 568 | 568 | ||
327 | === modified file 'mysql-test/response-time-distribution.patch/percona_query_response_time.test' | |||
328 | --- mysql-test/response-time-distribution.patch/percona_query_response_time.test 2011-01-17 01:49:51 +0000 | |||
329 | +++ mysql-test/response-time-distribution.patch/percona_query_response_time.test 2011-02-08 19:59:30 +0000 | |||
330 | @@ -9,9 +9,9 @@ | |||
331 | 9 | source include/percona_query_response_time_flush.inc; | 9 | source include/percona_query_response_time_flush.inc; |
332 | 10 | source include/percona_query_response_time_show.inc; | 10 | source include/percona_query_response_time_show.inc; |
333 | 11 | 11 | ||
335 | 12 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 12 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
336 | 13 | source include/percona_query_response_time_sleep.inc; | 13 | source include/percona_query_response_time_sleep.inc; |
338 | 14 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 14 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
339 | 15 | 15 | ||
340 | 16 | source include/percona_query_response_time_show.inc; | 16 | source include/percona_query_response_time_show.inc; |
341 | 17 | 17 | ||
342 | @@ -20,9 +20,9 @@ | |||
343 | 20 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 20 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
344 | 21 | 21 | ||
345 | 22 | source include/percona_query_response_time_flush.inc; | 22 | source include/percona_query_response_time_flush.inc; |
347 | 23 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 23 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
348 | 24 | source include/percona_query_response_time_sleep.inc; | 24 | source include/percona_query_response_time_sleep.inc; |
350 | 25 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 25 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
351 | 26 | 26 | ||
352 | 27 | source include/percona_query_response_time_show.inc; | 27 | source include/percona_query_response_time_show.inc; |
353 | 28 | 28 | ||
354 | @@ -31,9 +31,9 @@ | |||
355 | 31 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 31 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
356 | 32 | 32 | ||
357 | 33 | source include/percona_query_response_time_flush.inc; | 33 | source include/percona_query_response_time_flush.inc; |
359 | 34 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 34 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
360 | 35 | source include/percona_query_response_time_sleep.inc; | 35 | source include/percona_query_response_time_sleep.inc; |
362 | 36 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 36 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
363 | 37 | 37 | ||
364 | 38 | source include/percona_query_response_time_show.inc; | 38 | source include/percona_query_response_time_show.inc; |
365 | 39 | 39 | ||
366 | @@ -42,9 +42,9 @@ | |||
367 | 42 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 42 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
368 | 43 | 43 | ||
369 | 44 | source include/percona_query_response_time_flush.inc; | 44 | source include/percona_query_response_time_flush.inc; |
371 | 45 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 45 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
372 | 46 | source include/percona_query_response_time_sleep.inc; | 46 | source include/percona_query_response_time_sleep.inc; |
374 | 47 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 47 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
375 | 48 | 48 | ||
376 | 49 | source include/percona_query_response_time_show.inc; | 49 | source include/percona_query_response_time_show.inc; |
377 | 50 | 50 | ||
378 | @@ -53,9 +53,9 @@ | |||
379 | 53 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 53 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
380 | 54 | 54 | ||
381 | 55 | source include/percona_query_response_time_flush.inc; | 55 | source include/percona_query_response_time_flush.inc; |
383 | 56 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=1; | 56 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=1; |
384 | 57 | source include/percona_query_response_time_sleep.inc; | 57 | source include/percona_query_response_time_sleep.inc; |
386 | 58 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 58 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
387 | 59 | 59 | ||
388 | 60 | source include/percona_query_response_time_show.inc; | 60 | source include/percona_query_response_time_show.inc; |
389 | 61 | 61 | ||
390 | @@ -63,6 +63,6 @@ | |||
391 | 63 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 1001; | 63 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE = 1001; |
392 | 64 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; | 64 | SHOW GLOBAL VARIABLES where Variable_name like 'QUERY_RESPONSE_TIME_RANGE_BASE'; |
393 | 65 | 65 | ||
395 | 66 | SET GLOBAL ENABLE_QUERY_RESPONSE_TIME_STATS=0; | 66 | SET GLOBAL QUERY_RESPONSE_TIME_STATS=0; |
396 | 67 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; | 67 | SET GLOBAL QUERY_RESPONSE_TIME_RANGE_BASE =10; |
397 | 68 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; | 68 | SET SESSION debug="-d,response_time_distribution_log_only_more_300_milliseconds"; |
398 | 69 | 69 | ||
399 | === modified file 'response_time_distribution.patch' | |||
400 | --- response_time_distribution.patch 2011-01-17 01:49:51 +0000 | |||
401 | +++ response_time_distribution.patch 2011-02-08 19:59:30 +0000 | |||
402 | @@ -124,7 +124,7 @@ | |||
403 | 124 | #endif | 124 | #endif |
404 | 125 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION | 125 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION |
405 | 126 | +ulong opt_query_response_time_range_base = QRT_DEFAULT_BASE; | 126 | +ulong opt_query_response_time_range_base = QRT_DEFAULT_BASE; |
407 | 127 | +my_bool opt_enable_query_response_time_stats= 0; | 127 | +my_bool opt_query_response_time_stats= 0; |
408 | 128 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION | 128 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION |
409 | 129 | 129 | ||
410 | 130 | my_bool opt_use_ssl = 0; | 130 | my_bool opt_use_ssl = 0; |
411 | @@ -170,7 +170,7 @@ | |||
412 | 170 | extern bool opt_ignore_builtin_innodb; | 170 | extern bool opt_ignore_builtin_innodb; |
413 | 171 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION | 171 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION |
414 | 172 | +extern ulong opt_query_response_time_range_base; | 172 | +extern ulong opt_query_response_time_range_base; |
416 | 173 | +extern my_bool opt_enable_query_response_time_stats; | 173 | +extern my_bool opt_query_response_time_stats; |
417 | 174 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION | 174 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION |
418 | 175 | extern my_bool opt_character_set_client_handshake; | 175 | extern my_bool opt_character_set_client_handshake; |
419 | 176 | extern bool volatile abort_loop; | 176 | extern bool volatile abort_loop; |
420 | @@ -653,7 +653,7 @@ | |||
421 | 653 | set. | 653 | set. |
422 | 654 | */ | 654 | */ |
423 | 655 | + #ifdef HAVE_RESPONSE_TIME_DISTRIBUTION | 655 | + #ifdef HAVE_RESPONSE_TIME_DISTRIBUTION |
425 | 656 | + if (opt_enable_query_response_time_stats || thd->enable_slow_log) | 656 | + if (opt_query_response_time_stats || thd->enable_slow_log) |
426 | 657 | +#else // HAVE_RESPONSE_TIME_DISTRIBUTION | 657 | +#else // HAVE_RESPONSE_TIME_DISTRIBUTION |
427 | 658 | if (thd->enable_slow_log) | 658 | if (thd->enable_slow_log) |
428 | 659 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION | 659 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION |
429 | @@ -670,7 +670,7 @@ | |||
430 | 670 | + ulonglong end_utime_of_query = thd->current_utime(); | 670 | + ulonglong end_utime_of_query = thd->current_utime(); |
431 | 671 | + ulonglong query_execution_time = end_utime_of_query - thd->utime_after_lock; | 671 | + ulonglong query_execution_time = end_utime_of_query - thd->utime_after_lock; |
432 | 672 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION | 672 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION |
434 | 673 | + if(opt_enable_query_response_time_stats) | 673 | + if(opt_query_response_time_stats) |
435 | 674 | + { | 674 | + { |
436 | 675 | + query_response_time_collect(query_execution_time); | 675 | + query_response_time_collect(query_execution_time); |
437 | 676 | + } | 676 | + } |
438 | @@ -839,16 +839,16 @@ | |||
439 | 839 | + READ_ONLY GLOBAL_VAR(have_response_time_distribution), NO_CMD_LINE); | 839 | + READ_ONLY GLOBAL_VAR(have_response_time_distribution), NO_CMD_LINE); |
440 | 840 | + | 840 | + |
441 | 841 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION | 841 | +#ifdef HAVE_RESPONSE_TIME_DISTRIBUTION |
445 | 842 | +static Sys_var_mybool Sys_enable_query_response_time_stats( | 842 | +static Sys_var_mybool Sys_query_response_time_stats( |
446 | 843 | + "enable_query_response_time_stats", "Enable or disable query response time statisics collecting", | 843 | + "query_response_time_stats", "Enable or disable query response time statisics collecting", |
447 | 844 | + GLOBAL_VAR(opt_enable_query_response_time_stats), CMD_LINE(OPT_ARG), | 844 | + GLOBAL_VAR(opt_query_response_time_stats), CMD_LINE(OPT_ARG), |
448 | 845 | + DEFAULT(FALSE)); | 845 | + DEFAULT(FALSE)); |
449 | 846 | + | 846 | + |
450 | 847 | +static Sys_var_ulong Sys_query_response_time_range_base( | 847 | +static Sys_var_ulong Sys_query_response_time_range_base( |
451 | 848 | + "query_response_time_range_base", | 848 | + "query_response_time_range_base", |
452 | 849 | + "Select base of log for query_response_time ranges. WARNING: variable change affect only after flush", | 849 | + "Select base of log for query_response_time ranges. WARNING: variable change affect only after flush", |
453 | 850 | + GLOBAL_VAR(opt_query_response_time_range_base), | 850 | + GLOBAL_VAR(opt_query_response_time_range_base), |
455 | 851 | + CMD_LINE(REQUIRED_ARG), VALID_RANGE(2, QRT_MAXIMUM_BASE), | 851 | + CMD_LINE(OPT_ARG), VALID_RANGE(2, QRT_MAXIMUM_BASE), |
456 | 852 | + DEFAULT(QRT_DEFAULT_BASE), | 852 | + DEFAULT(QRT_DEFAULT_BASE), |
457 | 853 | + BLOCK_SIZE(1)); | 853 | + BLOCK_SIZE(1)); |
458 | 854 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION | 854 | +#endif // HAVE_RESPONSE_TIME_DISTRIBUTION |
response_ time_distributi on wiki page updated for 5.5.8 (currently in https:/ /intranet. percona. com/dokuwiki/ per:fred: docs-5. 5:response_ time_distributi on)