Merge lp:~tsarev/percona-server/5.1_fix_840218 into lp:percona-server/5.1
- 5.1_fix_840218
- Merge into 5.1
Proposed by
Oleg Tsarev
Status: | Merged |
---|---|
Approved by: | Oleg Tsarev |
Approved revision: | no longer in the source branch. |
Merged at revision: | 281 |
Proposed branch: | lp:~tsarev/percona-server/5.1_fix_840218 |
Merge into: | lp:percona-server/5.1 |
Prerequisite: | lp:~tsarev/percona-server/5.1_bug_838725_fix |
Diff against target: |
8110 lines (+3873/-3856) 65 files modified
Makefile (+1/-3) install_tests (+0/-37) mysql-test/have_nodebug.inc (+0/-4) mysql-test/have_nodebug.require (+0/-2) mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.result (+0/-28) mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.test (+0/-61) mysql-test/innodb_fix_misc_bug51325.result (+0/-13) mysql-test/innodb_fix_misc_bug51325.test (+0/-13) mysql-test/percona_innodb_buffer_pool_shm-master.opt (+0/-2) mysql-test/percona_innodb_buffer_pool_shm.result (+0/-4) mysql-test/percona_innodb_buffer_pool_shm.test (+0/-3) mysql-test/percona_innodb_doublewrite_file-master.opt (+0/-1) mysql-test/percona_innodb_doublewrite_file.result (+0/-4) mysql-test/percona_innodb_doublewrite_file.test (+0/-2) mysql-test/percona_innodb_use_sys_stats_table-master.opt (+0/-1) mysql-test/percona_innodb_use_sys_stats_table.result (+0/-3) mysql-test/percona_innodb_use_sys_stats_table.test (+0/-2) mysql-test/percona_server_variables.inc (+0/-3) mysql-test/percona_server_variables_debug.result (+0/-347) mysql-test/percona_server_variables_debug.test (+0/-2) mysql-test/percona_server_variables_release.result (+0/-344) mysql-test/percona_server_variables_release.test (+0/-2) mysql-test/percona_show_temp_tables.result (+0/-58) mysql-test/percona_show_temp_tables.test (+0/-65) mysql-test/percona_xtradb_admin_command.result (+0/-6) mysql-test/percona_xtradb_admin_command.test (+0/-3) mysql-test/percona_xtradb_bug317074.result (+0/-4) mysql-test/percona_xtradb_bug317074.test (+0/-47) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc (+0/-95) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc.backup (+0/-88) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.result (+0/-866) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.test (+0/-5) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_begin.inc (+0/-12) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_clear.inc (+0/-5) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.result (+0/-21) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.test (+0/-22) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.result (+0/-865) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.test (+0/-3) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_end.inc (+0/-3) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_eval.inc (+0/-7) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.result (+0/-396) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.test (+0/-208) mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_show.inc (+0/-8) mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.result (+0/-27) mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.test (+0/-37) mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.result (+0/-21) mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.test (+0/-50) mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.result (+0/-12) mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.test (+0/-11) mysql-test/userstat_bug602047.result (+0/-16) mysql-test/userstat_bug602047.test (+0/-13) patches/innodb_admin_command_base.patch (+15/-0) patches/innodb_buffer_pool_shm.patch (+18/-0) patches/innodb_deadlock_count.patch (+95/-0) patches/innodb_fix_misc.patch (+32/-0) patches/innodb_separate_doublewrite.patch (+16/-0) patches/innodb_show_sys_tables.patch (+15/-0) patches/mysql-test.diff (+725/-1) patches/query_cache_enhance.patch (+2628/-0) patches/series (+1/-0) patches/show_slave_status_nolock.patch (+77/-0) patches/show_temp_51.patch (+129/-0) patches/sql_no_fcache.patch (+29/-0) patches/userstat.patch (+35/-0) patches/xtradb_bug317074.patch (+57/-0) |
To merge this branch: | bzr merge lp:~tsarev/percona-server/5.1_fix_840218 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis | Pending | ||
Review via email: mp+74177@code.launchpad.net |
This proposal supersedes a proposal from 2011-09-03.
Commit message
Description of the change
1) move tests from mysql-test/ to patches
2) remove install_tests script and call of script from Makefile
I checked by
export REV=280
rm -rf ${REV} && bzr update -r ${REV} && make all && mv Percona-Server-*-* ${REV}
export REV=281
rm -rf ${REV} && bzr update -r ${REV} && make all && mv Percona-Server-*-* ${REV}
diff -ruN 280 281 > 280_281.diff
wc -l 280_281.diff # should be zero
To post a comment you must log in.
Revision history for this message
Oleg Tsarev (tsarev) wrote : Posted in a previous version of this proposal | # |
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote : Posted in a previous version of this proposal | # |
LGTM, provided Jenkins testing is OK.
review:
Approve
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) wrote : Posted in a previous version of this proposal | # |
On the second thought, "diff -ruN" testing is more than enough here.
Revision history for this message
Oleg Tsarev (tsarev) wrote : | # |
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'Makefile' | |||
2 | --- Makefile 2011-08-12 19:09:19 +0000 | |||
3 | +++ Makefile 2011-09-06 08:39:24 +0000 | |||
4 | @@ -6,7 +6,7 @@ | |||
5 | 6 | PERCONA_SERVER_SHORT_1 ?=Percona-Server-$(MYSQL_VERSION) | 6 | PERCONA_SERVER_SHORT_1 ?=Percona-Server-$(MYSQL_VERSION) |
6 | 7 | PERCONA_SERVER_SHORT_2 ?=Percona-Server | 7 | PERCONA_SERVER_SHORT_2 ?=Percona-Server |
7 | 8 | 8 | ||
9 | 9 | all: main install-lic tests misc handlersocket maatkit-udf autorun | 9 | all: main install-lic misc handlersocket maatkit-udf autorun |
10 | 10 | @echo "" | 10 | @echo "" |
11 | 11 | @echo "Percona Server source code is ready" | 11 | @echo "Percona Server source code is ready" |
12 | 12 | @echo "Now change directory to $(PERCONA_SERVER) define variables as show below" | 12 | @echo "Now change directory to $(PERCONA_SERVER) define variables as show below" |
13 | @@ -56,8 +56,6 @@ | |||
14 | 56 | @echo "Downloading MySQL sources from $(MASTER_SITE)" | 56 | @echo "Downloading MySQL sources from $(MASTER_SITE)" |
15 | 57 | $(FETCH_CMD) $(MASTER_SITE)/mysql-$(MYSQL_VERSION).tar.gz | 57 | $(FETCH_CMD) $(MASTER_SITE)/mysql-$(MYSQL_VERSION).tar.gz |
16 | 58 | 58 | ||
17 | 59 | tests: | ||
18 | 60 | PERCONA_SERVER=${PERCONA_SERVER} sh install_tests | ||
19 | 61 | 59 | ||
20 | 62 | misc: | 60 | misc: |
21 | 63 | @echo "Installing other files" | 61 | @echo "Installing other files" |
22 | 64 | 62 | ||
23 | === removed file 'install_tests' | |||
24 | --- install_tests 2011-07-27 10:28:37 +0000 | |||
25 | +++ install_tests 1970-01-01 00:00:00 +0000 | |||
26 | @@ -1,37 +0,0 @@ | |||
27 | 1 | #!/bin/sh | ||
28 | 2 | |||
29 | 3 | set -u | ||
30 | 4 | |||
31 | 5 | MYSQL_VERSION="$(grep ^MYSQL_VERSION= "Makefile" \ | ||
32 | 6 | | cut -d = -f 2)" | ||
33 | 7 | PERCONA_SERVER_VERSION="$(grep ^PERCONA_SERVER_VERSION= "Makefile" \ | ||
34 | 8 | | cut -d = -f 2)" | ||
35 | 9 | PERCONA_SERVER="Percona-Server-${MYSQL_VERSION}-${PERCONA_SERVER_VERSION}" | ||
36 | 10 | |||
37 | 11 | install_file_type() | ||
38 | 12 | { | ||
39 | 13 | for file in `ls $1/*.$2 2>/dev/null`; do | ||
40 | 14 | test -f $file && install -m 644 $file ${PERCONA_SERVER}/mysql-test/$3 | ||
41 | 15 | done; | ||
42 | 16 | } | ||
43 | 17 | do_install_path() | ||
44 | 18 | { | ||
45 | 19 | install_file_type $1 test t | ||
46 | 20 | install_file_type $1 opt t | ||
47 | 21 | install_file_type $1 result r | ||
48 | 22 | install_file_type $1 require r | ||
49 | 23 | install_file_type $1 inc include | ||
50 | 24 | } | ||
51 | 25 | install_path() | ||
52 | 26 | { | ||
53 | 27 | echo "[$3/$4] Installing mysql-test files: $2" | ||
54 | 28 | test -d $1 && do_install_path $1 $2 | ||
55 | 29 | } | ||
56 | 30 | current=0; | ||
57 | 31 | count=`wc -l patches/series`; | ||
58 | 32 | install_path mysql-test "global" $current $count | ||
59 | 33 | for test_name in `cat patches/series`; do | ||
60 | 34 | current=$((current+1)); | ||
61 | 35 | install_path mysql-test/$test_name $test_name $current $count | ||
62 | 36 | done | ||
63 | 37 | echo "Done" | ||
64 | 38 | 0 | ||
65 | === removed directory 'mysql-test' | |||
66 | === removed file 'mysql-test/have_nodebug.inc' | |||
67 | --- mysql-test/have_nodebug.inc 2011-06-23 02:21:00 +0000 | |||
68 | +++ mysql-test/have_nodebug.inc 1970-01-01 00:00:00 +0000 | |||
69 | @@ -1,4 +0,0 @@ | |||
70 | 1 | -- require r/have_nodebug.require | ||
71 | 2 | disable_query_log; | ||
72 | 3 | select (version() like '%debug%') as debug; | ||
73 | 4 | enable_query_log; | ||
74 | 5 | 0 | ||
75 | === removed file 'mysql-test/have_nodebug.require' | |||
76 | --- mysql-test/have_nodebug.require 2011-06-23 02:21:00 +0000 | |||
77 | +++ mysql-test/have_nodebug.require 1970-01-01 00:00:00 +0000 | |||
78 | @@ -1,2 +0,0 @@ | |||
79 | 1 | debug | ||
80 | 2 | 0 | ||
81 | 3 | 0 | ||
82 | === removed directory 'mysql-test/innodb_deadlock_count.patch' | |||
83 | === removed file 'mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.result' | |||
84 | --- mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.result 2011-06-22 10:21:58 +0000 | |||
85 | +++ mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.result 1970-01-01 00:00:00 +0000 | |||
86 | @@ -1,28 +0,0 @@ | |||
87 | 1 | # Establish connection con1 (user=root) | ||
88 | 2 | # Establish connection con2 (user=root) | ||
89 | 3 | # Establish connection con3 (user=root) | ||
90 | 4 | # Drop test table | ||
91 | 5 | drop table if exists t; | ||
92 | 6 | # Create test table | ||
93 | 7 | create table t(a INT PRIMARY KEY, b INT) engine=InnoDB; | ||
94 | 8 | # Insert two rows to test table | ||
95 | 9 | insert into t values(2,1); | ||
96 | 10 | insert into t values(1,2); | ||
97 | 11 | # Switch to connection con1 | ||
98 | 12 | BEGIN; | ||
99 | 13 | SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
100 | 14 | # Switch to connection con2 | ||
101 | 15 | BEGIN; | ||
102 | 16 | SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
103 | 17 | # Switch to connection con1 | ||
104 | 18 | SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
105 | 19 | # Switch to connection con2 | ||
106 | 20 | SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
107 | 21 | # Switch to connection con1 | ||
108 | 22 | ROLLBACK; | ||
109 | 23 | # Switch to connection con2 | ||
110 | 24 | ROLLBACK; | ||
111 | 25 | # Switch to connection con3 | ||
112 | 26 | Deadlocks: 1 | ||
113 | 27 | # Drop test table | ||
114 | 28 | drop table t; | ||
115 | 29 | 0 | ||
116 | === removed file 'mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.test' | |||
117 | --- mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.test 2011-06-22 10:21:58 +0000 | |||
118 | +++ mysql-test/innodb_deadlock_count.patch/percona_innodb_deadlock_count.test 1970-01-01 00:00:00 +0000 | |||
119 | @@ -1,61 +0,0 @@ | |||
120 | 1 | --source include/have_innodb.inc | ||
121 | 2 | --echo # Establish connection con1 (user=root) | ||
122 | 3 | connect (con1,localhost,root,,); | ||
123 | 4 | --echo # Establish connection con2 (user=root) | ||
124 | 5 | connect (con2,localhost,root,,); | ||
125 | 6 | --echo # Establish connection con3 (user=root) | ||
126 | 7 | connect (con3,localhost,root,,); | ||
127 | 8 | --echo # Drop test table | ||
128 | 9 | --disable_warnings | ||
129 | 10 | drop table if exists t; | ||
130 | 11 | --enable_warnings | ||
131 | 12 | |||
132 | 13 | --echo # Create test table | ||
133 | 14 | create table t(a INT PRIMARY KEY, b INT) engine=InnoDB; | ||
134 | 15 | --echo # Insert two rows to test table | ||
135 | 16 | insert into t values(2,1); | ||
136 | 17 | insert into t values(1,2); | ||
137 | 18 | |||
138 | 19 | #--echo # Save current deadlock count | ||
139 | 20 | let $current = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'Innodb_deadlocks'`; | ||
140 | 21 | |||
141 | 22 | --disable_result_log | ||
142 | 23 | |||
143 | 24 | --echo # Switch to connection con1 | ||
144 | 25 | connection con1; | ||
145 | 26 | BEGIN; SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
146 | 27 | |||
147 | 28 | --echo # Switch to connection con2 | ||
148 | 29 | connection con2; | ||
149 | 30 | BEGIN; SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
150 | 31 | |||
151 | 32 | --echo # Switch to connection con1 | ||
152 | 33 | connection con1; | ||
153 | 34 | SEND SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
154 | 35 | |||
155 | 36 | --echo # Switch to connection con2 | ||
156 | 37 | connection con2; | ||
157 | 38 | SEND SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
158 | 39 | |||
159 | 40 | --echo # Switch to connection con1 | ||
160 | 41 | connection con1; | ||
161 | 42 | --error 0, ER_LOCK_DEADLOCK | ||
162 | 43 | reap; | ||
163 | 44 | ROLLBACK; | ||
164 | 45 | |||
165 | 46 | --echo # Switch to connection con2 | ||
166 | 47 | connection con2; | ||
167 | 48 | --error 0, ER_LOCK_DEADLOCK | ||
168 | 49 | reap; | ||
169 | 50 | ROLLBACK; | ||
170 | 51 | |||
171 | 52 | --echo # Switch to connection con3 | ||
172 | 53 | connection con3; | ||
173 | 54 | let $result = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'Innodb_deadlocks'`; | ||
174 | 55 | |||
175 | 56 | --enable_result_log | ||
176 | 57 | |||
177 | 58 | let $diff = `SELECT $result - $current`; | ||
178 | 59 | echo Deadlocks: $diff; | ||
179 | 60 | --echo # Drop test table | ||
180 | 61 | drop table t; | ||
181 | 62 | 0 | ||
182 | === removed file 'mysql-test/innodb_fix_misc_bug51325.result' | |||
183 | --- mysql-test/innodb_fix_misc_bug51325.result 2011-05-25 15:11:57 +0000 | |||
184 | +++ mysql-test/innodb_fix_misc_bug51325.result 1970-01-01 00:00:00 +0000 | |||
185 | @@ -1,13 +0,0 @@ | |||
186 | 1 | DROP TABLE IF EXISTS t1; | ||
187 | 2 | SET GLOBAL innodb_file_per_table=ON; | ||
188 | 3 | SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
189 | 4 | Variable_name Value | ||
190 | 5 | innodb_lazy_drop_table 0 | ||
191 | 6 | SET GLOBAL innodb_lazy_drop_table=1; | ||
192 | 7 | SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
193 | 8 | Variable_name Value | ||
194 | 9 | innodb_lazy_drop_table 1 | ||
195 | 10 | CREATE TABLE t1 (a INT) ENGINE=InnoDB; | ||
196 | 11 | DROP TABLE t1; | ||
197 | 12 | SET GLOBAL innodb_lazy_drop_table=default; | ||
198 | 13 | SET GLOBAL innodb_file_per_table=default; | ||
199 | 14 | 0 | ||
200 | === removed file 'mysql-test/innodb_fix_misc_bug51325.test' | |||
201 | --- mysql-test/innodb_fix_misc_bug51325.test 2011-03-09 21:00:46 +0000 | |||
202 | +++ mysql-test/innodb_fix_misc_bug51325.test 1970-01-01 00:00:00 +0000 | |||
203 | @@ -1,13 +0,0 @@ | |||
204 | 1 | # Test for 'innodb_lazy_drop_table' variable | ||
205 | 2 | --source include/have_innodb.inc | ||
206 | 3 | --disable_warnings | ||
207 | 4 | DROP TABLE IF EXISTS t1; | ||
208 | 5 | --enable_warnings | ||
209 | 6 | SET GLOBAL innodb_file_per_table=ON; | ||
210 | 7 | SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
211 | 8 | SET GLOBAL innodb_lazy_drop_table=1; | ||
212 | 9 | SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
213 | 10 | CREATE TABLE t1 (a INT) ENGINE=InnoDB; | ||
214 | 11 | DROP TABLE t1; | ||
215 | 12 | SET GLOBAL innodb_lazy_drop_table=default; | ||
216 | 13 | SET GLOBAL innodb_file_per_table=default; | ||
217 | 14 | 0 | ||
218 | === removed file 'mysql-test/percona_innodb_buffer_pool_shm-master.opt' | |||
219 | --- mysql-test/percona_innodb_buffer_pool_shm-master.opt 2010-12-28 17:35:28 +0000 | |||
220 | +++ mysql-test/percona_innodb_buffer_pool_shm-master.opt 1970-01-01 00:00:00 +0000 | |||
221 | @@ -1,2 +0,0 @@ | |||
222 | 1 | --innodb_buffer_pool_shm_key=123456 | ||
223 | 2 | --innodb=FORCE | ||
224 | 3 | 0 | ||
225 | === removed file 'mysql-test/percona_innodb_buffer_pool_shm.result' | |||
226 | --- mysql-test/percona_innodb_buffer_pool_shm.result 2011-06-22 02:53:48 +0000 | |||
227 | +++ mysql-test/percona_innodb_buffer_pool_shm.result 1970-01-01 00:00:00 +0000 | |||
228 | @@ -1,4 +0,0 @@ | |||
229 | 1 | show variables like 'innodb_buffer_pool_shm%'; | ||
230 | 2 | Variable_name Value | ||
231 | 3 | innodb_buffer_pool_shm_checksum ON | ||
232 | 4 | innodb_buffer_pool_shm_key 123456 | ||
233 | 5 | 0 | ||
234 | === removed file 'mysql-test/percona_innodb_buffer_pool_shm.test' | |||
235 | --- mysql-test/percona_innodb_buffer_pool_shm.test 2011-06-22 02:53:48 +0000 | |||
236 | +++ mysql-test/percona_innodb_buffer_pool_shm.test 1970-01-01 00:00:00 +0000 | |||
237 | @@ -1,3 +0,0 @@ | |||
238 | 1 | --source include/have_innodb.inc | ||
239 | 2 | show variables like 'innodb_buffer_pool_shm%'; | ||
240 | 3 | |||
241 | 4 | 0 | ||
242 | === removed file 'mysql-test/percona_innodb_doublewrite_file-master.opt' | |||
243 | --- mysql-test/percona_innodb_doublewrite_file-master.opt 2010-05-26 10:15:29 +0000 | |||
244 | +++ mysql-test/percona_innodb_doublewrite_file-master.opt 1970-01-01 00:00:00 +0000 | |||
245 | @@ -1,1 +0,0 @@ | |||
246 | 1 | --innodb_doublewrite_file=ib_doublewrite | ||
247 | 2 | 0 | ||
248 | === removed file 'mysql-test/percona_innodb_doublewrite_file.result' | |||
249 | --- mysql-test/percona_innodb_doublewrite_file.result 2010-05-26 10:15:29 +0000 | |||
250 | +++ mysql-test/percona_innodb_doublewrite_file.result 1970-01-01 00:00:00 +0000 | |||
251 | @@ -1,4 +0,0 @@ | |||
252 | 1 | show variables like 'innodb_doublewrite%'; | ||
253 | 2 | Variable_name Value | ||
254 | 3 | innodb_doublewrite ON | ||
255 | 4 | innodb_doublewrite_file ib_doublewrite | ||
256 | 5 | 0 | ||
257 | === removed file 'mysql-test/percona_innodb_doublewrite_file.test' | |||
258 | --- mysql-test/percona_innodb_doublewrite_file.test 2010-05-26 10:15:29 +0000 | |||
259 | +++ mysql-test/percona_innodb_doublewrite_file.test 1970-01-01 00:00:00 +0000 | |||
260 | @@ -1,2 +0,0 @@ | |||
261 | 1 | --source include/have_innodb.inc | ||
262 | 2 | show variables like 'innodb_doublewrite%'; | ||
263 | 3 | 0 | ||
264 | === removed file 'mysql-test/percona_innodb_use_sys_stats_table-master.opt' | |||
265 | --- mysql-test/percona_innodb_use_sys_stats_table-master.opt 2010-07-06 08:20:44 +0000 | |||
266 | +++ mysql-test/percona_innodb_use_sys_stats_table-master.opt 1970-01-01 00:00:00 +0000 | |||
267 | @@ -1,1 +0,0 @@ | |||
268 | 1 | --innodb_use_sys_stats_table | ||
269 | 2 | 0 | ||
270 | === removed file 'mysql-test/percona_innodb_use_sys_stats_table.result' | |||
271 | --- mysql-test/percona_innodb_use_sys_stats_table.result 2010-07-06 08:20:44 +0000 | |||
272 | +++ mysql-test/percona_innodb_use_sys_stats_table.result 1970-01-01 00:00:00 +0000 | |||
273 | @@ -1,3 +0,0 @@ | |||
274 | 1 | show variables like 'innodb_use_sys_stats%'; | ||
275 | 2 | Variable_name Value | ||
276 | 3 | innodb_use_sys_stats_table ON | ||
277 | 4 | 0 | ||
278 | === removed file 'mysql-test/percona_innodb_use_sys_stats_table.test' | |||
279 | --- mysql-test/percona_innodb_use_sys_stats_table.test 2010-07-06 08:20:44 +0000 | |||
280 | +++ mysql-test/percona_innodb_use_sys_stats_table.test 1970-01-01 00:00:00 +0000 | |||
281 | @@ -1,2 +0,0 @@ | |||
282 | 1 | --source include/have_innodb.inc | ||
283 | 2 | show variables like 'innodb_use_sys_stats%'; | ||
284 | 3 | 0 | ||
285 | === removed file 'mysql-test/percona_server_variables.inc' | |||
286 | --- mysql-test/percona_server_variables.inc 2011-06-23 02:21:00 +0000 | |||
287 | +++ mysql-test/percona_server_variables.inc 1970-01-01 00:00:00 +0000 | |||
288 | @@ -1,3 +0,0 @@ | |||
289 | 1 | --source include/have_response_time_distribution.inc | ||
290 | 2 | --source include/have_innodb.inc | ||
291 | 3 | SELECT Variable_name FROM INFORMATION_SCHEMA.SESSION_VARIABLES ORDER BY 1; | ||
292 | 4 | 0 | ||
293 | === removed file 'mysql-test/percona_server_variables_debug.result' | |||
294 | --- mysql-test/percona_server_variables_debug.result 2011-07-30 22:04:31 +0000 | |||
295 | +++ mysql-test/percona_server_variables_debug.result 1970-01-01 00:00:00 +0000 | |||
296 | @@ -1,347 +0,0 @@ | |||
297 | 1 | SELECT Variable_name FROM INFORMATION_SCHEMA.SESSION_VARIABLES ORDER BY 1; | ||
298 | 2 | Variable_name | ||
299 | 3 | AUTOCOMMIT | ||
300 | 4 | AUTOMATIC_SP_PRIVILEGES | ||
301 | 5 | AUTO_INCREMENT_INCREMENT | ||
302 | 6 | AUTO_INCREMENT_OFFSET | ||
303 | 7 | BACK_LOG | ||
304 | 8 | BASEDIR | ||
305 | 9 | BIG_TABLES | ||
306 | 10 | BINLOG_CACHE_SIZE | ||
307 | 11 | BINLOG_DIRECT_NON_TRANSACTIONAL_UPDATES | ||
308 | 12 | BINLOG_FORMAT | ||
309 | 13 | BULK_INSERT_BUFFER_SIZE | ||
310 | 14 | CHARACTER_SETS_DIR | ||
311 | 15 | CHARACTER_SET_CLIENT | ||
312 | 16 | CHARACTER_SET_CONNECTION | ||
313 | 17 | CHARACTER_SET_DATABASE | ||
314 | 18 | CHARACTER_SET_FILESYSTEM | ||
315 | 19 | CHARACTER_SET_RESULTS | ||
316 | 20 | CHARACTER_SET_SERVER | ||
317 | 21 | CHARACTER_SET_SYSTEM | ||
318 | 22 | COLLATION_CONNECTION | ||
319 | 23 | COLLATION_DATABASE | ||
320 | 24 | COLLATION_SERVER | ||
321 | 25 | COMPLETION_TYPE | ||
322 | 26 | CONCURRENT_INSERT | ||
323 | 27 | CONNECT_TIMEOUT | ||
324 | 28 | DATADIR | ||
325 | 29 | DATETIME_FORMAT | ||
326 | 30 | DATE_FORMAT | ||
327 | 31 | DEBUG | ||
328 | 32 | DEBUG_SYNC | ||
329 | 33 | DEFAULT_WEEK_FORMAT | ||
330 | 34 | DELAYED_INSERT_LIMIT | ||
331 | 35 | DELAYED_INSERT_TIMEOUT | ||
332 | 36 | DELAYED_QUEUE_SIZE | ||
333 | 37 | DELAY_KEY_WRITE | ||
334 | 38 | DIV_PRECISION_INCREMENT | ||
335 | 39 | ENABLE_QUERY_RESPONSE_TIME_STATS | ||
336 | 40 | ENGINE_CONDITION_PUSHDOWN | ||
337 | 41 | ERROR_COUNT | ||
338 | 42 | EVENT_SCHEDULER | ||
339 | 43 | EXPIRE_LOGS_DAYS | ||
340 | 44 | FAST_INDEX_CREATION | ||
341 | 45 | FLUSH | ||
342 | 46 | FLUSH_TIME | ||
343 | 47 | FOREIGN_KEY_CHECKS | ||
344 | 48 | FT_BOOLEAN_SYNTAX | ||
345 | 49 | FT_MAX_WORD_LEN | ||
346 | 50 | FT_MIN_WORD_LEN | ||
347 | 51 | FT_QUERY_EXPANSION_LIMIT | ||
348 | 52 | FT_STOPWORD_FILE | ||
349 | 53 | GENERAL_LOG | ||
350 | 54 | GENERAL_LOG_FILE | ||
351 | 55 | GROUP_CONCAT_MAX_LEN | ||
352 | 56 | HAVE_COMMUNITY_FEATURES | ||
353 | 57 | HAVE_COMPRESS | ||
354 | 58 | HAVE_CRYPT | ||
355 | 59 | HAVE_CSV | ||
356 | 60 | HAVE_DYNAMIC_LOADING | ||
357 | 61 | HAVE_GEOMETRY | ||
358 | 62 | HAVE_INNODB | ||
359 | 63 | HAVE_NDBCLUSTER | ||
360 | 64 | HAVE_OPENSSL | ||
361 | 65 | HAVE_PARTITIONING | ||
362 | 66 | HAVE_QUERY_CACHE | ||
363 | 67 | HAVE_RESPONSE_TIME_DISTRIBUTION | ||
364 | 68 | HAVE_RTREE_KEYS | ||
365 | 69 | HAVE_SSL | ||
366 | 70 | HAVE_SYMLINK | ||
367 | 71 | HOSTNAME | ||
368 | 72 | IDENTITY | ||
369 | 73 | IGNORE_BUILTIN_INNODB | ||
370 | 74 | INIT_CONNECT | ||
371 | 75 | INIT_FILE | ||
372 | 76 | INIT_SLAVE | ||
373 | 77 | INNODB_ADAPTIVE_CHECKPOINT | ||
374 | 78 | INNODB_ADAPTIVE_FLUSHING | ||
375 | 79 | INNODB_ADAPTIVE_HASH_INDEX | ||
376 | 80 | INNODB_ADDITIONAL_MEM_POOL_SIZE | ||
377 | 81 | INNODB_AUTOEXTEND_INCREMENT | ||
378 | 82 | INNODB_AUTOINC_LOCK_MODE | ||
379 | 83 | INNODB_AUTO_LRU_DUMP | ||
380 | 84 | INNODB_BUFFER_POOL_SHM_CHECKSUM | ||
381 | 85 | INNODB_BUFFER_POOL_SHM_KEY | ||
382 | 86 | INNODB_BUFFER_POOL_SIZE | ||
383 | 87 | INNODB_CHANGE_BUFFERING | ||
384 | 88 | INNODB_CHECKPOINT_AGE_TARGET | ||
385 | 89 | INNODB_CHECKSUMS | ||
386 | 90 | INNODB_COMMIT_CONCURRENCY | ||
387 | 91 | INNODB_CONCURRENCY_TICKETS | ||
388 | 92 | INNODB_DATA_FILE_PATH | ||
389 | 93 | INNODB_DATA_HOME_DIR | ||
390 | 94 | INNODB_DICT_SIZE_LIMIT | ||
391 | 95 | INNODB_DOUBLEWRITE | ||
392 | 96 | INNODB_DOUBLEWRITE_FILE | ||
393 | 97 | INNODB_ENABLE_UNSAFE_GROUP_COMMIT | ||
394 | 98 | INNODB_EXPAND_IMPORT | ||
395 | 99 | INNODB_EXTRA_RSEGMENTS | ||
396 | 100 | INNODB_EXTRA_UNDOSLOTS | ||
397 | 101 | INNODB_FAST_CHECKSUM | ||
398 | 102 | INNODB_FAST_RECOVERY | ||
399 | 103 | INNODB_FAST_SHUTDOWN | ||
400 | 104 | INNODB_FILE_FORMAT | ||
401 | 105 | INNODB_FILE_FORMAT_CHECK | ||
402 | 106 | INNODB_FILE_PER_TABLE | ||
403 | 107 | INNODB_FLUSH_LOG_AT_TRX_COMMIT | ||
404 | 108 | INNODB_FLUSH_LOG_AT_TRX_COMMIT_SESSION | ||
405 | 109 | INNODB_FLUSH_METHOD | ||
406 | 110 | INNODB_FLUSH_NEIGHBOR_PAGES | ||
407 | 111 | INNODB_FORCE_RECOVERY | ||
408 | 112 | INNODB_IBUF_ACCEL_RATE | ||
409 | 113 | INNODB_IBUF_ACTIVE_CONTRACT | ||
410 | 114 | INNODB_IBUF_MAX_SIZE | ||
411 | 115 | INNODB_IO_CAPACITY | ||
412 | 116 | INNODB_LAZY_DROP_TABLE | ||
413 | 117 | INNODB_LOCKS_UNSAFE_FOR_BINLOG | ||
414 | 118 | INNODB_LOCK_WAIT_TIMEOUT | ||
415 | 119 | INNODB_LOG_BLOCK_SIZE | ||
416 | 120 | INNODB_LOG_BUFFER_SIZE | ||
417 | 121 | INNODB_LOG_FILES_IN_GROUP | ||
418 | 122 | INNODB_LOG_FILE_SIZE | ||
419 | 123 | INNODB_LOG_GROUP_HOME_DIR | ||
420 | 124 | INNODB_MAX_DIRTY_PAGES_PCT | ||
421 | 125 | INNODB_MAX_PURGE_LAG | ||
422 | 126 | INNODB_MIRRORED_LOG_GROUPS | ||
423 | 127 | INNODB_OLD_BLOCKS_PCT | ||
424 | 128 | INNODB_OLD_BLOCKS_TIME | ||
425 | 129 | INNODB_OPEN_FILES | ||
426 | 130 | INNODB_OVERWRITE_RELAY_LOG_INFO | ||
427 | 131 | INNODB_PAGE_SIZE | ||
428 | 132 | INNODB_PASS_CORRUPT_TABLE | ||
429 | 133 | INNODB_READ_AHEAD | ||
430 | 134 | INNODB_READ_AHEAD_THRESHOLD | ||
431 | 135 | INNODB_READ_IO_THREADS | ||
432 | 136 | INNODB_RECOVERY_STATS | ||
433 | 137 | INNODB_REPLICATION_DELAY | ||
434 | 138 | INNODB_ROLLBACK_ON_TIMEOUT | ||
435 | 139 | INNODB_SHOW_LOCKS_HELD | ||
436 | 140 | INNODB_SHOW_VERBOSE_LOCKS | ||
437 | 141 | INNODB_SPIN_WAIT_DELAY | ||
438 | 142 | INNODB_STATS_AUTO_UPDATE | ||
439 | 143 | INNODB_STATS_METHOD | ||
440 | 144 | INNODB_STATS_ON_METADATA | ||
441 | 145 | INNODB_STATS_SAMPLE_PAGES | ||
442 | 146 | INNODB_STATS_UPDATE_NEED_LOCK | ||
443 | 147 | INNODB_STRICT_MODE | ||
444 | 148 | INNODB_SUPPORT_XA | ||
445 | 149 | INNODB_SYNC_SPIN_LOOPS | ||
446 | 150 | INNODB_TABLE_LOCKS | ||
447 | 151 | INNODB_THREAD_CONCURRENCY | ||
448 | 152 | INNODB_THREAD_CONCURRENCY_TIMER_BASED | ||
449 | 153 | INNODB_THREAD_SLEEP_DELAY | ||
450 | 154 | INNODB_USE_PURGE_THREAD | ||
451 | 155 | INNODB_USE_SYS_MALLOC | ||
452 | 156 | INNODB_USE_SYS_STATS_TABLE | ||
453 | 157 | INNODB_VERSION | ||
454 | 158 | INNODB_WRITE_IO_THREADS | ||
455 | 159 | INSERT_ID | ||
456 | 160 | INTERACTIVE_TIMEOUT | ||
457 | 161 | JOIN_BUFFER_SIZE | ||
458 | 162 | KEEP_FILES_ON_CREATE | ||
459 | 163 | KEY_BUFFER_SIZE | ||
460 | 164 | KEY_CACHE_AGE_THRESHOLD | ||
461 | 165 | KEY_CACHE_BLOCK_SIZE | ||
462 | 166 | KEY_CACHE_DIVISION_LIMIT | ||
463 | 167 | LANGUAGE | ||
464 | 168 | LARGE_FILES_SUPPORT | ||
465 | 169 | LARGE_PAGES | ||
466 | 170 | LARGE_PAGE_SIZE | ||
467 | 171 | LAST_INSERT_ID | ||
468 | 172 | LC_TIME_NAMES | ||
469 | 173 | LICENSE | ||
470 | 174 | LOCAL_INFILE | ||
471 | 175 | LOCKED_IN_MEMORY | ||
472 | 176 | LOG | ||
473 | 177 | LOG_BIN | ||
474 | 178 | LOG_BIN_TRUST_FUNCTION_CREATORS | ||
475 | 179 | LOG_BIN_TRUST_ROUTINE_CREATORS | ||
476 | 180 | LOG_ERROR | ||
477 | 181 | LOG_OUTPUT | ||
478 | 182 | LOG_QUERIES_NOT_USING_INDEXES | ||
479 | 183 | LOG_SLAVE_UPDATES | ||
480 | 184 | LOG_SLOW_FILTER | ||
481 | 185 | LOG_SLOW_QUERIES | ||
482 | 186 | LOG_SLOW_RATE_LIMIT | ||
483 | 187 | LOG_SLOW_SLAVE_STATEMENTS | ||
484 | 188 | LOG_SLOW_SP_STATEMENTS | ||
485 | 189 | LOG_SLOW_TIMESTAMP_EVERY | ||
486 | 190 | LOG_SLOW_VERBOSITY | ||
487 | 191 | LOG_WARNINGS | ||
488 | 192 | LONG_QUERY_TIME | ||
489 | 193 | LOWER_CASE_FILE_SYSTEM | ||
490 | 194 | LOWER_CASE_TABLE_NAMES | ||
491 | 195 | LOW_PRIORITY_UPDATES | ||
492 | 196 | MAX_ALLOWED_PACKET | ||
493 | 197 | MAX_BINLOG_CACHE_SIZE | ||
494 | 198 | MAX_BINLOG_SIZE | ||
495 | 199 | MAX_CONNECTIONS | ||
496 | 200 | MAX_CONNECT_ERRORS | ||
497 | 201 | MAX_DELAYED_THREADS | ||
498 | 202 | MAX_ERROR_COUNT | ||
499 | 203 | MAX_HEAP_TABLE_SIZE | ||
500 | 204 | MAX_INSERT_DELAYED_THREADS | ||
501 | 205 | MAX_JOIN_SIZE | ||
502 | 206 | MAX_LENGTH_FOR_SORT_DATA | ||
503 | 207 | MAX_LONG_DATA_SIZE | ||
504 | 208 | MAX_PREPARED_STMT_COUNT | ||
505 | 209 | MAX_RELAY_LOG_SIZE | ||
506 | 210 | MAX_SEEKS_FOR_KEY | ||
507 | 211 | MAX_SORT_LENGTH | ||
508 | 212 | MAX_SP_RECURSION_DEPTH | ||
509 | 213 | MAX_TMP_TABLES | ||
510 | 214 | MAX_USER_CONNECTIONS | ||
511 | 215 | MAX_WRITE_LOCK_COUNT | ||
512 | 216 | MIN_EXAMINED_ROW_LIMIT | ||
513 | 217 | MULTI_RANGE_COUNT | ||
514 | 218 | MYISAM_DATA_POINTER_SIZE | ||
515 | 219 | MYISAM_MAX_SORT_FILE_SIZE | ||
516 | 220 | MYISAM_MMAP_SIZE | ||
517 | 221 | MYISAM_RECOVER_OPTIONS | ||
518 | 222 | MYISAM_REPAIR_THREADS | ||
519 | 223 | MYISAM_SORT_BUFFER_SIZE | ||
520 | 224 | MYISAM_STATS_METHOD | ||
521 | 225 | MYISAM_USE_MMAP | ||
522 | 226 | NET_BUFFER_LENGTH | ||
523 | 227 | NET_READ_TIMEOUT | ||
524 | 228 | NET_RETRY_COUNT | ||
525 | 229 | NET_WRITE_TIMEOUT | ||
526 | 230 | NEW | ||
527 | 231 | OLD | ||
528 | 232 | OLD_ALTER_TABLE | ||
529 | 233 | OLD_PASSWORDS | ||
530 | 234 | OPEN_FILES_LIMIT | ||
531 | 235 | OPTIMIZER_FIX | ||
532 | 236 | OPTIMIZER_PRUNE_LEVEL | ||
533 | 237 | OPTIMIZER_SEARCH_DEPTH | ||
534 | 238 | OPTIMIZER_SWITCH | ||
535 | 239 | PID_FILE | ||
536 | 240 | PLUGIN_DIR | ||
537 | 241 | PORT | ||
538 | 242 | PRELOAD_BUFFER_SIZE | ||
539 | 243 | PROFILING | ||
540 | 244 | PROFILING_HISTORY_SIZE | ||
541 | 245 | PROFILING_SERVER | ||
542 | 246 | PROFILING_USE_GETRUSAGE | ||
543 | 247 | PROTOCOL_VERSION | ||
544 | 248 | PSEUDO_THREAD_ID | ||
545 | 249 | QUERY_ALLOC_BLOCK_SIZE | ||
546 | 250 | QUERY_CACHE_LIMIT | ||
547 | 251 | QUERY_CACHE_MIN_RES_UNIT | ||
548 | 252 | QUERY_CACHE_SIZE | ||
549 | 253 | QUERY_CACHE_STRIP_COMMENTS | ||
550 | 254 | QUERY_CACHE_TYPE | ||
551 | 255 | QUERY_CACHE_WLOCK_INVALIDATE | ||
552 | 256 | QUERY_EXEC_TIME | ||
553 | 257 | QUERY_PREALLOC_SIZE | ||
554 | 258 | QUERY_RESPONSE_TIME_RANGE_BASE | ||
555 | 259 | RAND_SEED1 | ||
556 | 260 | RAND_SEED2 | ||
557 | 261 | RANGE_ALLOC_BLOCK_SIZE | ||
558 | 262 | READ_BUFFER_SIZE | ||
559 | 263 | READ_ONLY | ||
560 | 264 | READ_RND_BUFFER_SIZE | ||
561 | 265 | RELAY_LOG | ||
562 | 266 | RELAY_LOG_INDEX | ||
563 | 267 | RELAY_LOG_INFO_FILE | ||
564 | 268 | RELAY_LOG_PURGE | ||
565 | 269 | RELAY_LOG_SPACE_LIMIT | ||
566 | 270 | REPORT_HOST | ||
567 | 271 | REPORT_PASSWORD | ||
568 | 272 | REPORT_PORT | ||
569 | 273 | REPORT_USER | ||
570 | 274 | RPL_RECOVERY_RANK | ||
571 | 275 | SECURE_AUTH | ||
572 | 276 | SECURE_FILE_PRIV | ||
573 | 277 | SERVER_ID | ||
574 | 278 | SKIP_EXTERNAL_LOCKING | ||
575 | 279 | SKIP_NAME_RESOLVE | ||
576 | 280 | SKIP_NETWORKING | ||
577 | 281 | SKIP_SHOW_DATABASE | ||
578 | 282 | SLAVE_COMPRESSED_PROTOCOL | ||
579 | 283 | SLAVE_EXEC_MODE | ||
580 | 284 | SLAVE_LOAD_TMPDIR | ||
581 | 285 | SLAVE_NET_TIMEOUT | ||
582 | 286 | SLAVE_SKIP_ERRORS | ||
583 | 287 | SLAVE_TRANSACTION_RETRIES | ||
584 | 288 | SLOW_LAUNCH_TIME | ||
585 | 289 | SLOW_QUERY_LOG | ||
586 | 290 | SLOW_QUERY_LOG_FILE | ||
587 | 291 | SLOW_QUERY_LOG_MICROSECONDS_TIMESTAMP | ||
588 | 292 | SOCKET | ||
589 | 293 | SORT_BUFFER_SIZE | ||
590 | 294 | SQL_AUTO_IS_NULL | ||
591 | 295 | SQL_BIG_SELECTS | ||
592 | 296 | SQL_BIG_TABLES | ||
593 | 297 | SQL_BUFFER_RESULT | ||
594 | 298 | SQL_LOG_BIN | ||
595 | 299 | SQL_LOG_OFF | ||
596 | 300 | SQL_LOG_UPDATE | ||
597 | 301 | SQL_LOW_PRIORITY_UPDATES | ||
598 | 302 | SQL_MAX_JOIN_SIZE | ||
599 | 303 | SQL_MODE | ||
600 | 304 | SQL_NOTES | ||
601 | 305 | SQL_QUOTE_SHOW_CREATE | ||
602 | 306 | SQL_SAFE_UPDATES | ||
603 | 307 | SQL_SELECT_LIMIT | ||
604 | 308 | SQL_SLAVE_SKIP_COUNTER | ||
605 | 309 | SQL_WARNINGS | ||
606 | 310 | SSL_CA | ||
607 | 311 | SSL_CAPATH | ||
608 | 312 | SSL_CERT | ||
609 | 313 | SSL_CIPHER | ||
610 | 314 | SSL_KEY | ||
611 | 315 | STORAGE_ENGINE | ||
612 | 316 | SUPPRESS_LOG_WARNING_1592 | ||
613 | 317 | SYNC_BINLOG | ||
614 | 318 | SYNC_FRM | ||
615 | 319 | SYSTEM_TIME_ZONE | ||
616 | 320 | TABLE_DEFINITION_CACHE | ||
617 | 321 | TABLE_LOCK_WAIT_TIMEOUT | ||
618 | 322 | TABLE_OPEN_CACHE | ||
619 | 323 | TABLE_TYPE | ||
620 | 324 | THREAD_CACHE_SIZE | ||
621 | 325 | THREAD_HANDLING | ||
622 | 326 | THREAD_STACK | ||
623 | 327 | THREAD_STATISTICS | ||
624 | 328 | TIMED_MUTEXES | ||
625 | 329 | TIMESTAMP | ||
626 | 330 | TIME_FORMAT | ||
627 | 331 | TIME_ZONE | ||
628 | 332 | TMPDIR | ||
629 | 333 | TMP_TABLE_SIZE | ||
630 | 334 | TRANSACTION_ALLOC_BLOCK_SIZE | ||
631 | 335 | TRANSACTION_PREALLOC_SIZE | ||
632 | 336 | TX_ISOLATION | ||
633 | 337 | UNIQUE_CHECKS | ||
634 | 338 | UPDATABLE_VIEWS_WITH_LIMIT | ||
635 | 339 | USERSTAT_RUNNING | ||
636 | 340 | USE_GLOBAL_LOG_SLOW_CONTROL | ||
637 | 341 | USE_GLOBAL_LONG_QUERY_TIME | ||
638 | 342 | VERSION | ||
639 | 343 | VERSION_COMMENT | ||
640 | 344 | VERSION_COMPILE_MACHINE | ||
641 | 345 | VERSION_COMPILE_OS | ||
642 | 346 | WAIT_TIMEOUT | ||
643 | 347 | WARNING_COUNT | ||
644 | 348 | 0 | ||
645 | === removed file 'mysql-test/percona_server_variables_debug.test' | |||
646 | --- mysql-test/percona_server_variables_debug.test 2011-06-23 02:21:00 +0000 | |||
647 | +++ mysql-test/percona_server_variables_debug.test 1970-01-01 00:00:00 +0000 | |||
648 | @@ -1,2 +0,0 @@ | |||
649 | 1 | --source include/have_debug.inc | ||
650 | 2 | --source include/percona_server_variables.inc | ||
651 | 3 | 0 | ||
652 | === removed file 'mysql-test/percona_server_variables_release.result' | |||
653 | --- mysql-test/percona_server_variables_release.result 2011-07-28 18:07:09 +0000 | |||
654 | +++ mysql-test/percona_server_variables_release.result 1970-01-01 00:00:00 +0000 | |||
655 | @@ -1,344 +0,0 @@ | |||
656 | 1 | SELECT Variable_name FROM INFORMATION_SCHEMA.SESSION_VARIABLES ORDER BY 1; | ||
657 | 2 | Variable_name | ||
658 | 3 | AUTOCOMMIT | ||
659 | 4 | AUTOMATIC_SP_PRIVILEGES | ||
660 | 5 | AUTO_INCREMENT_INCREMENT | ||
661 | 6 | AUTO_INCREMENT_OFFSET | ||
662 | 7 | BACK_LOG | ||
663 | 8 | BASEDIR | ||
664 | 9 | BIG_TABLES | ||
665 | 10 | BINLOG_CACHE_SIZE | ||
666 | 11 | BINLOG_DIRECT_NON_TRANSACTIONAL_UPDATES | ||
667 | 12 | BINLOG_FORMAT | ||
668 | 13 | BULK_INSERT_BUFFER_SIZE | ||
669 | 14 | CHARACTER_SETS_DIR | ||
670 | 15 | CHARACTER_SET_CLIENT | ||
671 | 16 | CHARACTER_SET_CONNECTION | ||
672 | 17 | CHARACTER_SET_DATABASE | ||
673 | 18 | CHARACTER_SET_FILESYSTEM | ||
674 | 19 | CHARACTER_SET_RESULTS | ||
675 | 20 | CHARACTER_SET_SERVER | ||
676 | 21 | CHARACTER_SET_SYSTEM | ||
677 | 22 | COLLATION_CONNECTION | ||
678 | 23 | COLLATION_DATABASE | ||
679 | 24 | COLLATION_SERVER | ||
680 | 25 | COMPLETION_TYPE | ||
681 | 26 | CONCURRENT_INSERT | ||
682 | 27 | CONNECT_TIMEOUT | ||
683 | 28 | DATADIR | ||
684 | 29 | DATETIME_FORMAT | ||
685 | 30 | DATE_FORMAT | ||
686 | 31 | DEFAULT_WEEK_FORMAT | ||
687 | 32 | DELAYED_INSERT_LIMIT | ||
688 | 33 | DELAYED_INSERT_TIMEOUT | ||
689 | 34 | DELAYED_QUEUE_SIZE | ||
690 | 35 | DELAY_KEY_WRITE | ||
691 | 36 | DIV_PRECISION_INCREMENT | ||
692 | 37 | ENABLE_QUERY_RESPONSE_TIME_STATS | ||
693 | 38 | ENGINE_CONDITION_PUSHDOWN | ||
694 | 39 | ERROR_COUNT | ||
695 | 40 | EVENT_SCHEDULER | ||
696 | 41 | EXPIRE_LOGS_DAYS | ||
697 | 42 | FAST_INDEX_CREATION | ||
698 | 43 | FLUSH | ||
699 | 44 | FLUSH_TIME | ||
700 | 45 | FOREIGN_KEY_CHECKS | ||
701 | 46 | FT_BOOLEAN_SYNTAX | ||
702 | 47 | FT_MAX_WORD_LEN | ||
703 | 48 | FT_MIN_WORD_LEN | ||
704 | 49 | FT_QUERY_EXPANSION_LIMIT | ||
705 | 50 | FT_STOPWORD_FILE | ||
706 | 51 | GENERAL_LOG | ||
707 | 52 | GENERAL_LOG_FILE | ||
708 | 53 | GROUP_CONCAT_MAX_LEN | ||
709 | 54 | HAVE_COMMUNITY_FEATURES | ||
710 | 55 | HAVE_COMPRESS | ||
711 | 56 | HAVE_CRYPT | ||
712 | 57 | HAVE_CSV | ||
713 | 58 | HAVE_DYNAMIC_LOADING | ||
714 | 59 | HAVE_GEOMETRY | ||
715 | 60 | HAVE_INNODB | ||
716 | 61 | HAVE_NDBCLUSTER | ||
717 | 62 | HAVE_OPENSSL | ||
718 | 63 | HAVE_PARTITIONING | ||
719 | 64 | HAVE_QUERY_CACHE | ||
720 | 65 | HAVE_RESPONSE_TIME_DISTRIBUTION | ||
721 | 66 | HAVE_RTREE_KEYS | ||
722 | 67 | HAVE_SSL | ||
723 | 68 | HAVE_SYMLINK | ||
724 | 69 | HOSTNAME | ||
725 | 70 | IDENTITY | ||
726 | 71 | IGNORE_BUILTIN_INNODB | ||
727 | 72 | INIT_CONNECT | ||
728 | 73 | INIT_FILE | ||
729 | 74 | INIT_SLAVE | ||
730 | 75 | INNODB_ADAPTIVE_CHECKPOINT | ||
731 | 76 | INNODB_ADAPTIVE_FLUSHING | ||
732 | 77 | INNODB_ADAPTIVE_HASH_INDEX | ||
733 | 78 | INNODB_ADDITIONAL_MEM_POOL_SIZE | ||
734 | 79 | INNODB_AUTOEXTEND_INCREMENT | ||
735 | 80 | INNODB_AUTOINC_LOCK_MODE | ||
736 | 81 | INNODB_AUTO_LRU_DUMP | ||
737 | 82 | INNODB_BUFFER_POOL_SHM_CHECKSUM | ||
738 | 83 | INNODB_BUFFER_POOL_SHM_KEY | ||
739 | 84 | INNODB_BUFFER_POOL_SIZE | ||
740 | 85 | INNODB_CHANGE_BUFFERING | ||
741 | 86 | INNODB_CHECKPOINT_AGE_TARGET | ||
742 | 87 | INNODB_CHECKSUMS | ||
743 | 88 | INNODB_COMMIT_CONCURRENCY | ||
744 | 89 | INNODB_CONCURRENCY_TICKETS | ||
745 | 90 | INNODB_DATA_FILE_PATH | ||
746 | 91 | INNODB_DATA_HOME_DIR | ||
747 | 92 | INNODB_DICT_SIZE_LIMIT | ||
748 | 93 | INNODB_DOUBLEWRITE | ||
749 | 94 | INNODB_DOUBLEWRITE_FILE | ||
750 | 95 | INNODB_ENABLE_UNSAFE_GROUP_COMMIT | ||
751 | 96 | INNODB_EXPAND_IMPORT | ||
752 | 97 | INNODB_EXTRA_RSEGMENTS | ||
753 | 98 | INNODB_EXTRA_UNDOSLOTS | ||
754 | 99 | INNODB_FAST_CHECKSUM | ||
755 | 100 | INNODB_FAST_RECOVERY | ||
756 | 101 | INNODB_FAST_SHUTDOWN | ||
757 | 102 | INNODB_FILE_FORMAT | ||
758 | 103 | INNODB_FILE_FORMAT_CHECK | ||
759 | 104 | INNODB_FILE_PER_TABLE | ||
760 | 105 | INNODB_FLUSH_LOG_AT_TRX_COMMIT | ||
761 | 106 | INNODB_FLUSH_LOG_AT_TRX_COMMIT_SESSION | ||
762 | 107 | INNODB_FLUSH_METHOD | ||
763 | 108 | INNODB_FLUSH_NEIGHBOR_PAGES | ||
764 | 109 | INNODB_FORCE_RECOVERY | ||
765 | 110 | INNODB_IBUF_ACCEL_RATE | ||
766 | 111 | INNODB_IBUF_ACTIVE_CONTRACT | ||
767 | 112 | INNODB_IBUF_MAX_SIZE | ||
768 | 113 | INNODB_IO_CAPACITY | ||
769 | 114 | INNODB_LAZY_DROP_TABLE | ||
770 | 115 | INNODB_LOCKS_UNSAFE_FOR_BINLOG | ||
771 | 116 | INNODB_LOCK_WAIT_TIMEOUT | ||
772 | 117 | INNODB_LOG_BLOCK_SIZE | ||
773 | 118 | INNODB_LOG_BUFFER_SIZE | ||
774 | 119 | INNODB_LOG_FILES_IN_GROUP | ||
775 | 120 | INNODB_LOG_FILE_SIZE | ||
776 | 121 | INNODB_LOG_GROUP_HOME_DIR | ||
777 | 122 | INNODB_MAX_DIRTY_PAGES_PCT | ||
778 | 123 | INNODB_MAX_PURGE_LAG | ||
779 | 124 | INNODB_MIRRORED_LOG_GROUPS | ||
780 | 125 | INNODB_OLD_BLOCKS_PCT | ||
781 | 126 | INNODB_OLD_BLOCKS_TIME | ||
782 | 127 | INNODB_OPEN_FILES | ||
783 | 128 | INNODB_OVERWRITE_RELAY_LOG_INFO | ||
784 | 129 | INNODB_PAGE_SIZE | ||
785 | 130 | INNODB_PASS_CORRUPT_TABLE | ||
786 | 131 | INNODB_READ_AHEAD | ||
787 | 132 | INNODB_READ_AHEAD_THRESHOLD | ||
788 | 133 | INNODB_READ_IO_THREADS | ||
789 | 134 | INNODB_RECOVERY_STATS | ||
790 | 135 | INNODB_REPLICATION_DELAY | ||
791 | 136 | INNODB_ROLLBACK_ON_TIMEOUT | ||
792 | 137 | INNODB_SHOW_LOCKS_HELD | ||
793 | 138 | INNODB_SHOW_VERBOSE_LOCKS | ||
794 | 139 | INNODB_SPIN_WAIT_DELAY | ||
795 | 140 | INNODB_STATS_AUTO_UPDATE | ||
796 | 141 | INNODB_STATS_METHOD | ||
797 | 142 | INNODB_STATS_ON_METADATA | ||
798 | 143 | INNODB_STATS_SAMPLE_PAGES | ||
799 | 144 | INNODB_STATS_UPDATE_NEED_LOCK | ||
800 | 145 | INNODB_STRICT_MODE | ||
801 | 146 | INNODB_SUPPORT_XA | ||
802 | 147 | INNODB_SYNC_SPIN_LOOPS | ||
803 | 148 | INNODB_TABLE_LOCKS | ||
804 | 149 | INNODB_THREAD_CONCURRENCY | ||
805 | 150 | INNODB_THREAD_CONCURRENCY_TIMER_BASED | ||
806 | 151 | INNODB_THREAD_SLEEP_DELAY | ||
807 | 152 | INNODB_USE_PURGE_THREAD | ||
808 | 153 | INNODB_USE_SYS_MALLOC | ||
809 | 154 | INNODB_USE_SYS_STATS_TABLE | ||
810 | 155 | INNODB_VERSION | ||
811 | 156 | INNODB_WRITE_IO_THREADS | ||
812 | 157 | INSERT_ID | ||
813 | 158 | INTERACTIVE_TIMEOUT | ||
814 | 159 | JOIN_BUFFER_SIZE | ||
815 | 160 | KEEP_FILES_ON_CREATE | ||
816 | 161 | KEY_BUFFER_SIZE | ||
817 | 162 | KEY_CACHE_AGE_THRESHOLD | ||
818 | 163 | KEY_CACHE_BLOCK_SIZE | ||
819 | 164 | KEY_CACHE_DIVISION_LIMIT | ||
820 | 165 | LANGUAGE | ||
821 | 166 | LARGE_FILES_SUPPORT | ||
822 | 167 | LARGE_PAGES | ||
823 | 168 | LARGE_PAGE_SIZE | ||
824 | 169 | LAST_INSERT_ID | ||
825 | 170 | LC_TIME_NAMES | ||
826 | 171 | LICENSE | ||
827 | 172 | LOCAL_INFILE | ||
828 | 173 | LOCKED_IN_MEMORY | ||
829 | 174 | LOG | ||
830 | 175 | LOG_BIN | ||
831 | 176 | LOG_BIN_TRUST_FUNCTION_CREATORS | ||
832 | 177 | LOG_BIN_TRUST_ROUTINE_CREATORS | ||
833 | 178 | LOG_ERROR | ||
834 | 179 | LOG_OUTPUT | ||
835 | 180 | LOG_QUERIES_NOT_USING_INDEXES | ||
836 | 181 | LOG_SLAVE_UPDATES | ||
837 | 182 | LOG_SLOW_FILTER | ||
838 | 183 | LOG_SLOW_QUERIES | ||
839 | 184 | LOG_SLOW_RATE_LIMIT | ||
840 | 185 | LOG_SLOW_SLAVE_STATEMENTS | ||
841 | 186 | LOG_SLOW_SP_STATEMENTS | ||
842 | 187 | LOG_SLOW_TIMESTAMP_EVERY | ||
843 | 188 | LOG_SLOW_VERBOSITY | ||
844 | 189 | LOG_WARNINGS | ||
845 | 190 | LONG_QUERY_TIME | ||
846 | 191 | LOWER_CASE_FILE_SYSTEM | ||
847 | 192 | LOWER_CASE_TABLE_NAMES | ||
848 | 193 | LOW_PRIORITY_UPDATES | ||
849 | 194 | MAX_ALLOWED_PACKET | ||
850 | 195 | MAX_BINLOG_CACHE_SIZE | ||
851 | 196 | MAX_BINLOG_SIZE | ||
852 | 197 | MAX_CONNECTIONS | ||
853 | 198 | MAX_CONNECT_ERRORS | ||
854 | 199 | MAX_DELAYED_THREADS | ||
855 | 200 | MAX_ERROR_COUNT | ||
856 | 201 | MAX_HEAP_TABLE_SIZE | ||
857 | 202 | MAX_INSERT_DELAYED_THREADS | ||
858 | 203 | MAX_JOIN_SIZE | ||
859 | 204 | MAX_LENGTH_FOR_SORT_DATA | ||
860 | 205 | MAX_LONG_DATA_SIZE | ||
861 | 206 | MAX_PREPARED_STMT_COUNT | ||
862 | 207 | MAX_RELAY_LOG_SIZE | ||
863 | 208 | MAX_SEEKS_FOR_KEY | ||
864 | 209 | MAX_SORT_LENGTH | ||
865 | 210 | MAX_SP_RECURSION_DEPTH | ||
866 | 211 | MAX_TMP_TABLES | ||
867 | 212 | MAX_USER_CONNECTIONS | ||
868 | 213 | MAX_WRITE_LOCK_COUNT | ||
869 | 214 | MIN_EXAMINED_ROW_LIMIT | ||
870 | 215 | MULTI_RANGE_COUNT | ||
871 | 216 | MYISAM_DATA_POINTER_SIZE | ||
872 | 217 | MYISAM_MAX_SORT_FILE_SIZE | ||
873 | 218 | MYISAM_MMAP_SIZE | ||
874 | 219 | MYISAM_RECOVER_OPTIONS | ||
875 | 220 | MYISAM_REPAIR_THREADS | ||
876 | 221 | MYISAM_SORT_BUFFER_SIZE | ||
877 | 222 | MYISAM_STATS_METHOD | ||
878 | 223 | MYISAM_USE_MMAP | ||
879 | 224 | NET_BUFFER_LENGTH | ||
880 | 225 | NET_READ_TIMEOUT | ||
881 | 226 | NET_RETRY_COUNT | ||
882 | 227 | NET_WRITE_TIMEOUT | ||
883 | 228 | NEW | ||
884 | 229 | OLD | ||
885 | 230 | OLD_ALTER_TABLE | ||
886 | 231 | OLD_PASSWORDS | ||
887 | 232 | OPEN_FILES_LIMIT | ||
888 | 233 | OPTIMIZER_FIX | ||
889 | 234 | OPTIMIZER_PRUNE_LEVEL | ||
890 | 235 | OPTIMIZER_SEARCH_DEPTH | ||
891 | 236 | OPTIMIZER_SWITCH | ||
892 | 237 | PID_FILE | ||
893 | 238 | PLUGIN_DIR | ||
894 | 239 | PORT | ||
895 | 240 | PRELOAD_BUFFER_SIZE | ||
896 | 241 | PROFILING | ||
897 | 242 | PROFILING_HISTORY_SIZE | ||
898 | 243 | PROFILING_SERVER | ||
899 | 244 | PROFILING_USE_GETRUSAGE | ||
900 | 245 | PROTOCOL_VERSION | ||
901 | 246 | PSEUDO_THREAD_ID | ||
902 | 247 | QUERY_ALLOC_BLOCK_SIZE | ||
903 | 248 | QUERY_CACHE_LIMIT | ||
904 | 249 | QUERY_CACHE_MIN_RES_UNIT | ||
905 | 250 | QUERY_CACHE_SIZE | ||
906 | 251 | QUERY_CACHE_STRIP_COMMENTS | ||
907 | 252 | QUERY_CACHE_TYPE | ||
908 | 253 | QUERY_CACHE_WLOCK_INVALIDATE | ||
909 | 254 | QUERY_PREALLOC_SIZE | ||
910 | 255 | QUERY_RESPONSE_TIME_RANGE_BASE | ||
911 | 256 | RAND_SEED1 | ||
912 | 257 | RAND_SEED2 | ||
913 | 258 | RANGE_ALLOC_BLOCK_SIZE | ||
914 | 259 | READ_BUFFER_SIZE | ||
915 | 260 | READ_ONLY | ||
916 | 261 | READ_RND_BUFFER_SIZE | ||
917 | 262 | RELAY_LOG | ||
918 | 263 | RELAY_LOG_INDEX | ||
919 | 264 | RELAY_LOG_INFO_FILE | ||
920 | 265 | RELAY_LOG_PURGE | ||
921 | 266 | RELAY_LOG_SPACE_LIMIT | ||
922 | 267 | REPORT_HOST | ||
923 | 268 | REPORT_PASSWORD | ||
924 | 269 | REPORT_PORT | ||
925 | 270 | REPORT_USER | ||
926 | 271 | RPL_RECOVERY_RANK | ||
927 | 272 | SECURE_AUTH | ||
928 | 273 | SECURE_FILE_PRIV | ||
929 | 274 | SERVER_ID | ||
930 | 275 | SKIP_EXTERNAL_LOCKING | ||
931 | 276 | SKIP_NAME_RESOLVE | ||
932 | 277 | SKIP_NETWORKING | ||
933 | 278 | SKIP_SHOW_DATABASE | ||
934 | 279 | SLAVE_COMPRESSED_PROTOCOL | ||
935 | 280 | SLAVE_EXEC_MODE | ||
936 | 281 | SLAVE_LOAD_TMPDIR | ||
937 | 282 | SLAVE_NET_TIMEOUT | ||
938 | 283 | SLAVE_SKIP_ERRORS | ||
939 | 284 | SLAVE_TRANSACTION_RETRIES | ||
940 | 285 | SLOW_LAUNCH_TIME | ||
941 | 286 | SLOW_QUERY_LOG | ||
942 | 287 | SLOW_QUERY_LOG_FILE | ||
943 | 288 | SLOW_QUERY_LOG_MICROSECONDS_TIMESTAMP | ||
944 | 289 | SOCKET | ||
945 | 290 | SORT_BUFFER_SIZE | ||
946 | 291 | SQL_AUTO_IS_NULL | ||
947 | 292 | SQL_BIG_SELECTS | ||
948 | 293 | SQL_BIG_TABLES | ||
949 | 294 | SQL_BUFFER_RESULT | ||
950 | 295 | SQL_LOG_BIN | ||
951 | 296 | SQL_LOG_OFF | ||
952 | 297 | SQL_LOG_UPDATE | ||
953 | 298 | SQL_LOW_PRIORITY_UPDATES | ||
954 | 299 | SQL_MAX_JOIN_SIZE | ||
955 | 300 | SQL_MODE | ||
956 | 301 | SQL_NOTES | ||
957 | 302 | SQL_QUOTE_SHOW_CREATE | ||
958 | 303 | SQL_SAFE_UPDATES | ||
959 | 304 | SQL_SELECT_LIMIT | ||
960 | 305 | SQL_SLAVE_SKIP_COUNTER | ||
961 | 306 | SQL_WARNINGS | ||
962 | 307 | SSL_CA | ||
963 | 308 | SSL_CAPATH | ||
964 | 309 | SSL_CERT | ||
965 | 310 | SSL_CIPHER | ||
966 | 311 | SSL_KEY | ||
967 | 312 | STORAGE_ENGINE | ||
968 | 313 | SUPPRESS_LOG_WARNING_1592 | ||
969 | 314 | SYNC_BINLOG | ||
970 | 315 | SYNC_FRM | ||
971 | 316 | SYSTEM_TIME_ZONE | ||
972 | 317 | TABLE_DEFINITION_CACHE | ||
973 | 318 | TABLE_LOCK_WAIT_TIMEOUT | ||
974 | 319 | TABLE_OPEN_CACHE | ||
975 | 320 | TABLE_TYPE | ||
976 | 321 | THREAD_CACHE_SIZE | ||
977 | 322 | THREAD_HANDLING | ||
978 | 323 | THREAD_STACK | ||
979 | 324 | THREAD_STATISTICS | ||
980 | 325 | TIMED_MUTEXES | ||
981 | 326 | TIMESTAMP | ||
982 | 327 | TIME_FORMAT | ||
983 | 328 | TIME_ZONE | ||
984 | 329 | TMPDIR | ||
985 | 330 | TMP_TABLE_SIZE | ||
986 | 331 | TRANSACTION_ALLOC_BLOCK_SIZE | ||
987 | 332 | TRANSACTION_PREALLOC_SIZE | ||
988 | 333 | TX_ISOLATION | ||
989 | 334 | UNIQUE_CHECKS | ||
990 | 335 | UPDATABLE_VIEWS_WITH_LIMIT | ||
991 | 336 | USERSTAT_RUNNING | ||
992 | 337 | USE_GLOBAL_LOG_SLOW_CONTROL | ||
993 | 338 | USE_GLOBAL_LONG_QUERY_TIME | ||
994 | 339 | VERSION | ||
995 | 340 | VERSION_COMMENT | ||
996 | 341 | VERSION_COMPILE_MACHINE | ||
997 | 342 | VERSION_COMPILE_OS | ||
998 | 343 | WAIT_TIMEOUT | ||
999 | 344 | WARNING_COUNT | ||
1000 | 345 | 0 | ||
1001 | === removed file 'mysql-test/percona_server_variables_release.test' | |||
1002 | --- mysql-test/percona_server_variables_release.test 2011-06-23 02:21:00 +0000 | |||
1003 | +++ mysql-test/percona_server_variables_release.test 1970-01-01 00:00:00 +0000 | |||
1004 | @@ -1,2 +0,0 @@ | |||
1005 | 1 | --source include/have_nodebug.inc | ||
1006 | 2 | --source include/percona_server_variables.inc | ||
1007 | 3 | 0 | ||
1008 | === removed file 'mysql-test/percona_show_temp_tables.result' | |||
1009 | --- mysql-test/percona_show_temp_tables.result 2010-05-20 10:47:38 +0000 | |||
1010 | +++ mysql-test/percona_show_temp_tables.result 1970-01-01 00:00:00 +0000 | |||
1011 | @@ -1,58 +0,0 @@ | |||
1012 | 1 | drop table if exists t1,t2,t3; | ||
1013 | 2 | drop database if exists showtemp; | ||
1014 | 3 | create database if not exists showtemp; | ||
1015 | 4 | use test; | ||
1016 | 5 | create temporary table t1(id int); | ||
1017 | 6 | create temporary table t2(id int); | ||
1018 | 7 | create temporary table showtemp.t3(id int); | ||
1019 | 8 | insert into t1 values(10),(20),(30),(40); | ||
1020 | 9 | insert into showtemp.t3 values(999); | ||
1021 | 10 | show temporary tables; | ||
1022 | 11 | Temp_tables_in_test | ||
1023 | 12 | t2 | ||
1024 | 13 | t1 | ||
1025 | 14 | show temporary tables from test; | ||
1026 | 15 | Temp_tables_in_test | ||
1027 | 16 | t2 | ||
1028 | 17 | t1 | ||
1029 | 18 | show temporary tables in showtemp; | ||
1030 | 19 | Temp_tables_in_showtemp | ||
1031 | 20 | t3 | ||
1032 | 21 | select table_schema, table_name, engine, table_rows from Information_schema.temporary_tables; | ||
1033 | 22 | table_schema table_name engine table_rows | ||
1034 | 23 | showtemp t3 MyISAM 1 | ||
1035 | 24 | test t2 MyISAM 0 | ||
1036 | 25 | test t1 MyISAM 4 | ||
1037 | 26 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables; | ||
1038 | 27 | table_schema table_name engine table_rows | ||
1039 | 28 | showtemp t3 MyISAM 1 | ||
1040 | 29 | test t2 MyISAM 0 | ||
1041 | 30 | test t1 MyISAM 4 | ||
1042 | 31 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables where table_schema='showtemp'; | ||
1043 | 32 | table_schema table_name engine table_rows | ||
1044 | 33 | showtemp t3 MyISAM 1 | ||
1045 | 34 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables where table_schema='temp'; | ||
1046 | 35 | table_schema table_name engine table_rows | ||
1047 | 36 | drop table if exists showtemp.t2; | ||
1048 | 37 | create temporary table t1(id int); | ||
1049 | 38 | create temporary table showtemp.t2(id int); | ||
1050 | 39 | show temporary tables; | ||
1051 | 40 | Temp_tables_in_test | ||
1052 | 41 | t1 | ||
1053 | 42 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables; | ||
1054 | 43 | table_schema table_name engine table_rows | ||
1055 | 44 | showtemp t2 MyISAM 0 | ||
1056 | 45 | test t1 MyISAM 0 | ||
1057 | 46 | showtemp t3 MyISAM 1 | ||
1058 | 47 | test t2 MyISAM 0 | ||
1059 | 48 | test t1 MyISAM 4 | ||
1060 | 49 | drop table showtemp.t2; | ||
1061 | 50 | drop table t1; | ||
1062 | 51 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables; | ||
1063 | 52 | table_schema table_name engine table_rows | ||
1064 | 53 | showtemp t3 MyISAM 1 | ||
1065 | 54 | test t2 MyISAM 0 | ||
1066 | 55 | test t1 MyISAM 4 | ||
1067 | 56 | drop table t1, t2; | ||
1068 | 57 | drop table showtemp.t3; | ||
1069 | 58 | drop database showtemp; | ||
1070 | 59 | 0 | ||
1071 | === removed file 'mysql-test/percona_show_temp_tables.test' | |||
1072 | --- mysql-test/percona_show_temp_tables.test 2010-05-20 10:47:38 +0000 | |||
1073 | +++ mysql-test/percona_show_temp_tables.test 1970-01-01 00:00:00 +0000 | |||
1074 | @@ -1,65 +0,0 @@ | |||
1075 | 1 | # Uses GRANT commands that usually disabled in embedded server | ||
1076 | 2 | -- source include/not_embedded.inc | ||
1077 | 3 | |||
1078 | 4 | # Save the initial number of concurrent sessions | ||
1079 | 5 | --source include/count_sessions.inc | ||
1080 | 6 | |||
1081 | 7 | # | ||
1082 | 8 | # Test of SHOW [GLOBAL] TEMPORARY TABLES [FROM/IN] DB and | ||
1083 | 9 | # Information_schema.temporary_tables and global_temporary_tables | ||
1084 | 10 | # | ||
1085 | 11 | |||
1086 | 12 | connect(stcon1,localhost,root,,test); | ||
1087 | 13 | connect(stcon2,localhost,root,,test); | ||
1088 | 14 | |||
1089 | 15 | connection stcon1; | ||
1090 | 16 | |||
1091 | 17 | --disable_warnings | ||
1092 | 18 | drop table if exists t1,t2,t3; | ||
1093 | 19 | drop database if exists showtemp; | ||
1094 | 20 | create database if not exists showtemp; | ||
1095 | 21 | --enable_warnings | ||
1096 | 22 | |||
1097 | 23 | use test; | ||
1098 | 24 | create temporary table t1(id int); | ||
1099 | 25 | create temporary table t2(id int); | ||
1100 | 26 | create temporary table showtemp.t3(id int); | ||
1101 | 27 | insert into t1 values(10),(20),(30),(40); | ||
1102 | 28 | insert into showtemp.t3 values(999); | ||
1103 | 29 | |||
1104 | 30 | show temporary tables; | ||
1105 | 31 | # "Session" is not same value always. mysql-test cannot test it always. | ||
1106 | 32 | #show global temporary tables; | ||
1107 | 33 | show temporary tables from test; | ||
1108 | 34 | show temporary tables in showtemp; | ||
1109 | 35 | select table_schema, table_name, engine, table_rows from Information_schema.temporary_tables; | ||
1110 | 36 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables; | ||
1111 | 37 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables where table_schema='showtemp'; | ||
1112 | 38 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables where table_schema='temp'; | ||
1113 | 39 | |||
1114 | 40 | connection stcon2; | ||
1115 | 41 | |||
1116 | 42 | --disable_warnings | ||
1117 | 43 | drop table if exists showtemp.t2; | ||
1118 | 44 | --enable_warnings | ||
1119 | 45 | create temporary table t1(id int); | ||
1120 | 46 | create temporary table showtemp.t2(id int); | ||
1121 | 47 | show temporary tables; | ||
1122 | 48 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables; | ||
1123 | 49 | drop table showtemp.t2; | ||
1124 | 50 | drop table t1; | ||
1125 | 51 | |||
1126 | 52 | disconnect stcon2; | ||
1127 | 53 | |||
1128 | 54 | connection stcon1; | ||
1129 | 55 | select table_schema, table_name, engine, table_rows from Information_schema.global_temporary_tables; | ||
1130 | 56 | |||
1131 | 57 | drop table t1, t2; | ||
1132 | 58 | drop table showtemp.t3; | ||
1133 | 59 | drop database showtemp; | ||
1134 | 60 | |||
1135 | 61 | connection default; | ||
1136 | 62 | disconnect stcon1; | ||
1137 | 63 | |||
1138 | 64 | # Wait till all disconnects are completed | ||
1139 | 65 | --source include/wait_until_count_sessions.inc | ||
1140 | 66 | 0 | ||
1141 | === removed file 'mysql-test/percona_xtradb_admin_command.result' | |||
1142 | --- mysql-test/percona_xtradb_admin_command.result 2010-05-20 10:47:38 +0000 | |||
1143 | +++ mysql-test/percona_xtradb_admin_command.result 1970-01-01 00:00:00 +0000 | |||
1144 | @@ -1,6 +0,0 @@ | |||
1145 | 1 | select * from information_schema.XTRADB_ADMIN_COMMAND; | ||
1146 | 2 | result_message | ||
1147 | 3 | No XTRA_* command in the SQL statement. Please add /*!XTRA_xxxx*/ to the SQL. | ||
1148 | 4 | select * from information_schema.XTRADB_ADMIN_COMMAND /*!XTRA_HELLO*/; | ||
1149 | 5 | result_message | ||
1150 | 6 | Hello! | ||
1151 | 7 | 0 | ||
1152 | === removed file 'mysql-test/percona_xtradb_admin_command.test' | |||
1153 | --- mysql-test/percona_xtradb_admin_command.test 2010-05-20 10:47:38 +0000 | |||
1154 | +++ mysql-test/percona_xtradb_admin_command.test 1970-01-01 00:00:00 +0000 | |||
1155 | @@ -1,3 +0,0 @@ | |||
1156 | 1 | --source include/have_innodb.inc | ||
1157 | 2 | select * from information_schema.XTRADB_ADMIN_COMMAND; | ||
1158 | 3 | select * from information_schema.XTRADB_ADMIN_COMMAND /*!XTRA_HELLO*/; | ||
1159 | 4 | 0 | ||
1160 | === removed file 'mysql-test/percona_xtradb_bug317074.result' | |||
1161 | --- mysql-test/percona_xtradb_bug317074.result 2010-05-20 10:47:38 +0000 | |||
1162 | +++ mysql-test/percona_xtradb_bug317074.result 1970-01-01 00:00:00 +0000 | |||
1163 | @@ -1,4 +0,0 @@ | |||
1164 | 1 | SET @old_innodb_file_format=@@innodb_file_format; | ||
1165 | 2 | SET @old_innodb_file_per_table=@@innodb_file_per_table; | ||
1166 | 3 | SET GLOBAL innodb_file_format='Barracuda'; | ||
1167 | 4 | SET GLOBAL innodb_file_per_table=ON; | ||
1168 | 5 | 0 | ||
1169 | === removed file 'mysql-test/percona_xtradb_bug317074.test' | |||
1170 | --- mysql-test/percona_xtradb_bug317074.test 2010-06-16 09:40:57 +0000 | |||
1171 | +++ mysql-test/percona_xtradb_bug317074.test 1970-01-01 00:00:00 +0000 | |||
1172 | @@ -1,47 +0,0 @@ | |||
1173 | 1 | -- source include/have_innodb.inc | ||
1174 | 2 | |||
1175 | 3 | SET @old_innodb_file_format=@@innodb_file_format; | ||
1176 | 4 | SET @old_innodb_file_per_table=@@innodb_file_per_table; | ||
1177 | 5 | let $innodb_file_format_check_orig=`select @@innodb_file_format_check`; | ||
1178 | 6 | SET GLOBAL innodb_file_format='Barracuda'; | ||
1179 | 7 | SET GLOBAL innodb_file_per_table=ON; | ||
1180 | 8 | |||
1181 | 9 | -- disable_query_log | ||
1182 | 10 | -- disable_result_log | ||
1183 | 11 | |||
1184 | 12 | DROP TABLE IF EXISTS `test1`; | ||
1185 | 13 | CREATE TABLE IF NOT EXISTS `test1` ( | ||
1186 | 14 | `a` int primary key auto_increment, | ||
1187 | 15 | `b` int default 0, | ||
1188 | 16 | `c` char(100) default 'testtest' | ||
1189 | 17 | ) ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8; | ||
1190 | 18 | |||
1191 | 19 | delimiter |; | ||
1192 | 20 | CREATE PROCEDURE insert_many(p1 int) | ||
1193 | 21 | BEGIN | ||
1194 | 22 | SET @x = 0; | ||
1195 | 23 | SET @y = 0; | ||
1196 | 24 | start transaction; | ||
1197 | 25 | REPEAT | ||
1198 | 26 | insert into test1 set b=1; | ||
1199 | 27 | SET @x = @x + 1; | ||
1200 | 28 | SET @y = @y + 1; | ||
1201 | 29 | IF @y >= 1000 THEN | ||
1202 | 30 | commit; | ||
1203 | 31 | start transaction; | ||
1204 | 32 | SET @y = 0; | ||
1205 | 33 | END IF; | ||
1206 | 34 | UNTIL @x >= p1 END REPEAT; | ||
1207 | 35 | commit; | ||
1208 | 36 | END| | ||
1209 | 37 | delimiter ;| | ||
1210 | 38 | call insert_many(100000); | ||
1211 | 39 | DROP PROCEDURE insert_many; | ||
1212 | 40 | |||
1213 | 41 | # The bug is hangup at the following statement | ||
1214 | 42 | ALTER TABLE test1 ENGINE=MyISAM; | ||
1215 | 43 | |||
1216 | 44 | DROP TABLE test1; | ||
1217 | 45 | SET GLOBAL innodb_file_format=@old_innodb_file_format; | ||
1218 | 46 | SET GLOBAL innodb_file_per_table=@old_innodb_file_per_table; | ||
1219 | 47 | eval set global innodb_file_format_check=$innodb_file_format_check_orig; | ||
1220 | 48 | 0 | ||
1221 | === removed directory 'mysql-test/query_cache_enhance.patch' | |||
1222 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc' | |||
1223 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc 2010-11-05 11:51:45 +0000 | |||
1224 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc 1970-01-01 00:00:00 +0000 | |||
1225 | @@ -1,95 +0,0 @@ | |||
1226 | 1 | --source include/percona_query_cache_with_comments_clear.inc | ||
1227 | 2 | let $query=/* with comment first */select * from t1; | ||
1228 | 3 | eval $query; | ||
1229 | 4 | --source include/percona_query_cache_with_comments_eval.inc | ||
1230 | 5 | |||
1231 | 6 | let $query=# with comment first | ||
1232 | 7 | select * from t1; | ||
1233 | 8 | --source include/percona_query_cache_with_comments_eval.inc | ||
1234 | 9 | |||
1235 | 10 | let $query=-- with comment first | ||
1236 | 11 | select * from t1; | ||
1237 | 12 | --source include/percona_query_cache_with_comments_eval.inc | ||
1238 | 13 | |||
1239 | 14 | let $query=/* with comment first and "quote" */select * from t1; | ||
1240 | 15 | --source include/percona_query_cache_with_comments_eval.inc | ||
1241 | 16 | |||
1242 | 17 | let $query=# with comment first and "quote" | ||
1243 | 18 | select * from t1; | ||
1244 | 19 | --source include/percona_query_cache_with_comments_eval.inc | ||
1245 | 20 | |||
1246 | 21 | let $query=-- with comment first and "quote" | ||
1247 | 22 | select * from t1; | ||
1248 | 23 | --source include/percona_query_cache_with_comments_eval.inc | ||
1249 | 24 | |||
1250 | 25 | let $query= | ||
1251 | 26 | /* with comment and whitespaces first */select * from t1; | ||
1252 | 27 | --source include/percona_query_cache_with_comments_eval.inc | ||
1253 | 28 | |||
1254 | 29 | let $query= | ||
1255 | 30 | # with comment and whitespaces first | ||
1256 | 31 | select * from t1; | ||
1257 | 32 | --source include/percona_query_cache_with_comments_eval.inc | ||
1258 | 33 | |||
1259 | 34 | let $query= | ||
1260 | 35 | -- with comment and whitespaces first | ||
1261 | 36 | select * from t1; | ||
1262 | 37 | --source include/percona_query_cache_with_comments_eval.inc | ||
1263 | 38 | |||
1264 | 39 | let $internal=* internal comment *; | ||
1265 | 40 | |||
1266 | 41 | let $query=select * /$internal/ from t1; | ||
1267 | 42 | --source include/percona_query_cache_with_comments_eval.inc | ||
1268 | 43 | let $query=select */$internal/ from t1; | ||
1269 | 44 | --source include/percona_query_cache_with_comments_eval.inc | ||
1270 | 45 | let $query=select */$internal/from t1; | ||
1271 | 46 | --source include/percona_query_cache_with_comments_eval.inc | ||
1272 | 47 | |||
1273 | 48 | let $internal=* internal comment with "quote" *; | ||
1274 | 49 | |||
1275 | 50 | let $query=select * /$internal/ from t1; | ||
1276 | 51 | --source include/percona_query_cache_with_comments_eval.inc | ||
1277 | 52 | let $query=select */$internal/ from t1; | ||
1278 | 53 | --source include/percona_query_cache_with_comments_eval.inc | ||
1279 | 54 | let $query=select */$internal/from t1; | ||
1280 | 55 | --source include/percona_query_cache_with_comments_eval.inc | ||
1281 | 56 | |||
1282 | 57 | let $query=select * from t1 | ||
1283 | 58 | ; | ||
1284 | 59 | --source include/percona_query_cache_with_comments_eval.inc | ||
1285 | 60 | |||
1286 | 61 | let $query=select * from t1 ; | ||
1287 | 62 | --source include/percona_query_cache_with_comments_eval.inc | ||
1288 | 63 | |||
1289 | 64 | let $query=select * from t1 ; | ||
1290 | 65 | --source include/percona_query_cache_with_comments_eval.inc | ||
1291 | 66 | |||
1292 | 67 | let $query=select * from t1 | ||
1293 | 68 | /* comment in the end */; | ||
1294 | 69 | --source include/percona_query_cache_with_comments_eval.inc | ||
1295 | 70 | |||
1296 | 71 | let $query=select * from t1 | ||
1297 | 72 | /* *\/ */; | ||
1298 | 73 | --source include/percona_query_cache_with_comments_eval.inc | ||
1299 | 74 | |||
1300 | 75 | let $query=select * from t1 | ||
1301 | 76 | /* comment in the end */ | ||
1302 | 77 | ; | ||
1303 | 78 | --source include/percona_query_cache_with_comments_eval.inc | ||
1304 | 79 | |||
1305 | 80 | let $query=select * from t1 #comment in the end; | ||
1306 | 81 | --source include/percona_query_cache_with_comments_eval.inc | ||
1307 | 82 | |||
1308 | 83 | let $query=select * from t1 #comment in the end | ||
1309 | 84 | ; | ||
1310 | 85 | --source include/percona_query_cache_with_comments_eval.inc | ||
1311 | 86 | |||
1312 | 87 | let $query=select * from t1 -- comment in the end; | ||
1313 | 88 | --source include/percona_query_cache_with_comments_eval.inc | ||
1314 | 89 | |||
1315 | 90 | let $query=select * from t1 -- comment in the end | ||
1316 | 91 | ; | ||
1317 | 92 | --source include/percona_query_cache_with_comments_eval.inc | ||
1318 | 93 | |||
1319 | 94 | let $query=select ' \' ' from t1; | ||
1320 | 95 | --source include/percona_query_cache_with_comments_eval.inc | ||
1321 | 96 | 0 | ||
1322 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc.backup' | |||
1323 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc.backup 2010-11-05 11:51:45 +0000 | |||
1324 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.inc.backup 1970-01-01 00:00:00 +0000 | |||
1325 | @@ -1,88 +0,0 @@ | |||
1326 | 1 | --source include/percona_query_cache_with_comments_clear.inc | ||
1327 | 2 | let $query=/* with comment first */select * from t1; | ||
1328 | 3 | eval $query; | ||
1329 | 4 | --source include/percona_query_cache_with_comments_eval.inc | ||
1330 | 5 | |||
1331 | 6 | let $query=# with comment first | ||
1332 | 7 | select * from t1; | ||
1333 | 8 | --source include/percona_query_cache_with_comments_eval.inc | ||
1334 | 9 | |||
1335 | 10 | let $query=-- with comment first | ||
1336 | 11 | select * from t1; | ||
1337 | 12 | --source include/percona_query_cache_with_comments_eval.inc | ||
1338 | 13 | |||
1339 | 14 | let $query=/* with comment first and "quote" */select * from t1; | ||
1340 | 15 | --source include/percona_query_cache_with_comments_eval.inc | ||
1341 | 16 | |||
1342 | 17 | let $query=# with comment first and "quote" | ||
1343 | 18 | select * from t1; | ||
1344 | 19 | --source include/percona_query_cache_with_comments_eval.inc | ||
1345 | 20 | |||
1346 | 21 | let $query=-- with comment first and "quote" | ||
1347 | 22 | select * from t1; | ||
1348 | 23 | --source include/percona_query_cache_with_comments_eval.inc | ||
1349 | 24 | |||
1350 | 25 | let $query= | ||
1351 | 26 | /* with comment and whitespaces first */select * from t1; | ||
1352 | 27 | --source include/percona_query_cache_with_comments_eval.inc | ||
1353 | 28 | |||
1354 | 29 | let $query= | ||
1355 | 30 | # with comment and whitespaces first | ||
1356 | 31 | select * from t1; | ||
1357 | 32 | --source include/percona_query_cache_with_comments_eval.inc | ||
1358 | 33 | |||
1359 | 34 | let $query= | ||
1360 | 35 | -- with comment and whitespaces first | ||
1361 | 36 | select * from t1; | ||
1362 | 37 | --source include/percona_query_cache_with_comments_eval.inc | ||
1363 | 38 | |||
1364 | 39 | let $internal=* internal comment *; | ||
1365 | 40 | |||
1366 | 41 | let $query=select * /$internal/ from t1; | ||
1367 | 42 | --source include/percona_query_cache_with_comments_eval.inc | ||
1368 | 43 | let $query=select */$internal/ from t1; | ||
1369 | 44 | --source include/percona_query_cache_with_comments_eval.inc | ||
1370 | 45 | let $query=select */$internal/from t1; | ||
1371 | 46 | --source include/percona_query_cache_with_comments_eval.inc | ||
1372 | 47 | |||
1373 | 48 | let $internal=* internal comment with "quote" *; | ||
1374 | 49 | |||
1375 | 50 | let $query=select * /$internal/ from t1; | ||
1376 | 51 | --source include/percona_query_cache_with_comments_eval.inc | ||
1377 | 52 | let $query=select */$internal/ from t1; | ||
1378 | 53 | --source include/percona_query_cache_with_comments_eval.inc | ||
1379 | 54 | let $query=select */$internal/from t1; | ||
1380 | 55 | --source include/percona_query_cache_with_comments_eval.inc | ||
1381 | 56 | |||
1382 | 57 | let $query=select * from t1 | ||
1383 | 58 | ; | ||
1384 | 59 | --source include/percona_query_cache_with_comments_eval.inc | ||
1385 | 60 | |||
1386 | 61 | let $query=select * from t1 ; | ||
1387 | 62 | --source include/percona_query_cache_with_comments_eval.inc | ||
1388 | 63 | |||
1389 | 64 | let $query=select * from t1 ; | ||
1390 | 65 | --source include/percona_query_cache_with_comments_eval.inc | ||
1391 | 66 | |||
1392 | 67 | let $query=select * from t1 | ||
1393 | 68 | /* comment in the end */; | ||
1394 | 69 | --source include/percona_query_cache_with_comments_eval.inc | ||
1395 | 70 | |||
1396 | 71 | let $query=select * from t1 | ||
1397 | 72 | /* comment in the end */ | ||
1398 | 73 | ; | ||
1399 | 74 | --source include/percona_query_cache_with_comments_eval.inc | ||
1400 | 75 | |||
1401 | 76 | let $query=select * from t1 #comment in the end; | ||
1402 | 77 | --source include/percona_query_cache_with_comments_eval.inc | ||
1403 | 78 | |||
1404 | 79 | let $query=select * from t1 #comment in the end | ||
1405 | 80 | ; | ||
1406 | 81 | --source include/percona_query_cache_with_comments_eval.inc | ||
1407 | 82 | |||
1408 | 83 | let $query=select * from t1 -- comment in the end; | ||
1409 | 84 | --source include/percona_query_cache_with_comments_eval.inc | ||
1410 | 85 | |||
1411 | 86 | let $query=select * from t1 -- comment in the end | ||
1412 | 87 | ; | ||
1413 | 88 | --source include/percona_query_cache_with_comments_eval.inc | ||
1414 | 89 | 0 | ||
1415 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.result' | |||
1416 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.result 2010-11-05 11:51:45 +0000 | |||
1417 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.result 1970-01-01 00:00:00 +0000 | |||
1418 | @@ -1,866 +0,0 @@ | |||
1419 | 1 | set global query_cache_strip_comments=ON; | ||
1420 | 2 | set GLOBAL query_cache_size=1355776; | ||
1421 | 3 | drop table if exists t1; | ||
1422 | 4 | create table t1 (a int not null); | ||
1423 | 5 | insert into t1 values (1),(2),(3); | ||
1424 | 6 | flush query cache; | ||
1425 | 7 | flush query cache; | ||
1426 | 8 | reset query cache; | ||
1427 | 9 | flush status; | ||
1428 | 10 | flush query cache; | ||
1429 | 11 | flush query cache; | ||
1430 | 12 | reset query cache; | ||
1431 | 13 | flush status; | ||
1432 | 14 | /* with comment first */select * from t1; | ||
1433 | 15 | a | ||
1434 | 16 | 1 | ||
1435 | 17 | 2 | ||
1436 | 18 | 3 | ||
1437 | 19 | ----------------------------------------------------- | ||
1438 | 20 | /* with comment first */select * from t1 | ||
1439 | 21 | ----------------------------------------------------- | ||
1440 | 22 | show status like "Qcache_queries_in_cache"; | ||
1441 | 23 | Variable_name Value | ||
1442 | 24 | Qcache_queries_in_cache 1 | ||
1443 | 25 | show status like "Qcache_inserts"; | ||
1444 | 26 | Variable_name Value | ||
1445 | 27 | Qcache_inserts 1 | ||
1446 | 28 | show status like "Qcache_hits"; | ||
1447 | 29 | Variable_name Value | ||
1448 | 30 | Qcache_hits 0 | ||
1449 | 31 | /* with comment first */select * from t1; | ||
1450 | 32 | a | ||
1451 | 33 | 1 | ||
1452 | 34 | 2 | ||
1453 | 35 | 3 | ||
1454 | 36 | /* with comment first */select * from t1; | ||
1455 | 37 | a | ||
1456 | 38 | 1 | ||
1457 | 39 | 2 | ||
1458 | 40 | 3 | ||
1459 | 41 | show status like "Qcache_queries_in_cache"; | ||
1460 | 42 | Variable_name Value | ||
1461 | 43 | Qcache_queries_in_cache 1 | ||
1462 | 44 | show status like "Qcache_inserts"; | ||
1463 | 45 | Variable_name Value | ||
1464 | 46 | Qcache_inserts 1 | ||
1465 | 47 | show status like "Qcache_hits"; | ||
1466 | 48 | Variable_name Value | ||
1467 | 49 | Qcache_hits 2 | ||
1468 | 50 | ----------------------------------------------------- | ||
1469 | 51 | # with comment first | ||
1470 | 52 | select * from t1 | ||
1471 | 53 | ----------------------------------------------------- | ||
1472 | 54 | show status like "Qcache_queries_in_cache"; | ||
1473 | 55 | Variable_name Value | ||
1474 | 56 | Qcache_queries_in_cache 1 | ||
1475 | 57 | show status like "Qcache_inserts"; | ||
1476 | 58 | Variable_name Value | ||
1477 | 59 | Qcache_inserts 1 | ||
1478 | 60 | show status like "Qcache_hits"; | ||
1479 | 61 | Variable_name Value | ||
1480 | 62 | Qcache_hits 2 | ||
1481 | 63 | # with comment first | ||
1482 | 64 | select * from t1; | ||
1483 | 65 | a | ||
1484 | 66 | 1 | ||
1485 | 67 | 2 | ||
1486 | 68 | 3 | ||
1487 | 69 | # with comment first | ||
1488 | 70 | select * from t1; | ||
1489 | 71 | a | ||
1490 | 72 | 1 | ||
1491 | 73 | 2 | ||
1492 | 74 | 3 | ||
1493 | 75 | show status like "Qcache_queries_in_cache"; | ||
1494 | 76 | Variable_name Value | ||
1495 | 77 | Qcache_queries_in_cache 1 | ||
1496 | 78 | show status like "Qcache_inserts"; | ||
1497 | 79 | Variable_name Value | ||
1498 | 80 | Qcache_inserts 1 | ||
1499 | 81 | show status like "Qcache_hits"; | ||
1500 | 82 | Variable_name Value | ||
1501 | 83 | Qcache_hits 4 | ||
1502 | 84 | ----------------------------------------------------- | ||
1503 | 85 | -- with comment first | ||
1504 | 86 | select * from t1 | ||
1505 | 87 | ----------------------------------------------------- | ||
1506 | 88 | show status like "Qcache_queries_in_cache"; | ||
1507 | 89 | Variable_name Value | ||
1508 | 90 | Qcache_queries_in_cache 1 | ||
1509 | 91 | show status like "Qcache_inserts"; | ||
1510 | 92 | Variable_name Value | ||
1511 | 93 | Qcache_inserts 1 | ||
1512 | 94 | show status like "Qcache_hits"; | ||
1513 | 95 | Variable_name Value | ||
1514 | 96 | Qcache_hits 4 | ||
1515 | 97 | -- with comment first | ||
1516 | 98 | select * from t1; | ||
1517 | 99 | a | ||
1518 | 100 | 1 | ||
1519 | 101 | 2 | ||
1520 | 102 | 3 | ||
1521 | 103 | -- with comment first | ||
1522 | 104 | select * from t1; | ||
1523 | 105 | a | ||
1524 | 106 | 1 | ||
1525 | 107 | 2 | ||
1526 | 108 | 3 | ||
1527 | 109 | show status like "Qcache_queries_in_cache"; | ||
1528 | 110 | Variable_name Value | ||
1529 | 111 | Qcache_queries_in_cache 1 | ||
1530 | 112 | show status like "Qcache_inserts"; | ||
1531 | 113 | Variable_name Value | ||
1532 | 114 | Qcache_inserts 1 | ||
1533 | 115 | show status like "Qcache_hits"; | ||
1534 | 116 | Variable_name Value | ||
1535 | 117 | Qcache_hits 6 | ||
1536 | 118 | ----------------------------------------------------- | ||
1537 | 119 | /* with comment first and "quote" */select * from t1 | ||
1538 | 120 | ----------------------------------------------------- | ||
1539 | 121 | show status like "Qcache_queries_in_cache"; | ||
1540 | 122 | Variable_name Value | ||
1541 | 123 | Qcache_queries_in_cache 1 | ||
1542 | 124 | show status like "Qcache_inserts"; | ||
1543 | 125 | Variable_name Value | ||
1544 | 126 | Qcache_inserts 1 | ||
1545 | 127 | show status like "Qcache_hits"; | ||
1546 | 128 | Variable_name Value | ||
1547 | 129 | Qcache_hits 6 | ||
1548 | 130 | /* with comment first and "quote" */select * from t1; | ||
1549 | 131 | a | ||
1550 | 132 | 1 | ||
1551 | 133 | 2 | ||
1552 | 134 | 3 | ||
1553 | 135 | /* with comment first and "quote" */select * from t1; | ||
1554 | 136 | a | ||
1555 | 137 | 1 | ||
1556 | 138 | 2 | ||
1557 | 139 | 3 | ||
1558 | 140 | show status like "Qcache_queries_in_cache"; | ||
1559 | 141 | Variable_name Value | ||
1560 | 142 | Qcache_queries_in_cache 1 | ||
1561 | 143 | show status like "Qcache_inserts"; | ||
1562 | 144 | Variable_name Value | ||
1563 | 145 | Qcache_inserts 1 | ||
1564 | 146 | show status like "Qcache_hits"; | ||
1565 | 147 | Variable_name Value | ||
1566 | 148 | Qcache_hits 8 | ||
1567 | 149 | ----------------------------------------------------- | ||
1568 | 150 | # with comment first and "quote" | ||
1569 | 151 | select * from t1 | ||
1570 | 152 | ----------------------------------------------------- | ||
1571 | 153 | show status like "Qcache_queries_in_cache"; | ||
1572 | 154 | Variable_name Value | ||
1573 | 155 | Qcache_queries_in_cache 1 | ||
1574 | 156 | show status like "Qcache_inserts"; | ||
1575 | 157 | Variable_name Value | ||
1576 | 158 | Qcache_inserts 1 | ||
1577 | 159 | show status like "Qcache_hits"; | ||
1578 | 160 | Variable_name Value | ||
1579 | 161 | Qcache_hits 8 | ||
1580 | 162 | # with comment first and "quote" | ||
1581 | 163 | select * from t1; | ||
1582 | 164 | a | ||
1583 | 165 | 1 | ||
1584 | 166 | 2 | ||
1585 | 167 | 3 | ||
1586 | 168 | # with comment first and "quote" | ||
1587 | 169 | select * from t1; | ||
1588 | 170 | a | ||
1589 | 171 | 1 | ||
1590 | 172 | 2 | ||
1591 | 173 | 3 | ||
1592 | 174 | show status like "Qcache_queries_in_cache"; | ||
1593 | 175 | Variable_name Value | ||
1594 | 176 | Qcache_queries_in_cache 1 | ||
1595 | 177 | show status like "Qcache_inserts"; | ||
1596 | 178 | Variable_name Value | ||
1597 | 179 | Qcache_inserts 1 | ||
1598 | 180 | show status like "Qcache_hits"; | ||
1599 | 181 | Variable_name Value | ||
1600 | 182 | Qcache_hits 10 | ||
1601 | 183 | ----------------------------------------------------- | ||
1602 | 184 | -- with comment first and "quote" | ||
1603 | 185 | select * from t1 | ||
1604 | 186 | ----------------------------------------------------- | ||
1605 | 187 | show status like "Qcache_queries_in_cache"; | ||
1606 | 188 | Variable_name Value | ||
1607 | 189 | Qcache_queries_in_cache 1 | ||
1608 | 190 | show status like "Qcache_inserts"; | ||
1609 | 191 | Variable_name Value | ||
1610 | 192 | Qcache_inserts 1 | ||
1611 | 193 | show status like "Qcache_hits"; | ||
1612 | 194 | Variable_name Value | ||
1613 | 195 | Qcache_hits 10 | ||
1614 | 196 | -- with comment first and "quote" | ||
1615 | 197 | select * from t1; | ||
1616 | 198 | a | ||
1617 | 199 | 1 | ||
1618 | 200 | 2 | ||
1619 | 201 | 3 | ||
1620 | 202 | -- with comment first and "quote" | ||
1621 | 203 | select * from t1; | ||
1622 | 204 | a | ||
1623 | 205 | 1 | ||
1624 | 206 | 2 | ||
1625 | 207 | 3 | ||
1626 | 208 | show status like "Qcache_queries_in_cache"; | ||
1627 | 209 | Variable_name Value | ||
1628 | 210 | Qcache_queries_in_cache 1 | ||
1629 | 211 | show status like "Qcache_inserts"; | ||
1630 | 212 | Variable_name Value | ||
1631 | 213 | Qcache_inserts 1 | ||
1632 | 214 | show status like "Qcache_hits"; | ||
1633 | 215 | Variable_name Value | ||
1634 | 216 | Qcache_hits 12 | ||
1635 | 217 | ----------------------------------------------------- | ||
1636 | 218 | /* with comment and whitespaces first */select * from t1 | ||
1637 | 219 | ----------------------------------------------------- | ||
1638 | 220 | show status like "Qcache_queries_in_cache"; | ||
1639 | 221 | Variable_name Value | ||
1640 | 222 | Qcache_queries_in_cache 1 | ||
1641 | 223 | show status like "Qcache_inserts"; | ||
1642 | 224 | Variable_name Value | ||
1643 | 225 | Qcache_inserts 1 | ||
1644 | 226 | show status like "Qcache_hits"; | ||
1645 | 227 | Variable_name Value | ||
1646 | 228 | Qcache_hits 12 | ||
1647 | 229 | /* with comment and whitespaces first */select * from t1; | ||
1648 | 230 | a | ||
1649 | 231 | 1 | ||
1650 | 232 | 2 | ||
1651 | 233 | 3 | ||
1652 | 234 | /* with comment and whitespaces first */select * from t1; | ||
1653 | 235 | a | ||
1654 | 236 | 1 | ||
1655 | 237 | 2 | ||
1656 | 238 | 3 | ||
1657 | 239 | show status like "Qcache_queries_in_cache"; | ||
1658 | 240 | Variable_name Value | ||
1659 | 241 | Qcache_queries_in_cache 1 | ||
1660 | 242 | show status like "Qcache_inserts"; | ||
1661 | 243 | Variable_name Value | ||
1662 | 244 | Qcache_inserts 1 | ||
1663 | 245 | show status like "Qcache_hits"; | ||
1664 | 246 | Variable_name Value | ||
1665 | 247 | Qcache_hits 14 | ||
1666 | 248 | ----------------------------------------------------- | ||
1667 | 249 | # with comment and whitespaces first | ||
1668 | 250 | select * from t1 | ||
1669 | 251 | ----------------------------------------------------- | ||
1670 | 252 | show status like "Qcache_queries_in_cache"; | ||
1671 | 253 | Variable_name Value | ||
1672 | 254 | Qcache_queries_in_cache 1 | ||
1673 | 255 | show status like "Qcache_inserts"; | ||
1674 | 256 | Variable_name Value | ||
1675 | 257 | Qcache_inserts 1 | ||
1676 | 258 | show status like "Qcache_hits"; | ||
1677 | 259 | Variable_name Value | ||
1678 | 260 | Qcache_hits 14 | ||
1679 | 261 | # with comment and whitespaces first | ||
1680 | 262 | select * from t1; | ||
1681 | 263 | a | ||
1682 | 264 | 1 | ||
1683 | 265 | 2 | ||
1684 | 266 | 3 | ||
1685 | 267 | # with comment and whitespaces first | ||
1686 | 268 | select * from t1; | ||
1687 | 269 | a | ||
1688 | 270 | 1 | ||
1689 | 271 | 2 | ||
1690 | 272 | 3 | ||
1691 | 273 | show status like "Qcache_queries_in_cache"; | ||
1692 | 274 | Variable_name Value | ||
1693 | 275 | Qcache_queries_in_cache 1 | ||
1694 | 276 | show status like "Qcache_inserts"; | ||
1695 | 277 | Variable_name Value | ||
1696 | 278 | Qcache_inserts 1 | ||
1697 | 279 | show status like "Qcache_hits"; | ||
1698 | 280 | Variable_name Value | ||
1699 | 281 | Qcache_hits 16 | ||
1700 | 282 | ----------------------------------------------------- | ||
1701 | 283 | -- with comment and whitespaces first | ||
1702 | 284 | select * from t1 | ||
1703 | 285 | ----------------------------------------------------- | ||
1704 | 286 | show status like "Qcache_queries_in_cache"; | ||
1705 | 287 | Variable_name Value | ||
1706 | 288 | Qcache_queries_in_cache 1 | ||
1707 | 289 | show status like "Qcache_inserts"; | ||
1708 | 290 | Variable_name Value | ||
1709 | 291 | Qcache_inserts 1 | ||
1710 | 292 | show status like "Qcache_hits"; | ||
1711 | 293 | Variable_name Value | ||
1712 | 294 | Qcache_hits 16 | ||
1713 | 295 | -- with comment and whitespaces first | ||
1714 | 296 | select * from t1; | ||
1715 | 297 | a | ||
1716 | 298 | 1 | ||
1717 | 299 | 2 | ||
1718 | 300 | 3 | ||
1719 | 301 | -- with comment and whitespaces first | ||
1720 | 302 | select * from t1; | ||
1721 | 303 | a | ||
1722 | 304 | 1 | ||
1723 | 305 | 2 | ||
1724 | 306 | 3 | ||
1725 | 307 | show status like "Qcache_queries_in_cache"; | ||
1726 | 308 | Variable_name Value | ||
1727 | 309 | Qcache_queries_in_cache 1 | ||
1728 | 310 | show status like "Qcache_inserts"; | ||
1729 | 311 | Variable_name Value | ||
1730 | 312 | Qcache_inserts 1 | ||
1731 | 313 | show status like "Qcache_hits"; | ||
1732 | 314 | Variable_name Value | ||
1733 | 315 | Qcache_hits 18 | ||
1734 | 316 | ----------------------------------------------------- | ||
1735 | 317 | select * /* internal comment */ from t1 | ||
1736 | 318 | ----------------------------------------------------- | ||
1737 | 319 | show status like "Qcache_queries_in_cache"; | ||
1738 | 320 | Variable_name Value | ||
1739 | 321 | Qcache_queries_in_cache 1 | ||
1740 | 322 | show status like "Qcache_inserts"; | ||
1741 | 323 | Variable_name Value | ||
1742 | 324 | Qcache_inserts 1 | ||
1743 | 325 | show status like "Qcache_hits"; | ||
1744 | 326 | Variable_name Value | ||
1745 | 327 | Qcache_hits 18 | ||
1746 | 328 | select * /* internal comment */ from t1; | ||
1747 | 329 | a | ||
1748 | 330 | 1 | ||
1749 | 331 | 2 | ||
1750 | 332 | 3 | ||
1751 | 333 | select * /* internal comment */ from t1; | ||
1752 | 334 | a | ||
1753 | 335 | 1 | ||
1754 | 336 | 2 | ||
1755 | 337 | 3 | ||
1756 | 338 | show status like "Qcache_queries_in_cache"; | ||
1757 | 339 | Variable_name Value | ||
1758 | 340 | Qcache_queries_in_cache 1 | ||
1759 | 341 | show status like "Qcache_inserts"; | ||
1760 | 342 | Variable_name Value | ||
1761 | 343 | Qcache_inserts 1 | ||
1762 | 344 | show status like "Qcache_hits"; | ||
1763 | 345 | Variable_name Value | ||
1764 | 346 | Qcache_hits 20 | ||
1765 | 347 | ----------------------------------------------------- | ||
1766 | 348 | select */* internal comment */ from t1 | ||
1767 | 349 | ----------------------------------------------------- | ||
1768 | 350 | show status like "Qcache_queries_in_cache"; | ||
1769 | 351 | Variable_name Value | ||
1770 | 352 | Qcache_queries_in_cache 1 | ||
1771 | 353 | show status like "Qcache_inserts"; | ||
1772 | 354 | Variable_name Value | ||
1773 | 355 | Qcache_inserts 1 | ||
1774 | 356 | show status like "Qcache_hits"; | ||
1775 | 357 | Variable_name Value | ||
1776 | 358 | Qcache_hits 20 | ||
1777 | 359 | select */* internal comment */ from t1; | ||
1778 | 360 | a | ||
1779 | 361 | 1 | ||
1780 | 362 | 2 | ||
1781 | 363 | 3 | ||
1782 | 364 | select */* internal comment */ from t1; | ||
1783 | 365 | a | ||
1784 | 366 | 1 | ||
1785 | 367 | 2 | ||
1786 | 368 | 3 | ||
1787 | 369 | show status like "Qcache_queries_in_cache"; | ||
1788 | 370 | Variable_name Value | ||
1789 | 371 | Qcache_queries_in_cache 1 | ||
1790 | 372 | show status like "Qcache_inserts"; | ||
1791 | 373 | Variable_name Value | ||
1792 | 374 | Qcache_inserts 1 | ||
1793 | 375 | show status like "Qcache_hits"; | ||
1794 | 376 | Variable_name Value | ||
1795 | 377 | Qcache_hits 22 | ||
1796 | 378 | ----------------------------------------------------- | ||
1797 | 379 | select */* internal comment */from t1 | ||
1798 | 380 | ----------------------------------------------------- | ||
1799 | 381 | show status like "Qcache_queries_in_cache"; | ||
1800 | 382 | Variable_name Value | ||
1801 | 383 | Qcache_queries_in_cache 1 | ||
1802 | 384 | show status like "Qcache_inserts"; | ||
1803 | 385 | Variable_name Value | ||
1804 | 386 | Qcache_inserts 1 | ||
1805 | 387 | show status like "Qcache_hits"; | ||
1806 | 388 | Variable_name Value | ||
1807 | 389 | Qcache_hits 22 | ||
1808 | 390 | select */* internal comment */from t1; | ||
1809 | 391 | a | ||
1810 | 392 | 1 | ||
1811 | 393 | 2 | ||
1812 | 394 | 3 | ||
1813 | 395 | select */* internal comment */from t1; | ||
1814 | 396 | a | ||
1815 | 397 | 1 | ||
1816 | 398 | 2 | ||
1817 | 399 | 3 | ||
1818 | 400 | show status like "Qcache_queries_in_cache"; | ||
1819 | 401 | Variable_name Value | ||
1820 | 402 | Qcache_queries_in_cache 1 | ||
1821 | 403 | show status like "Qcache_inserts"; | ||
1822 | 404 | Variable_name Value | ||
1823 | 405 | Qcache_inserts 1 | ||
1824 | 406 | show status like "Qcache_hits"; | ||
1825 | 407 | Variable_name Value | ||
1826 | 408 | Qcache_hits 24 | ||
1827 | 409 | ----------------------------------------------------- | ||
1828 | 410 | select * /* internal comment with "quote" */ from t1 | ||
1829 | 411 | ----------------------------------------------------- | ||
1830 | 412 | show status like "Qcache_queries_in_cache"; | ||
1831 | 413 | Variable_name Value | ||
1832 | 414 | Qcache_queries_in_cache 1 | ||
1833 | 415 | show status like "Qcache_inserts"; | ||
1834 | 416 | Variable_name Value | ||
1835 | 417 | Qcache_inserts 1 | ||
1836 | 418 | show status like "Qcache_hits"; | ||
1837 | 419 | Variable_name Value | ||
1838 | 420 | Qcache_hits 24 | ||
1839 | 421 | select * /* internal comment with "quote" */ from t1; | ||
1840 | 422 | a | ||
1841 | 423 | 1 | ||
1842 | 424 | 2 | ||
1843 | 425 | 3 | ||
1844 | 426 | select * /* internal comment with "quote" */ from t1; | ||
1845 | 427 | a | ||
1846 | 428 | 1 | ||
1847 | 429 | 2 | ||
1848 | 430 | 3 | ||
1849 | 431 | show status like "Qcache_queries_in_cache"; | ||
1850 | 432 | Variable_name Value | ||
1851 | 433 | Qcache_queries_in_cache 1 | ||
1852 | 434 | show status like "Qcache_inserts"; | ||
1853 | 435 | Variable_name Value | ||
1854 | 436 | Qcache_inserts 1 | ||
1855 | 437 | show status like "Qcache_hits"; | ||
1856 | 438 | Variable_name Value | ||
1857 | 439 | Qcache_hits 26 | ||
1858 | 440 | ----------------------------------------------------- | ||
1859 | 441 | select */* internal comment with "quote" */ from t1 | ||
1860 | 442 | ----------------------------------------------------- | ||
1861 | 443 | show status like "Qcache_queries_in_cache"; | ||
1862 | 444 | Variable_name Value | ||
1863 | 445 | Qcache_queries_in_cache 1 | ||
1864 | 446 | show status like "Qcache_inserts"; | ||
1865 | 447 | Variable_name Value | ||
1866 | 448 | Qcache_inserts 1 | ||
1867 | 449 | show status like "Qcache_hits"; | ||
1868 | 450 | Variable_name Value | ||
1869 | 451 | Qcache_hits 26 | ||
1870 | 452 | select */* internal comment with "quote" */ from t1; | ||
1871 | 453 | a | ||
1872 | 454 | 1 | ||
1873 | 455 | 2 | ||
1874 | 456 | 3 | ||
1875 | 457 | select */* internal comment with "quote" */ from t1; | ||
1876 | 458 | a | ||
1877 | 459 | 1 | ||
1878 | 460 | 2 | ||
1879 | 461 | 3 | ||
1880 | 462 | show status like "Qcache_queries_in_cache"; | ||
1881 | 463 | Variable_name Value | ||
1882 | 464 | Qcache_queries_in_cache 1 | ||
1883 | 465 | show status like "Qcache_inserts"; | ||
1884 | 466 | Variable_name Value | ||
1885 | 467 | Qcache_inserts 1 | ||
1886 | 468 | show status like "Qcache_hits"; | ||
1887 | 469 | Variable_name Value | ||
1888 | 470 | Qcache_hits 28 | ||
1889 | 471 | ----------------------------------------------------- | ||
1890 | 472 | select */* internal comment with "quote" */from t1 | ||
1891 | 473 | ----------------------------------------------------- | ||
1892 | 474 | show status like "Qcache_queries_in_cache"; | ||
1893 | 475 | Variable_name Value | ||
1894 | 476 | Qcache_queries_in_cache 1 | ||
1895 | 477 | show status like "Qcache_inserts"; | ||
1896 | 478 | Variable_name Value | ||
1897 | 479 | Qcache_inserts 1 | ||
1898 | 480 | show status like "Qcache_hits"; | ||
1899 | 481 | Variable_name Value | ||
1900 | 482 | Qcache_hits 28 | ||
1901 | 483 | select */* internal comment with "quote" */from t1; | ||
1902 | 484 | a | ||
1903 | 485 | 1 | ||
1904 | 486 | 2 | ||
1905 | 487 | 3 | ||
1906 | 488 | select */* internal comment with "quote" */from t1; | ||
1907 | 489 | a | ||
1908 | 490 | 1 | ||
1909 | 491 | 2 | ||
1910 | 492 | 3 | ||
1911 | 493 | show status like "Qcache_queries_in_cache"; | ||
1912 | 494 | Variable_name Value | ||
1913 | 495 | Qcache_queries_in_cache 1 | ||
1914 | 496 | show status like "Qcache_inserts"; | ||
1915 | 497 | Variable_name Value | ||
1916 | 498 | Qcache_inserts 1 | ||
1917 | 499 | show status like "Qcache_hits"; | ||
1918 | 500 | Variable_name Value | ||
1919 | 501 | Qcache_hits 30 | ||
1920 | 502 | ----------------------------------------------------- | ||
1921 | 503 | select * from t1 | ||
1922 | 504 | |||
1923 | 505 | ----------------------------------------------------- | ||
1924 | 506 | show status like "Qcache_queries_in_cache"; | ||
1925 | 507 | Variable_name Value | ||
1926 | 508 | Qcache_queries_in_cache 1 | ||
1927 | 509 | show status like "Qcache_inserts"; | ||
1928 | 510 | Variable_name Value | ||
1929 | 511 | Qcache_inserts 1 | ||
1930 | 512 | show status like "Qcache_hits"; | ||
1931 | 513 | Variable_name Value | ||
1932 | 514 | Qcache_hits 30 | ||
1933 | 515 | select * from t1 | ||
1934 | 516 | ; | ||
1935 | 517 | a | ||
1936 | 518 | 1 | ||
1937 | 519 | 2 | ||
1938 | 520 | 3 | ||
1939 | 521 | select * from t1 | ||
1940 | 522 | ; | ||
1941 | 523 | a | ||
1942 | 524 | 1 | ||
1943 | 525 | 2 | ||
1944 | 526 | 3 | ||
1945 | 527 | show status like "Qcache_queries_in_cache"; | ||
1946 | 528 | Variable_name Value | ||
1947 | 529 | Qcache_queries_in_cache 1 | ||
1948 | 530 | show status like "Qcache_inserts"; | ||
1949 | 531 | Variable_name Value | ||
1950 | 532 | Qcache_inserts 1 | ||
1951 | 533 | show status like "Qcache_hits"; | ||
1952 | 534 | Variable_name Value | ||
1953 | 535 | Qcache_hits 32 | ||
1954 | 536 | ----------------------------------------------------- | ||
1955 | 537 | select * from t1 | ||
1956 | 538 | ----------------------------------------------------- | ||
1957 | 539 | show status like "Qcache_queries_in_cache"; | ||
1958 | 540 | Variable_name Value | ||
1959 | 541 | Qcache_queries_in_cache 1 | ||
1960 | 542 | show status like "Qcache_inserts"; | ||
1961 | 543 | Variable_name Value | ||
1962 | 544 | Qcache_inserts 1 | ||
1963 | 545 | show status like "Qcache_hits"; | ||
1964 | 546 | Variable_name Value | ||
1965 | 547 | Qcache_hits 32 | ||
1966 | 548 | select * from t1 ; | ||
1967 | 549 | a | ||
1968 | 550 | 1 | ||
1969 | 551 | 2 | ||
1970 | 552 | 3 | ||
1971 | 553 | select * from t1 ; | ||
1972 | 554 | a | ||
1973 | 555 | 1 | ||
1974 | 556 | 2 | ||
1975 | 557 | 3 | ||
1976 | 558 | show status like "Qcache_queries_in_cache"; | ||
1977 | 559 | Variable_name Value | ||
1978 | 560 | Qcache_queries_in_cache 1 | ||
1979 | 561 | show status like "Qcache_inserts"; | ||
1980 | 562 | Variable_name Value | ||
1981 | 563 | Qcache_inserts 1 | ||
1982 | 564 | show status like "Qcache_hits"; | ||
1983 | 565 | Variable_name Value | ||
1984 | 566 | Qcache_hits 34 | ||
1985 | 567 | ----------------------------------------------------- | ||
1986 | 568 | select * from t1 | ||
1987 | 569 | ----------------------------------------------------- | ||
1988 | 570 | show status like "Qcache_queries_in_cache"; | ||
1989 | 571 | Variable_name Value | ||
1990 | 572 | Qcache_queries_in_cache 1 | ||
1991 | 573 | show status like "Qcache_inserts"; | ||
1992 | 574 | Variable_name Value | ||
1993 | 575 | Qcache_inserts 1 | ||
1994 | 576 | show status like "Qcache_hits"; | ||
1995 | 577 | Variable_name Value | ||
1996 | 578 | Qcache_hits 34 | ||
1997 | 579 | select * from t1 ; | ||
1998 | 580 | a | ||
1999 | 581 | 1 | ||
2000 | 582 | 2 | ||
2001 | 583 | 3 | ||
2002 | 584 | select * from t1 ; | ||
2003 | 585 | a | ||
2004 | 586 | 1 | ||
2005 | 587 | 2 | ||
2006 | 588 | 3 | ||
2007 | 589 | show status like "Qcache_queries_in_cache"; | ||
2008 | 590 | Variable_name Value | ||
2009 | 591 | Qcache_queries_in_cache 1 | ||
2010 | 592 | show status like "Qcache_inserts"; | ||
2011 | 593 | Variable_name Value | ||
2012 | 594 | Qcache_inserts 1 | ||
2013 | 595 | show status like "Qcache_hits"; | ||
2014 | 596 | Variable_name Value | ||
2015 | 597 | Qcache_hits 36 | ||
2016 | 598 | ----------------------------------------------------- | ||
2017 | 599 | select * from t1 | ||
2018 | 600 | /* comment in the end */ | ||
2019 | 601 | ----------------------------------------------------- | ||
2020 | 602 | show status like "Qcache_queries_in_cache"; | ||
2021 | 603 | Variable_name Value | ||
2022 | 604 | Qcache_queries_in_cache 1 | ||
2023 | 605 | show status like "Qcache_inserts"; | ||
2024 | 606 | Variable_name Value | ||
2025 | 607 | Qcache_inserts 1 | ||
2026 | 608 | show status like "Qcache_hits"; | ||
2027 | 609 | Variable_name Value | ||
2028 | 610 | Qcache_hits 36 | ||
2029 | 611 | select * from t1 | ||
2030 | 612 | /* comment in the end */; | ||
2031 | 613 | a | ||
2032 | 614 | 1 | ||
2033 | 615 | 2 | ||
2034 | 616 | 3 | ||
2035 | 617 | select * from t1 | ||
2036 | 618 | /* comment in the end */; | ||
2037 | 619 | a | ||
2038 | 620 | 1 | ||
2039 | 621 | 2 | ||
2040 | 622 | 3 | ||
2041 | 623 | show status like "Qcache_queries_in_cache"; | ||
2042 | 624 | Variable_name Value | ||
2043 | 625 | Qcache_queries_in_cache 1 | ||
2044 | 626 | show status like "Qcache_inserts"; | ||
2045 | 627 | Variable_name Value | ||
2046 | 628 | Qcache_inserts 1 | ||
2047 | 629 | show status like "Qcache_hits"; | ||
2048 | 630 | Variable_name Value | ||
2049 | 631 | Qcache_hits 38 | ||
2050 | 632 | ----------------------------------------------------- | ||
2051 | 633 | select * from t1 | ||
2052 | 634 | /* *\/ */ | ||
2053 | 635 | ----------------------------------------------------- | ||
2054 | 636 | show status like "Qcache_queries_in_cache"; | ||
2055 | 637 | Variable_name Value | ||
2056 | 638 | Qcache_queries_in_cache 1 | ||
2057 | 639 | show status like "Qcache_inserts"; | ||
2058 | 640 | Variable_name Value | ||
2059 | 641 | Qcache_inserts 1 | ||
2060 | 642 | show status like "Qcache_hits"; | ||
2061 | 643 | Variable_name Value | ||
2062 | 644 | Qcache_hits 38 | ||
2063 | 645 | select * from t1 | ||
2064 | 646 | /* *\/ */; | ||
2065 | 647 | a | ||
2066 | 648 | 1 | ||
2067 | 649 | 2 | ||
2068 | 650 | 3 | ||
2069 | 651 | select * from t1 | ||
2070 | 652 | /* *\/ */; | ||
2071 | 653 | a | ||
2072 | 654 | 1 | ||
2073 | 655 | 2 | ||
2074 | 656 | 3 | ||
2075 | 657 | show status like "Qcache_queries_in_cache"; | ||
2076 | 658 | Variable_name Value | ||
2077 | 659 | Qcache_queries_in_cache 1 | ||
2078 | 660 | show status like "Qcache_inserts"; | ||
2079 | 661 | Variable_name Value | ||
2080 | 662 | Qcache_inserts 1 | ||
2081 | 663 | show status like "Qcache_hits"; | ||
2082 | 664 | Variable_name Value | ||
2083 | 665 | Qcache_hits 40 | ||
2084 | 666 | ----------------------------------------------------- | ||
2085 | 667 | select * from t1 | ||
2086 | 668 | /* comment in the end */ | ||
2087 | 669 | |||
2088 | 670 | ----------------------------------------------------- | ||
2089 | 671 | show status like "Qcache_queries_in_cache"; | ||
2090 | 672 | Variable_name Value | ||
2091 | 673 | Qcache_queries_in_cache 1 | ||
2092 | 674 | show status like "Qcache_inserts"; | ||
2093 | 675 | Variable_name Value | ||
2094 | 676 | Qcache_inserts 1 | ||
2095 | 677 | show status like "Qcache_hits"; | ||
2096 | 678 | Variable_name Value | ||
2097 | 679 | Qcache_hits 40 | ||
2098 | 680 | select * from t1 | ||
2099 | 681 | /* comment in the end */ | ||
2100 | 682 | ; | ||
2101 | 683 | a | ||
2102 | 684 | 1 | ||
2103 | 685 | 2 | ||
2104 | 686 | 3 | ||
2105 | 687 | select * from t1 | ||
2106 | 688 | /* comment in the end */ | ||
2107 | 689 | ; | ||
2108 | 690 | a | ||
2109 | 691 | 1 | ||
2110 | 692 | 2 | ||
2111 | 693 | 3 | ||
2112 | 694 | show status like "Qcache_queries_in_cache"; | ||
2113 | 695 | Variable_name Value | ||
2114 | 696 | Qcache_queries_in_cache 1 | ||
2115 | 697 | show status like "Qcache_inserts"; | ||
2116 | 698 | Variable_name Value | ||
2117 | 699 | Qcache_inserts 1 | ||
2118 | 700 | show status like "Qcache_hits"; | ||
2119 | 701 | Variable_name Value | ||
2120 | 702 | Qcache_hits 42 | ||
2121 | 703 | ----------------------------------------------------- | ||
2122 | 704 | select * from t1 #comment in the end | ||
2123 | 705 | ----------------------------------------------------- | ||
2124 | 706 | show status like "Qcache_queries_in_cache"; | ||
2125 | 707 | Variable_name Value | ||
2126 | 708 | Qcache_queries_in_cache 1 | ||
2127 | 709 | show status like "Qcache_inserts"; | ||
2128 | 710 | Variable_name Value | ||
2129 | 711 | Qcache_inserts 1 | ||
2130 | 712 | show status like "Qcache_hits"; | ||
2131 | 713 | Variable_name Value | ||
2132 | 714 | Qcache_hits 42 | ||
2133 | 715 | select * from t1 #comment in the end; | ||
2134 | 716 | a | ||
2135 | 717 | 1 | ||
2136 | 718 | 2 | ||
2137 | 719 | 3 | ||
2138 | 720 | select * from t1 #comment in the end; | ||
2139 | 721 | a | ||
2140 | 722 | 1 | ||
2141 | 723 | 2 | ||
2142 | 724 | 3 | ||
2143 | 725 | show status like "Qcache_queries_in_cache"; | ||
2144 | 726 | Variable_name Value | ||
2145 | 727 | Qcache_queries_in_cache 1 | ||
2146 | 728 | show status like "Qcache_inserts"; | ||
2147 | 729 | Variable_name Value | ||
2148 | 730 | Qcache_inserts 1 | ||
2149 | 731 | show status like "Qcache_hits"; | ||
2150 | 732 | Variable_name Value | ||
2151 | 733 | Qcache_hits 44 | ||
2152 | 734 | ----------------------------------------------------- | ||
2153 | 735 | select * from t1 #comment in the end | ||
2154 | 736 | |||
2155 | 737 | ----------------------------------------------------- | ||
2156 | 738 | show status like "Qcache_queries_in_cache"; | ||
2157 | 739 | Variable_name Value | ||
2158 | 740 | Qcache_queries_in_cache 1 | ||
2159 | 741 | show status like "Qcache_inserts"; | ||
2160 | 742 | Variable_name Value | ||
2161 | 743 | Qcache_inserts 1 | ||
2162 | 744 | show status like "Qcache_hits"; | ||
2163 | 745 | Variable_name Value | ||
2164 | 746 | Qcache_hits 44 | ||
2165 | 747 | select * from t1 #comment in the end | ||
2166 | 748 | ; | ||
2167 | 749 | a | ||
2168 | 750 | 1 | ||
2169 | 751 | 2 | ||
2170 | 752 | 3 | ||
2171 | 753 | select * from t1 #comment in the end | ||
2172 | 754 | ; | ||
2173 | 755 | a | ||
2174 | 756 | 1 | ||
2175 | 757 | 2 | ||
2176 | 758 | 3 | ||
2177 | 759 | show status like "Qcache_queries_in_cache"; | ||
2178 | 760 | Variable_name Value | ||
2179 | 761 | Qcache_queries_in_cache 1 | ||
2180 | 762 | show status like "Qcache_inserts"; | ||
2181 | 763 | Variable_name Value | ||
2182 | 764 | Qcache_inserts 1 | ||
2183 | 765 | show status like "Qcache_hits"; | ||
2184 | 766 | Variable_name Value | ||
2185 | 767 | Qcache_hits 46 | ||
2186 | 768 | ----------------------------------------------------- | ||
2187 | 769 | select * from t1 -- comment in the end | ||
2188 | 770 | ----------------------------------------------------- | ||
2189 | 771 | show status like "Qcache_queries_in_cache"; | ||
2190 | 772 | Variable_name Value | ||
2191 | 773 | Qcache_queries_in_cache 1 | ||
2192 | 774 | show status like "Qcache_inserts"; | ||
2193 | 775 | Variable_name Value | ||
2194 | 776 | Qcache_inserts 1 | ||
2195 | 777 | show status like "Qcache_hits"; | ||
2196 | 778 | Variable_name Value | ||
2197 | 779 | Qcache_hits 46 | ||
2198 | 780 | select * from t1 -- comment in the end; | ||
2199 | 781 | a | ||
2200 | 782 | 1 | ||
2201 | 783 | 2 | ||
2202 | 784 | 3 | ||
2203 | 785 | select * from t1 -- comment in the end; | ||
2204 | 786 | a | ||
2205 | 787 | 1 | ||
2206 | 788 | 2 | ||
2207 | 789 | 3 | ||
2208 | 790 | show status like "Qcache_queries_in_cache"; | ||
2209 | 791 | Variable_name Value | ||
2210 | 792 | Qcache_queries_in_cache 1 | ||
2211 | 793 | show status like "Qcache_inserts"; | ||
2212 | 794 | Variable_name Value | ||
2213 | 795 | Qcache_inserts 1 | ||
2214 | 796 | show status like "Qcache_hits"; | ||
2215 | 797 | Variable_name Value | ||
2216 | 798 | Qcache_hits 48 | ||
2217 | 799 | ----------------------------------------------------- | ||
2218 | 800 | select * from t1 -- comment in the end | ||
2219 | 801 | |||
2220 | 802 | ----------------------------------------------------- | ||
2221 | 803 | show status like "Qcache_queries_in_cache"; | ||
2222 | 804 | Variable_name Value | ||
2223 | 805 | Qcache_queries_in_cache 1 | ||
2224 | 806 | show status like "Qcache_inserts"; | ||
2225 | 807 | Variable_name Value | ||
2226 | 808 | Qcache_inserts 1 | ||
2227 | 809 | show status like "Qcache_hits"; | ||
2228 | 810 | Variable_name Value | ||
2229 | 811 | Qcache_hits 48 | ||
2230 | 812 | select * from t1 -- comment in the end | ||
2231 | 813 | ; | ||
2232 | 814 | a | ||
2233 | 815 | 1 | ||
2234 | 816 | 2 | ||
2235 | 817 | 3 | ||
2236 | 818 | select * from t1 -- comment in the end | ||
2237 | 819 | ; | ||
2238 | 820 | a | ||
2239 | 821 | 1 | ||
2240 | 822 | 2 | ||
2241 | 823 | 3 | ||
2242 | 824 | show status like "Qcache_queries_in_cache"; | ||
2243 | 825 | Variable_name Value | ||
2244 | 826 | Qcache_queries_in_cache 1 | ||
2245 | 827 | show status like "Qcache_inserts"; | ||
2246 | 828 | Variable_name Value | ||
2247 | 829 | Qcache_inserts 1 | ||
2248 | 830 | show status like "Qcache_hits"; | ||
2249 | 831 | Variable_name Value | ||
2250 | 832 | Qcache_hits 50 | ||
2251 | 833 | ----------------------------------------------------- | ||
2252 | 834 | select ' \' ' from t1 | ||
2253 | 835 | ----------------------------------------------------- | ||
2254 | 836 | show status like "Qcache_queries_in_cache"; | ||
2255 | 837 | Variable_name Value | ||
2256 | 838 | Qcache_queries_in_cache 1 | ||
2257 | 839 | show status like "Qcache_inserts"; | ||
2258 | 840 | Variable_name Value | ||
2259 | 841 | Qcache_inserts 1 | ||
2260 | 842 | show status like "Qcache_hits"; | ||
2261 | 843 | Variable_name Value | ||
2262 | 844 | Qcache_hits 50 | ||
2263 | 845 | select ' \' ' from t1; | ||
2264 | 846 | ' | ||
2265 | 847 | ' | ||
2266 | 848 | ' | ||
2267 | 849 | ' | ||
2268 | 850 | select ' \' ' from t1; | ||
2269 | 851 | ' | ||
2270 | 852 | ' | ||
2271 | 853 | ' | ||
2272 | 854 | ' | ||
2273 | 855 | show status like "Qcache_queries_in_cache"; | ||
2274 | 856 | Variable_name Value | ||
2275 | 857 | Qcache_queries_in_cache 2 | ||
2276 | 858 | show status like "Qcache_inserts"; | ||
2277 | 859 | Variable_name Value | ||
2278 | 860 | Qcache_inserts 2 | ||
2279 | 861 | show status like "Qcache_hits"; | ||
2280 | 862 | Variable_name Value | ||
2281 | 863 | Qcache_hits 51 | ||
2282 | 864 | DROP TABLE t1; | ||
2283 | 865 | SET GLOBAL query_cache_size=default; | ||
2284 | 866 | set global query_cache_strip_comments=OFF; | ||
2285 | 867 | 0 | ||
2286 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.test' | |||
2287 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.test 2010-11-18 10:48:03 +0000 | |||
2288 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments.test 1970-01-01 00:00:00 +0000 | |||
2289 | @@ -1,5 +0,0 @@ | |||
2290 | 1 | --disable_ps_protocol | ||
2291 | 2 | set global query_cache_strip_comments=ON; | ||
2292 | 3 | -- source include/percona_query_cache_with_comments_begin.inc | ||
2293 | 4 | -- source include/percona_query_cache_with_comments.inc | ||
2294 | 5 | -- source include/percona_query_cache_with_comments_end.inc | ||
2295 | 6 | 0 | ||
2296 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_begin.inc' | |||
2297 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_begin.inc 2010-11-05 11:51:45 +0000 | |||
2298 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_begin.inc 1970-01-01 00:00:00 +0000 | |||
2299 | @@ -1,12 +0,0 @@ | |||
2300 | 1 | -- source include/have_query_cache.inc | ||
2301 | 2 | |||
2302 | 3 | set GLOBAL query_cache_size=1355776; | ||
2303 | 4 | |||
2304 | 5 | --disable_warnings | ||
2305 | 6 | drop table if exists t1; | ||
2306 | 7 | --enable_warnings | ||
2307 | 8 | |||
2308 | 9 | create table t1 (a int not null); | ||
2309 | 10 | insert into t1 values (1),(2),(3); | ||
2310 | 11 | |||
2311 | 12 | --source include/percona_query_cache_with_comments_clear.inc | ||
2312 | 13 | 0 | ||
2313 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_clear.inc' | |||
2314 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_clear.inc 2010-11-05 11:51:45 +0000 | |||
2315 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_clear.inc 1970-01-01 00:00:00 +0000 | |||
2316 | @@ -1,5 +0,0 @@ | |||
2317 | 1 | # Reset query cache variables. | ||
2318 | 2 | flush query cache; # This crashed in some versions | ||
2319 | 3 | flush query cache; # This crashed in some versions | ||
2320 | 4 | reset query cache; | ||
2321 | 5 | flush status; | ||
2322 | 6 | 0 | ||
2323 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.result' | |||
2324 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.result 2010-11-05 11:51:45 +0000 | |||
2325 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.result 1970-01-01 00:00:00 +0000 | |||
2326 | @@ -1,21 +0,0 @@ | |||
2327 | 1 | set GLOBAL query_cache_size=1355776; | ||
2328 | 2 | drop table if exists t1; | ||
2329 | 3 | create table t1 (a int not null); | ||
2330 | 4 | insert into t1 values (1),(2),(3); | ||
2331 | 5 | flush query cache; | ||
2332 | 6 | flush query cache; | ||
2333 | 7 | reset query cache; | ||
2334 | 8 | flush status; | ||
2335 | 9 | ( select * from t1 ); | ||
2336 | 10 | a | ||
2337 | 11 | 1 | ||
2338 | 12 | 2 | ||
2339 | 13 | 3 | ||
2340 | 14 | /*!40101 SET @OLD_SQL_MODE := @@SQL_MODE, @@SQL_MODE := REPLACE(REPLACE(@@SQL_MODE, 'ANSI_QUOTES', ''), ',,', ','), @OLD_QUOTE := @@SQL_QUOTE_SHOW_CREATE, @@SQL_QUOTE_SHOW_CREATE := 1 */; | ||
2341 | 15 | /* only comment */; | ||
2342 | 16 | # only comment | ||
2343 | 17 | ; | ||
2344 | 18 | -- only comment | ||
2345 | 19 | ; | ||
2346 | 20 | DROP TABLE t1; | ||
2347 | 21 | SET GLOBAL query_cache_size= default; | ||
2348 | 22 | 0 | ||
2349 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.test' | |||
2350 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.test 2010-11-05 11:51:45 +0000 | |||
2351 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_crash.test 1970-01-01 00:00:00 +0000 | |||
2352 | @@ -1,22 +0,0 @@ | |||
2353 | 1 | -- source include/have_query_cache.inc | ||
2354 | 2 | set GLOBAL query_cache_size=1355776; | ||
2355 | 3 | --disable_warnings | ||
2356 | 4 | drop table if exists t1; | ||
2357 | 5 | --enable_warnings | ||
2358 | 6 | create table t1 (a int not null); | ||
2359 | 7 | insert into t1 values (1),(2),(3); | ||
2360 | 8 | flush query cache; # This crashed in some versions | ||
2361 | 9 | flush query cache; # This crashed in some versions | ||
2362 | 10 | reset query cache; | ||
2363 | 11 | flush status; | ||
2364 | 12 | ( select * from t1 ); | ||
2365 | 13 | /*!40101 SET @OLD_SQL_MODE := @@SQL_MODE, @@SQL_MODE := REPLACE(REPLACE(@@SQL_MODE, 'ANSI_QUOTES', ''), ',,', ','), @OLD_QUOTE := @@SQL_QUOTE_SHOW_CREATE, @@SQL_QUOTE_SHOW_CREATE := 1 */; | ||
2366 | 14 | /* only comment */; | ||
2367 | 15 | let query=# only comment | ||
2368 | 16 | ; | ||
2369 | 17 | eval $query; | ||
2370 | 18 | let query=-- only comment | ||
2371 | 19 | ; | ||
2372 | 20 | eval $query; | ||
2373 | 21 | DROP TABLE t1; | ||
2374 | 22 | SET GLOBAL query_cache_size= default; | ||
2375 | 23 | 0 | ||
2376 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.result' | |||
2377 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.result 2010-11-05 11:51:45 +0000 | |||
2378 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.result 1970-01-01 00:00:00 +0000 | |||
2379 | @@ -1,865 +0,0 @@ | |||
2380 | 1 | set GLOBAL query_cache_size=1355776; | ||
2381 | 2 | drop table if exists t1; | ||
2382 | 3 | create table t1 (a int not null); | ||
2383 | 4 | insert into t1 values (1),(2),(3); | ||
2384 | 5 | flush query cache; | ||
2385 | 6 | flush query cache; | ||
2386 | 7 | reset query cache; | ||
2387 | 8 | flush status; | ||
2388 | 9 | flush query cache; | ||
2389 | 10 | flush query cache; | ||
2390 | 11 | reset query cache; | ||
2391 | 12 | flush status; | ||
2392 | 13 | /* with comment first */select * from t1; | ||
2393 | 14 | a | ||
2394 | 15 | 1 | ||
2395 | 16 | 2 | ||
2396 | 17 | 3 | ||
2397 | 18 | ----------------------------------------------------- | ||
2398 | 19 | /* with comment first */select * from t1 | ||
2399 | 20 | ----------------------------------------------------- | ||
2400 | 21 | show status like "Qcache_queries_in_cache"; | ||
2401 | 22 | Variable_name Value | ||
2402 | 23 | Qcache_queries_in_cache 1 | ||
2403 | 24 | show status like "Qcache_inserts"; | ||
2404 | 25 | Variable_name Value | ||
2405 | 26 | Qcache_inserts 1 | ||
2406 | 27 | show status like "Qcache_hits"; | ||
2407 | 28 | Variable_name Value | ||
2408 | 29 | Qcache_hits 0 | ||
2409 | 30 | /* with comment first */select * from t1; | ||
2410 | 31 | a | ||
2411 | 32 | 1 | ||
2412 | 33 | 2 | ||
2413 | 34 | 3 | ||
2414 | 35 | /* with comment first */select * from t1; | ||
2415 | 36 | a | ||
2416 | 37 | 1 | ||
2417 | 38 | 2 | ||
2418 | 39 | 3 | ||
2419 | 40 | show status like "Qcache_queries_in_cache"; | ||
2420 | 41 | Variable_name Value | ||
2421 | 42 | Qcache_queries_in_cache 1 | ||
2422 | 43 | show status like "Qcache_inserts"; | ||
2423 | 44 | Variable_name Value | ||
2424 | 45 | Qcache_inserts 1 | ||
2425 | 46 | show status like "Qcache_hits"; | ||
2426 | 47 | Variable_name Value | ||
2427 | 48 | Qcache_hits 2 | ||
2428 | 49 | ----------------------------------------------------- | ||
2429 | 50 | # with comment first | ||
2430 | 51 | select * from t1 | ||
2431 | 52 | ----------------------------------------------------- | ||
2432 | 53 | show status like "Qcache_queries_in_cache"; | ||
2433 | 54 | Variable_name Value | ||
2434 | 55 | Qcache_queries_in_cache 1 | ||
2435 | 56 | show status like "Qcache_inserts"; | ||
2436 | 57 | Variable_name Value | ||
2437 | 58 | Qcache_inserts 1 | ||
2438 | 59 | show status like "Qcache_hits"; | ||
2439 | 60 | Variable_name Value | ||
2440 | 61 | Qcache_hits 2 | ||
2441 | 62 | # with comment first | ||
2442 | 63 | select * from t1; | ||
2443 | 64 | a | ||
2444 | 65 | 1 | ||
2445 | 66 | 2 | ||
2446 | 67 | 3 | ||
2447 | 68 | # with comment first | ||
2448 | 69 | select * from t1; | ||
2449 | 70 | a | ||
2450 | 71 | 1 | ||
2451 | 72 | 2 | ||
2452 | 73 | 3 | ||
2453 | 74 | show status like "Qcache_queries_in_cache"; | ||
2454 | 75 | Variable_name Value | ||
2455 | 76 | Qcache_queries_in_cache 2 | ||
2456 | 77 | show status like "Qcache_inserts"; | ||
2457 | 78 | Variable_name Value | ||
2458 | 79 | Qcache_inserts 2 | ||
2459 | 80 | show status like "Qcache_hits"; | ||
2460 | 81 | Variable_name Value | ||
2461 | 82 | Qcache_hits 2 | ||
2462 | 83 | ----------------------------------------------------- | ||
2463 | 84 | -- with comment first | ||
2464 | 85 | select * from t1 | ||
2465 | 86 | ----------------------------------------------------- | ||
2466 | 87 | show status like "Qcache_queries_in_cache"; | ||
2467 | 88 | Variable_name Value | ||
2468 | 89 | Qcache_queries_in_cache 2 | ||
2469 | 90 | show status like "Qcache_inserts"; | ||
2470 | 91 | Variable_name Value | ||
2471 | 92 | Qcache_inserts 2 | ||
2472 | 93 | show status like "Qcache_hits"; | ||
2473 | 94 | Variable_name Value | ||
2474 | 95 | Qcache_hits 2 | ||
2475 | 96 | -- with comment first | ||
2476 | 97 | select * from t1; | ||
2477 | 98 | a | ||
2478 | 99 | 1 | ||
2479 | 100 | 2 | ||
2480 | 101 | 3 | ||
2481 | 102 | -- with comment first | ||
2482 | 103 | select * from t1; | ||
2483 | 104 | a | ||
2484 | 105 | 1 | ||
2485 | 106 | 2 | ||
2486 | 107 | 3 | ||
2487 | 108 | show status like "Qcache_queries_in_cache"; | ||
2488 | 109 | Variable_name Value | ||
2489 | 110 | Qcache_queries_in_cache 3 | ||
2490 | 111 | show status like "Qcache_inserts"; | ||
2491 | 112 | Variable_name Value | ||
2492 | 113 | Qcache_inserts 3 | ||
2493 | 114 | show status like "Qcache_hits"; | ||
2494 | 115 | Variable_name Value | ||
2495 | 116 | Qcache_hits 2 | ||
2496 | 117 | ----------------------------------------------------- | ||
2497 | 118 | /* with comment first and "quote" */select * from t1 | ||
2498 | 119 | ----------------------------------------------------- | ||
2499 | 120 | show status like "Qcache_queries_in_cache"; | ||
2500 | 121 | Variable_name Value | ||
2501 | 122 | Qcache_queries_in_cache 3 | ||
2502 | 123 | show status like "Qcache_inserts"; | ||
2503 | 124 | Variable_name Value | ||
2504 | 125 | Qcache_inserts 3 | ||
2505 | 126 | show status like "Qcache_hits"; | ||
2506 | 127 | Variable_name Value | ||
2507 | 128 | Qcache_hits 2 | ||
2508 | 129 | /* with comment first and "quote" */select * from t1; | ||
2509 | 130 | a | ||
2510 | 131 | 1 | ||
2511 | 132 | 2 | ||
2512 | 133 | 3 | ||
2513 | 134 | /* with comment first and "quote" */select * from t1; | ||
2514 | 135 | a | ||
2515 | 136 | 1 | ||
2516 | 137 | 2 | ||
2517 | 138 | 3 | ||
2518 | 139 | show status like "Qcache_queries_in_cache"; | ||
2519 | 140 | Variable_name Value | ||
2520 | 141 | Qcache_queries_in_cache 4 | ||
2521 | 142 | show status like "Qcache_inserts"; | ||
2522 | 143 | Variable_name Value | ||
2523 | 144 | Qcache_inserts 4 | ||
2524 | 145 | show status like "Qcache_hits"; | ||
2525 | 146 | Variable_name Value | ||
2526 | 147 | Qcache_hits 3 | ||
2527 | 148 | ----------------------------------------------------- | ||
2528 | 149 | # with comment first and "quote" | ||
2529 | 150 | select * from t1 | ||
2530 | 151 | ----------------------------------------------------- | ||
2531 | 152 | show status like "Qcache_queries_in_cache"; | ||
2532 | 153 | Variable_name Value | ||
2533 | 154 | Qcache_queries_in_cache 4 | ||
2534 | 155 | show status like "Qcache_inserts"; | ||
2535 | 156 | Variable_name Value | ||
2536 | 157 | Qcache_inserts 4 | ||
2537 | 158 | show status like "Qcache_hits"; | ||
2538 | 159 | Variable_name Value | ||
2539 | 160 | Qcache_hits 3 | ||
2540 | 161 | # with comment first and "quote" | ||
2541 | 162 | select * from t1; | ||
2542 | 163 | a | ||
2543 | 164 | 1 | ||
2544 | 165 | 2 | ||
2545 | 166 | 3 | ||
2546 | 167 | # with comment first and "quote" | ||
2547 | 168 | select * from t1; | ||
2548 | 169 | a | ||
2549 | 170 | 1 | ||
2550 | 171 | 2 | ||
2551 | 172 | 3 | ||
2552 | 173 | show status like "Qcache_queries_in_cache"; | ||
2553 | 174 | Variable_name Value | ||
2554 | 175 | Qcache_queries_in_cache 5 | ||
2555 | 176 | show status like "Qcache_inserts"; | ||
2556 | 177 | Variable_name Value | ||
2557 | 178 | Qcache_inserts 5 | ||
2558 | 179 | show status like "Qcache_hits"; | ||
2559 | 180 | Variable_name Value | ||
2560 | 181 | Qcache_hits 3 | ||
2561 | 182 | ----------------------------------------------------- | ||
2562 | 183 | -- with comment first and "quote" | ||
2563 | 184 | select * from t1 | ||
2564 | 185 | ----------------------------------------------------- | ||
2565 | 186 | show status like "Qcache_queries_in_cache"; | ||
2566 | 187 | Variable_name Value | ||
2567 | 188 | Qcache_queries_in_cache 5 | ||
2568 | 189 | show status like "Qcache_inserts"; | ||
2569 | 190 | Variable_name Value | ||
2570 | 191 | Qcache_inserts 5 | ||
2571 | 192 | show status like "Qcache_hits"; | ||
2572 | 193 | Variable_name Value | ||
2573 | 194 | Qcache_hits 3 | ||
2574 | 195 | -- with comment first and "quote" | ||
2575 | 196 | select * from t1; | ||
2576 | 197 | a | ||
2577 | 198 | 1 | ||
2578 | 199 | 2 | ||
2579 | 200 | 3 | ||
2580 | 201 | -- with comment first and "quote" | ||
2581 | 202 | select * from t1; | ||
2582 | 203 | a | ||
2583 | 204 | 1 | ||
2584 | 205 | 2 | ||
2585 | 206 | 3 | ||
2586 | 207 | show status like "Qcache_queries_in_cache"; | ||
2587 | 208 | Variable_name Value | ||
2588 | 209 | Qcache_queries_in_cache 6 | ||
2589 | 210 | show status like "Qcache_inserts"; | ||
2590 | 211 | Variable_name Value | ||
2591 | 212 | Qcache_inserts 6 | ||
2592 | 213 | show status like "Qcache_hits"; | ||
2593 | 214 | Variable_name Value | ||
2594 | 215 | Qcache_hits 3 | ||
2595 | 216 | ----------------------------------------------------- | ||
2596 | 217 | /* with comment and whitespaces first */select * from t1 | ||
2597 | 218 | ----------------------------------------------------- | ||
2598 | 219 | show status like "Qcache_queries_in_cache"; | ||
2599 | 220 | Variable_name Value | ||
2600 | 221 | Qcache_queries_in_cache 6 | ||
2601 | 222 | show status like "Qcache_inserts"; | ||
2602 | 223 | Variable_name Value | ||
2603 | 224 | Qcache_inserts 6 | ||
2604 | 225 | show status like "Qcache_hits"; | ||
2605 | 226 | Variable_name Value | ||
2606 | 227 | Qcache_hits 3 | ||
2607 | 228 | /* with comment and whitespaces first */select * from t1; | ||
2608 | 229 | a | ||
2609 | 230 | 1 | ||
2610 | 231 | 2 | ||
2611 | 232 | 3 | ||
2612 | 233 | /* with comment and whitespaces first */select * from t1; | ||
2613 | 234 | a | ||
2614 | 235 | 1 | ||
2615 | 236 | 2 | ||
2616 | 237 | 3 | ||
2617 | 238 | show status like "Qcache_queries_in_cache"; | ||
2618 | 239 | Variable_name Value | ||
2619 | 240 | Qcache_queries_in_cache 7 | ||
2620 | 241 | show status like "Qcache_inserts"; | ||
2621 | 242 | Variable_name Value | ||
2622 | 243 | Qcache_inserts 7 | ||
2623 | 244 | show status like "Qcache_hits"; | ||
2624 | 245 | Variable_name Value | ||
2625 | 246 | Qcache_hits 4 | ||
2626 | 247 | ----------------------------------------------------- | ||
2627 | 248 | # with comment and whitespaces first | ||
2628 | 249 | select * from t1 | ||
2629 | 250 | ----------------------------------------------------- | ||
2630 | 251 | show status like "Qcache_queries_in_cache"; | ||
2631 | 252 | Variable_name Value | ||
2632 | 253 | Qcache_queries_in_cache 7 | ||
2633 | 254 | show status like "Qcache_inserts"; | ||
2634 | 255 | Variable_name Value | ||
2635 | 256 | Qcache_inserts 7 | ||
2636 | 257 | show status like "Qcache_hits"; | ||
2637 | 258 | Variable_name Value | ||
2638 | 259 | Qcache_hits 4 | ||
2639 | 260 | # with comment and whitespaces first | ||
2640 | 261 | select * from t1; | ||
2641 | 262 | a | ||
2642 | 263 | 1 | ||
2643 | 264 | 2 | ||
2644 | 265 | 3 | ||
2645 | 266 | # with comment and whitespaces first | ||
2646 | 267 | select * from t1; | ||
2647 | 268 | a | ||
2648 | 269 | 1 | ||
2649 | 270 | 2 | ||
2650 | 271 | 3 | ||
2651 | 272 | show status like "Qcache_queries_in_cache"; | ||
2652 | 273 | Variable_name Value | ||
2653 | 274 | Qcache_queries_in_cache 8 | ||
2654 | 275 | show status like "Qcache_inserts"; | ||
2655 | 276 | Variable_name Value | ||
2656 | 277 | Qcache_inserts 8 | ||
2657 | 278 | show status like "Qcache_hits"; | ||
2658 | 279 | Variable_name Value | ||
2659 | 280 | Qcache_hits 4 | ||
2660 | 281 | ----------------------------------------------------- | ||
2661 | 282 | -- with comment and whitespaces first | ||
2662 | 283 | select * from t1 | ||
2663 | 284 | ----------------------------------------------------- | ||
2664 | 285 | show status like "Qcache_queries_in_cache"; | ||
2665 | 286 | Variable_name Value | ||
2666 | 287 | Qcache_queries_in_cache 8 | ||
2667 | 288 | show status like "Qcache_inserts"; | ||
2668 | 289 | Variable_name Value | ||
2669 | 290 | Qcache_inserts 8 | ||
2670 | 291 | show status like "Qcache_hits"; | ||
2671 | 292 | Variable_name Value | ||
2672 | 293 | Qcache_hits 4 | ||
2673 | 294 | -- with comment and whitespaces first | ||
2674 | 295 | select * from t1; | ||
2675 | 296 | a | ||
2676 | 297 | 1 | ||
2677 | 298 | 2 | ||
2678 | 299 | 3 | ||
2679 | 300 | -- with comment and whitespaces first | ||
2680 | 301 | select * from t1; | ||
2681 | 302 | a | ||
2682 | 303 | 1 | ||
2683 | 304 | 2 | ||
2684 | 305 | 3 | ||
2685 | 306 | show status like "Qcache_queries_in_cache"; | ||
2686 | 307 | Variable_name Value | ||
2687 | 308 | Qcache_queries_in_cache 9 | ||
2688 | 309 | show status like "Qcache_inserts"; | ||
2689 | 310 | Variable_name Value | ||
2690 | 311 | Qcache_inserts 9 | ||
2691 | 312 | show status like "Qcache_hits"; | ||
2692 | 313 | Variable_name Value | ||
2693 | 314 | Qcache_hits 4 | ||
2694 | 315 | ----------------------------------------------------- | ||
2695 | 316 | select * /* internal comment */ from t1 | ||
2696 | 317 | ----------------------------------------------------- | ||
2697 | 318 | show status like "Qcache_queries_in_cache"; | ||
2698 | 319 | Variable_name Value | ||
2699 | 320 | Qcache_queries_in_cache 9 | ||
2700 | 321 | show status like "Qcache_inserts"; | ||
2701 | 322 | Variable_name Value | ||
2702 | 323 | Qcache_inserts 9 | ||
2703 | 324 | show status like "Qcache_hits"; | ||
2704 | 325 | Variable_name Value | ||
2705 | 326 | Qcache_hits 4 | ||
2706 | 327 | select * /* internal comment */ from t1; | ||
2707 | 328 | a | ||
2708 | 329 | 1 | ||
2709 | 330 | 2 | ||
2710 | 331 | 3 | ||
2711 | 332 | select * /* internal comment */ from t1; | ||
2712 | 333 | a | ||
2713 | 334 | 1 | ||
2714 | 335 | 2 | ||
2715 | 336 | 3 | ||
2716 | 337 | show status like "Qcache_queries_in_cache"; | ||
2717 | 338 | Variable_name Value | ||
2718 | 339 | Qcache_queries_in_cache 10 | ||
2719 | 340 | show status like "Qcache_inserts"; | ||
2720 | 341 | Variable_name Value | ||
2721 | 342 | Qcache_inserts 10 | ||
2722 | 343 | show status like "Qcache_hits"; | ||
2723 | 344 | Variable_name Value | ||
2724 | 345 | Qcache_hits 5 | ||
2725 | 346 | ----------------------------------------------------- | ||
2726 | 347 | select */* internal comment */ from t1 | ||
2727 | 348 | ----------------------------------------------------- | ||
2728 | 349 | show status like "Qcache_queries_in_cache"; | ||
2729 | 350 | Variable_name Value | ||
2730 | 351 | Qcache_queries_in_cache 10 | ||
2731 | 352 | show status like "Qcache_inserts"; | ||
2732 | 353 | Variable_name Value | ||
2733 | 354 | Qcache_inserts 10 | ||
2734 | 355 | show status like "Qcache_hits"; | ||
2735 | 356 | Variable_name Value | ||
2736 | 357 | Qcache_hits 5 | ||
2737 | 358 | select */* internal comment */ from t1; | ||
2738 | 359 | a | ||
2739 | 360 | 1 | ||
2740 | 361 | 2 | ||
2741 | 362 | 3 | ||
2742 | 363 | select */* internal comment */ from t1; | ||
2743 | 364 | a | ||
2744 | 365 | 1 | ||
2745 | 366 | 2 | ||
2746 | 367 | 3 | ||
2747 | 368 | show status like "Qcache_queries_in_cache"; | ||
2748 | 369 | Variable_name Value | ||
2749 | 370 | Qcache_queries_in_cache 11 | ||
2750 | 371 | show status like "Qcache_inserts"; | ||
2751 | 372 | Variable_name Value | ||
2752 | 373 | Qcache_inserts 11 | ||
2753 | 374 | show status like "Qcache_hits"; | ||
2754 | 375 | Variable_name Value | ||
2755 | 376 | Qcache_hits 6 | ||
2756 | 377 | ----------------------------------------------------- | ||
2757 | 378 | select */* internal comment */from t1 | ||
2758 | 379 | ----------------------------------------------------- | ||
2759 | 380 | show status like "Qcache_queries_in_cache"; | ||
2760 | 381 | Variable_name Value | ||
2761 | 382 | Qcache_queries_in_cache 11 | ||
2762 | 383 | show status like "Qcache_inserts"; | ||
2763 | 384 | Variable_name Value | ||
2764 | 385 | Qcache_inserts 11 | ||
2765 | 386 | show status like "Qcache_hits"; | ||
2766 | 387 | Variable_name Value | ||
2767 | 388 | Qcache_hits 6 | ||
2768 | 389 | select */* internal comment */from t1; | ||
2769 | 390 | a | ||
2770 | 391 | 1 | ||
2771 | 392 | 2 | ||
2772 | 393 | 3 | ||
2773 | 394 | select */* internal comment */from t1; | ||
2774 | 395 | a | ||
2775 | 396 | 1 | ||
2776 | 397 | 2 | ||
2777 | 398 | 3 | ||
2778 | 399 | show status like "Qcache_queries_in_cache"; | ||
2779 | 400 | Variable_name Value | ||
2780 | 401 | Qcache_queries_in_cache 12 | ||
2781 | 402 | show status like "Qcache_inserts"; | ||
2782 | 403 | Variable_name Value | ||
2783 | 404 | Qcache_inserts 12 | ||
2784 | 405 | show status like "Qcache_hits"; | ||
2785 | 406 | Variable_name Value | ||
2786 | 407 | Qcache_hits 7 | ||
2787 | 408 | ----------------------------------------------------- | ||
2788 | 409 | select * /* internal comment with "quote" */ from t1 | ||
2789 | 410 | ----------------------------------------------------- | ||
2790 | 411 | show status like "Qcache_queries_in_cache"; | ||
2791 | 412 | Variable_name Value | ||
2792 | 413 | Qcache_queries_in_cache 12 | ||
2793 | 414 | show status like "Qcache_inserts"; | ||
2794 | 415 | Variable_name Value | ||
2795 | 416 | Qcache_inserts 12 | ||
2796 | 417 | show status like "Qcache_hits"; | ||
2797 | 418 | Variable_name Value | ||
2798 | 419 | Qcache_hits 7 | ||
2799 | 420 | select * /* internal comment with "quote" */ from t1; | ||
2800 | 421 | a | ||
2801 | 422 | 1 | ||
2802 | 423 | 2 | ||
2803 | 424 | 3 | ||
2804 | 425 | select * /* internal comment with "quote" */ from t1; | ||
2805 | 426 | a | ||
2806 | 427 | 1 | ||
2807 | 428 | 2 | ||
2808 | 429 | 3 | ||
2809 | 430 | show status like "Qcache_queries_in_cache"; | ||
2810 | 431 | Variable_name Value | ||
2811 | 432 | Qcache_queries_in_cache 13 | ||
2812 | 433 | show status like "Qcache_inserts"; | ||
2813 | 434 | Variable_name Value | ||
2814 | 435 | Qcache_inserts 13 | ||
2815 | 436 | show status like "Qcache_hits"; | ||
2816 | 437 | Variable_name Value | ||
2817 | 438 | Qcache_hits 8 | ||
2818 | 439 | ----------------------------------------------------- | ||
2819 | 440 | select */* internal comment with "quote" */ from t1 | ||
2820 | 441 | ----------------------------------------------------- | ||
2821 | 442 | show status like "Qcache_queries_in_cache"; | ||
2822 | 443 | Variable_name Value | ||
2823 | 444 | Qcache_queries_in_cache 13 | ||
2824 | 445 | show status like "Qcache_inserts"; | ||
2825 | 446 | Variable_name Value | ||
2826 | 447 | Qcache_inserts 13 | ||
2827 | 448 | show status like "Qcache_hits"; | ||
2828 | 449 | Variable_name Value | ||
2829 | 450 | Qcache_hits 8 | ||
2830 | 451 | select */* internal comment with "quote" */ from t1; | ||
2831 | 452 | a | ||
2832 | 453 | 1 | ||
2833 | 454 | 2 | ||
2834 | 455 | 3 | ||
2835 | 456 | select */* internal comment with "quote" */ from t1; | ||
2836 | 457 | a | ||
2837 | 458 | 1 | ||
2838 | 459 | 2 | ||
2839 | 460 | 3 | ||
2840 | 461 | show status like "Qcache_queries_in_cache"; | ||
2841 | 462 | Variable_name Value | ||
2842 | 463 | Qcache_queries_in_cache 14 | ||
2843 | 464 | show status like "Qcache_inserts"; | ||
2844 | 465 | Variable_name Value | ||
2845 | 466 | Qcache_inserts 14 | ||
2846 | 467 | show status like "Qcache_hits"; | ||
2847 | 468 | Variable_name Value | ||
2848 | 469 | Qcache_hits 9 | ||
2849 | 470 | ----------------------------------------------------- | ||
2850 | 471 | select */* internal comment with "quote" */from t1 | ||
2851 | 472 | ----------------------------------------------------- | ||
2852 | 473 | show status like "Qcache_queries_in_cache"; | ||
2853 | 474 | Variable_name Value | ||
2854 | 475 | Qcache_queries_in_cache 14 | ||
2855 | 476 | show status like "Qcache_inserts"; | ||
2856 | 477 | Variable_name Value | ||
2857 | 478 | Qcache_inserts 14 | ||
2858 | 479 | show status like "Qcache_hits"; | ||
2859 | 480 | Variable_name Value | ||
2860 | 481 | Qcache_hits 9 | ||
2861 | 482 | select */* internal comment with "quote" */from t1; | ||
2862 | 483 | a | ||
2863 | 484 | 1 | ||
2864 | 485 | 2 | ||
2865 | 486 | 3 | ||
2866 | 487 | select */* internal comment with "quote" */from t1; | ||
2867 | 488 | a | ||
2868 | 489 | 1 | ||
2869 | 490 | 2 | ||
2870 | 491 | 3 | ||
2871 | 492 | show status like "Qcache_queries_in_cache"; | ||
2872 | 493 | Variable_name Value | ||
2873 | 494 | Qcache_queries_in_cache 15 | ||
2874 | 495 | show status like "Qcache_inserts"; | ||
2875 | 496 | Variable_name Value | ||
2876 | 497 | Qcache_inserts 15 | ||
2877 | 498 | show status like "Qcache_hits"; | ||
2878 | 499 | Variable_name Value | ||
2879 | 500 | Qcache_hits 10 | ||
2880 | 501 | ----------------------------------------------------- | ||
2881 | 502 | select * from t1 | ||
2882 | 503 | |||
2883 | 504 | ----------------------------------------------------- | ||
2884 | 505 | show status like "Qcache_queries_in_cache"; | ||
2885 | 506 | Variable_name Value | ||
2886 | 507 | Qcache_queries_in_cache 15 | ||
2887 | 508 | show status like "Qcache_inserts"; | ||
2888 | 509 | Variable_name Value | ||
2889 | 510 | Qcache_inserts 15 | ||
2890 | 511 | show status like "Qcache_hits"; | ||
2891 | 512 | Variable_name Value | ||
2892 | 513 | Qcache_hits 10 | ||
2893 | 514 | select * from t1 | ||
2894 | 515 | ; | ||
2895 | 516 | a | ||
2896 | 517 | 1 | ||
2897 | 518 | 2 | ||
2898 | 519 | 3 | ||
2899 | 520 | select * from t1 | ||
2900 | 521 | ; | ||
2901 | 522 | a | ||
2902 | 523 | 1 | ||
2903 | 524 | 2 | ||
2904 | 525 | 3 | ||
2905 | 526 | show status like "Qcache_queries_in_cache"; | ||
2906 | 527 | Variable_name Value | ||
2907 | 528 | Qcache_queries_in_cache 16 | ||
2908 | 529 | show status like "Qcache_inserts"; | ||
2909 | 530 | Variable_name Value | ||
2910 | 531 | Qcache_inserts 16 | ||
2911 | 532 | show status like "Qcache_hits"; | ||
2912 | 533 | Variable_name Value | ||
2913 | 534 | Qcache_hits 11 | ||
2914 | 535 | ----------------------------------------------------- | ||
2915 | 536 | select * from t1 | ||
2916 | 537 | ----------------------------------------------------- | ||
2917 | 538 | show status like "Qcache_queries_in_cache"; | ||
2918 | 539 | Variable_name Value | ||
2919 | 540 | Qcache_queries_in_cache 16 | ||
2920 | 541 | show status like "Qcache_inserts"; | ||
2921 | 542 | Variable_name Value | ||
2922 | 543 | Qcache_inserts 16 | ||
2923 | 544 | show status like "Qcache_hits"; | ||
2924 | 545 | Variable_name Value | ||
2925 | 546 | Qcache_hits 11 | ||
2926 | 547 | select * from t1 ; | ||
2927 | 548 | a | ||
2928 | 549 | 1 | ||
2929 | 550 | 2 | ||
2930 | 551 | 3 | ||
2931 | 552 | select * from t1 ; | ||
2932 | 553 | a | ||
2933 | 554 | 1 | ||
2934 | 555 | 2 | ||
2935 | 556 | 3 | ||
2936 | 557 | show status like "Qcache_queries_in_cache"; | ||
2937 | 558 | Variable_name Value | ||
2938 | 559 | Qcache_queries_in_cache 16 | ||
2939 | 560 | show status like "Qcache_inserts"; | ||
2940 | 561 | Variable_name Value | ||
2941 | 562 | Qcache_inserts 16 | ||
2942 | 563 | show status like "Qcache_hits"; | ||
2943 | 564 | Variable_name Value | ||
2944 | 565 | Qcache_hits 13 | ||
2945 | 566 | ----------------------------------------------------- | ||
2946 | 567 | select * from t1 | ||
2947 | 568 | ----------------------------------------------------- | ||
2948 | 569 | show status like "Qcache_queries_in_cache"; | ||
2949 | 570 | Variable_name Value | ||
2950 | 571 | Qcache_queries_in_cache 16 | ||
2951 | 572 | show status like "Qcache_inserts"; | ||
2952 | 573 | Variable_name Value | ||
2953 | 574 | Qcache_inserts 16 | ||
2954 | 575 | show status like "Qcache_hits"; | ||
2955 | 576 | Variable_name Value | ||
2956 | 577 | Qcache_hits 13 | ||
2957 | 578 | select * from t1 ; | ||
2958 | 579 | a | ||
2959 | 580 | 1 | ||
2960 | 581 | 2 | ||
2961 | 582 | 3 | ||
2962 | 583 | select * from t1 ; | ||
2963 | 584 | a | ||
2964 | 585 | 1 | ||
2965 | 586 | 2 | ||
2966 | 587 | 3 | ||
2967 | 588 | show status like "Qcache_queries_in_cache"; | ||
2968 | 589 | Variable_name Value | ||
2969 | 590 | Qcache_queries_in_cache 16 | ||
2970 | 591 | show status like "Qcache_inserts"; | ||
2971 | 592 | Variable_name Value | ||
2972 | 593 | Qcache_inserts 16 | ||
2973 | 594 | show status like "Qcache_hits"; | ||
2974 | 595 | Variable_name Value | ||
2975 | 596 | Qcache_hits 15 | ||
2976 | 597 | ----------------------------------------------------- | ||
2977 | 598 | select * from t1 | ||
2978 | 599 | /* comment in the end */ | ||
2979 | 600 | ----------------------------------------------------- | ||
2980 | 601 | show status like "Qcache_queries_in_cache"; | ||
2981 | 602 | Variable_name Value | ||
2982 | 603 | Qcache_queries_in_cache 16 | ||
2983 | 604 | show status like "Qcache_inserts"; | ||
2984 | 605 | Variable_name Value | ||
2985 | 606 | Qcache_inserts 16 | ||
2986 | 607 | show status like "Qcache_hits"; | ||
2987 | 608 | Variable_name Value | ||
2988 | 609 | Qcache_hits 15 | ||
2989 | 610 | select * from t1 | ||
2990 | 611 | /* comment in the end */; | ||
2991 | 612 | a | ||
2992 | 613 | 1 | ||
2993 | 614 | 2 | ||
2994 | 615 | 3 | ||
2995 | 616 | select * from t1 | ||
2996 | 617 | /* comment in the end */; | ||
2997 | 618 | a | ||
2998 | 619 | 1 | ||
2999 | 620 | 2 | ||
3000 | 621 | 3 | ||
3001 | 622 | show status like "Qcache_queries_in_cache"; | ||
3002 | 623 | Variable_name Value | ||
3003 | 624 | Qcache_queries_in_cache 17 | ||
3004 | 625 | show status like "Qcache_inserts"; | ||
3005 | 626 | Variable_name Value | ||
3006 | 627 | Qcache_inserts 17 | ||
3007 | 628 | show status like "Qcache_hits"; | ||
3008 | 629 | Variable_name Value | ||
3009 | 630 | Qcache_hits 16 | ||
3010 | 631 | ----------------------------------------------------- | ||
3011 | 632 | select * from t1 | ||
3012 | 633 | /* *\/ */ | ||
3013 | 634 | ----------------------------------------------------- | ||
3014 | 635 | show status like "Qcache_queries_in_cache"; | ||
3015 | 636 | Variable_name Value | ||
3016 | 637 | Qcache_queries_in_cache 17 | ||
3017 | 638 | show status like "Qcache_inserts"; | ||
3018 | 639 | Variable_name Value | ||
3019 | 640 | Qcache_inserts 17 | ||
3020 | 641 | show status like "Qcache_hits"; | ||
3021 | 642 | Variable_name Value | ||
3022 | 643 | Qcache_hits 16 | ||
3023 | 644 | select * from t1 | ||
3024 | 645 | /* *\/ */; | ||
3025 | 646 | a | ||
3026 | 647 | 1 | ||
3027 | 648 | 2 | ||
3028 | 649 | 3 | ||
3029 | 650 | select * from t1 | ||
3030 | 651 | /* *\/ */; | ||
3031 | 652 | a | ||
3032 | 653 | 1 | ||
3033 | 654 | 2 | ||
3034 | 655 | 3 | ||
3035 | 656 | show status like "Qcache_queries_in_cache"; | ||
3036 | 657 | Variable_name Value | ||
3037 | 658 | Qcache_queries_in_cache 18 | ||
3038 | 659 | show status like "Qcache_inserts"; | ||
3039 | 660 | Variable_name Value | ||
3040 | 661 | Qcache_inserts 18 | ||
3041 | 662 | show status like "Qcache_hits"; | ||
3042 | 663 | Variable_name Value | ||
3043 | 664 | Qcache_hits 17 | ||
3044 | 665 | ----------------------------------------------------- | ||
3045 | 666 | select * from t1 | ||
3046 | 667 | /* comment in the end */ | ||
3047 | 668 | |||
3048 | 669 | ----------------------------------------------------- | ||
3049 | 670 | show status like "Qcache_queries_in_cache"; | ||
3050 | 671 | Variable_name Value | ||
3051 | 672 | Qcache_queries_in_cache 18 | ||
3052 | 673 | show status like "Qcache_inserts"; | ||
3053 | 674 | Variable_name Value | ||
3054 | 675 | Qcache_inserts 18 | ||
3055 | 676 | show status like "Qcache_hits"; | ||
3056 | 677 | Variable_name Value | ||
3057 | 678 | Qcache_hits 17 | ||
3058 | 679 | select * from t1 | ||
3059 | 680 | /* comment in the end */ | ||
3060 | 681 | ; | ||
3061 | 682 | a | ||
3062 | 683 | 1 | ||
3063 | 684 | 2 | ||
3064 | 685 | 3 | ||
3065 | 686 | select * from t1 | ||
3066 | 687 | /* comment in the end */ | ||
3067 | 688 | ; | ||
3068 | 689 | a | ||
3069 | 690 | 1 | ||
3070 | 691 | 2 | ||
3071 | 692 | 3 | ||
3072 | 693 | show status like "Qcache_queries_in_cache"; | ||
3073 | 694 | Variable_name Value | ||
3074 | 695 | Qcache_queries_in_cache 18 | ||
3075 | 696 | show status like "Qcache_inserts"; | ||
3076 | 697 | Variable_name Value | ||
3077 | 698 | Qcache_inserts 18 | ||
3078 | 699 | show status like "Qcache_hits"; | ||
3079 | 700 | Variable_name Value | ||
3080 | 701 | Qcache_hits 19 | ||
3081 | 702 | ----------------------------------------------------- | ||
3082 | 703 | select * from t1 #comment in the end | ||
3083 | 704 | ----------------------------------------------------- | ||
3084 | 705 | show status like "Qcache_queries_in_cache"; | ||
3085 | 706 | Variable_name Value | ||
3086 | 707 | Qcache_queries_in_cache 18 | ||
3087 | 708 | show status like "Qcache_inserts"; | ||
3088 | 709 | Variable_name Value | ||
3089 | 710 | Qcache_inserts 18 | ||
3090 | 711 | show status like "Qcache_hits"; | ||
3091 | 712 | Variable_name Value | ||
3092 | 713 | Qcache_hits 19 | ||
3093 | 714 | select * from t1 #comment in the end; | ||
3094 | 715 | a | ||
3095 | 716 | 1 | ||
3096 | 717 | 2 | ||
3097 | 718 | 3 | ||
3098 | 719 | select * from t1 #comment in the end; | ||
3099 | 720 | a | ||
3100 | 721 | 1 | ||
3101 | 722 | 2 | ||
3102 | 723 | 3 | ||
3103 | 724 | show status like "Qcache_queries_in_cache"; | ||
3104 | 725 | Variable_name Value | ||
3105 | 726 | Qcache_queries_in_cache 19 | ||
3106 | 727 | show status like "Qcache_inserts"; | ||
3107 | 728 | Variable_name Value | ||
3108 | 729 | Qcache_inserts 19 | ||
3109 | 730 | show status like "Qcache_hits"; | ||
3110 | 731 | Variable_name Value | ||
3111 | 732 | Qcache_hits 20 | ||
3112 | 733 | ----------------------------------------------------- | ||
3113 | 734 | select * from t1 #comment in the end | ||
3114 | 735 | |||
3115 | 736 | ----------------------------------------------------- | ||
3116 | 737 | show status like "Qcache_queries_in_cache"; | ||
3117 | 738 | Variable_name Value | ||
3118 | 739 | Qcache_queries_in_cache 19 | ||
3119 | 740 | show status like "Qcache_inserts"; | ||
3120 | 741 | Variable_name Value | ||
3121 | 742 | Qcache_inserts 19 | ||
3122 | 743 | show status like "Qcache_hits"; | ||
3123 | 744 | Variable_name Value | ||
3124 | 745 | Qcache_hits 20 | ||
3125 | 746 | select * from t1 #comment in the end | ||
3126 | 747 | ; | ||
3127 | 748 | a | ||
3128 | 749 | 1 | ||
3129 | 750 | 2 | ||
3130 | 751 | 3 | ||
3131 | 752 | select * from t1 #comment in the end | ||
3132 | 753 | ; | ||
3133 | 754 | a | ||
3134 | 755 | 1 | ||
3135 | 756 | 2 | ||
3136 | 757 | 3 | ||
3137 | 758 | show status like "Qcache_queries_in_cache"; | ||
3138 | 759 | Variable_name Value | ||
3139 | 760 | Qcache_queries_in_cache 19 | ||
3140 | 761 | show status like "Qcache_inserts"; | ||
3141 | 762 | Variable_name Value | ||
3142 | 763 | Qcache_inserts 19 | ||
3143 | 764 | show status like "Qcache_hits"; | ||
3144 | 765 | Variable_name Value | ||
3145 | 766 | Qcache_hits 22 | ||
3146 | 767 | ----------------------------------------------------- | ||
3147 | 768 | select * from t1 -- comment in the end | ||
3148 | 769 | ----------------------------------------------------- | ||
3149 | 770 | show status like "Qcache_queries_in_cache"; | ||
3150 | 771 | Variable_name Value | ||
3151 | 772 | Qcache_queries_in_cache 19 | ||
3152 | 773 | show status like "Qcache_inserts"; | ||
3153 | 774 | Variable_name Value | ||
3154 | 775 | Qcache_inserts 19 | ||
3155 | 776 | show status like "Qcache_hits"; | ||
3156 | 777 | Variable_name Value | ||
3157 | 778 | Qcache_hits 22 | ||
3158 | 779 | select * from t1 -- comment in the end; | ||
3159 | 780 | a | ||
3160 | 781 | 1 | ||
3161 | 782 | 2 | ||
3162 | 783 | 3 | ||
3163 | 784 | select * from t1 -- comment in the end; | ||
3164 | 785 | a | ||
3165 | 786 | 1 | ||
3166 | 787 | 2 | ||
3167 | 788 | 3 | ||
3168 | 789 | show status like "Qcache_queries_in_cache"; | ||
3169 | 790 | Variable_name Value | ||
3170 | 791 | Qcache_queries_in_cache 20 | ||
3171 | 792 | show status like "Qcache_inserts"; | ||
3172 | 793 | Variable_name Value | ||
3173 | 794 | Qcache_inserts 20 | ||
3174 | 795 | show status like "Qcache_hits"; | ||
3175 | 796 | Variable_name Value | ||
3176 | 797 | Qcache_hits 23 | ||
3177 | 798 | ----------------------------------------------------- | ||
3178 | 799 | select * from t1 -- comment in the end | ||
3179 | 800 | |||
3180 | 801 | ----------------------------------------------------- | ||
3181 | 802 | show status like "Qcache_queries_in_cache"; | ||
3182 | 803 | Variable_name Value | ||
3183 | 804 | Qcache_queries_in_cache 20 | ||
3184 | 805 | show status like "Qcache_inserts"; | ||
3185 | 806 | Variable_name Value | ||
3186 | 807 | Qcache_inserts 20 | ||
3187 | 808 | show status like "Qcache_hits"; | ||
3188 | 809 | Variable_name Value | ||
3189 | 810 | Qcache_hits 23 | ||
3190 | 811 | select * from t1 -- comment in the end | ||
3191 | 812 | ; | ||
3192 | 813 | a | ||
3193 | 814 | 1 | ||
3194 | 815 | 2 | ||
3195 | 816 | 3 | ||
3196 | 817 | select * from t1 -- comment in the end | ||
3197 | 818 | ; | ||
3198 | 819 | a | ||
3199 | 820 | 1 | ||
3200 | 821 | 2 | ||
3201 | 822 | 3 | ||
3202 | 823 | show status like "Qcache_queries_in_cache"; | ||
3203 | 824 | Variable_name Value | ||
3204 | 825 | Qcache_queries_in_cache 20 | ||
3205 | 826 | show status like "Qcache_inserts"; | ||
3206 | 827 | Variable_name Value | ||
3207 | 828 | Qcache_inserts 20 | ||
3208 | 829 | show status like "Qcache_hits"; | ||
3209 | 830 | Variable_name Value | ||
3210 | 831 | Qcache_hits 25 | ||
3211 | 832 | ----------------------------------------------------- | ||
3212 | 833 | select ' \' ' from t1 | ||
3213 | 834 | ----------------------------------------------------- | ||
3214 | 835 | show status like "Qcache_queries_in_cache"; | ||
3215 | 836 | Variable_name Value | ||
3216 | 837 | Qcache_queries_in_cache 20 | ||
3217 | 838 | show status like "Qcache_inserts"; | ||
3218 | 839 | Variable_name Value | ||
3219 | 840 | Qcache_inserts 20 | ||
3220 | 841 | show status like "Qcache_hits"; | ||
3221 | 842 | Variable_name Value | ||
3222 | 843 | Qcache_hits 25 | ||
3223 | 844 | select ' \' ' from t1; | ||
3224 | 845 | ' | ||
3225 | 846 | ' | ||
3226 | 847 | ' | ||
3227 | 848 | ' | ||
3228 | 849 | select ' \' ' from t1; | ||
3229 | 850 | ' | ||
3230 | 851 | ' | ||
3231 | 852 | ' | ||
3232 | 853 | ' | ||
3233 | 854 | show status like "Qcache_queries_in_cache"; | ||
3234 | 855 | Variable_name Value | ||
3235 | 856 | Qcache_queries_in_cache 21 | ||
3236 | 857 | show status like "Qcache_inserts"; | ||
3237 | 858 | Variable_name Value | ||
3238 | 859 | Qcache_inserts 21 | ||
3239 | 860 | show status like "Qcache_hits"; | ||
3240 | 861 | Variable_name Value | ||
3241 | 862 | Qcache_hits 26 | ||
3242 | 863 | DROP TABLE t1; | ||
3243 | 864 | SET GLOBAL query_cache_size=default; | ||
3244 | 865 | set global query_cache_strip_comments=OFF; | ||
3245 | 866 | 0 | ||
3246 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.test' | |||
3247 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.test 2010-11-05 11:51:45 +0000 | |||
3248 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_disable.test 1970-01-01 00:00:00 +0000 | |||
3249 | @@ -1,3 +0,0 @@ | |||
3250 | 1 | -- source include/percona_query_cache_with_comments_begin.inc | ||
3251 | 2 | -- source include/percona_query_cache_with_comments.inc | ||
3252 | 3 | -- source include/percona_query_cache_with_comments_end.inc | ||
3253 | 4 | 0 | ||
3254 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_end.inc' | |||
3255 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_end.inc 2010-11-05 11:51:45 +0000 | |||
3256 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_end.inc 1970-01-01 00:00:00 +0000 | |||
3257 | @@ -1,3 +0,0 @@ | |||
3258 | 1 | DROP TABLE t1; | ||
3259 | 2 | SET GLOBAL query_cache_size=default; | ||
3260 | 3 | set global query_cache_strip_comments=OFF; | ||
3261 | 4 | 0 | ||
3262 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_eval.inc' | |||
3263 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_eval.inc 2010-11-05 11:51:45 +0000 | |||
3264 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_eval.inc 1970-01-01 00:00:00 +0000 | |||
3265 | @@ -1,7 +0,0 @@ | |||
3266 | 1 | echo -----------------------------------------------------; | ||
3267 | 2 | echo $query; | ||
3268 | 3 | echo -----------------------------------------------------; | ||
3269 | 4 | --source include/percona_query_cache_with_comments_show.inc | ||
3270 | 5 | eval $query; | ||
3271 | 6 | eval $query; | ||
3272 | 7 | --source include/percona_query_cache_with_comments_show.inc | ||
3273 | 8 | 0 | ||
3274 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.result' | |||
3275 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.result 2010-11-05 11:51:45 +0000 | |||
3276 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.result 1970-01-01 00:00:00 +0000 | |||
3277 | @@ -1,396 +0,0 @@ | |||
3278 | 1 | set GLOBAL query_cache_size=1355776; | ||
3279 | 2 | flush query cache; | ||
3280 | 3 | flush query cache; | ||
3281 | 4 | reset query cache; | ||
3282 | 5 | flush status; | ||
3283 | 6 | drop table if exists t1; | ||
3284 | 7 | create table t1 (a int not null); | ||
3285 | 8 | insert into t1 values (1),(2),(3); | ||
3286 | 9 | set global query_cache_strip_comments=ON; | ||
3287 | 10 | show status like "Qcache_queries_in_cache"; | ||
3288 | 11 | Variable_name Value | ||
3289 | 12 | Qcache_queries_in_cache 0 | ||
3290 | 13 | show status like "Qcache_inserts"; | ||
3291 | 14 | Variable_name Value | ||
3292 | 15 | Qcache_inserts 0 | ||
3293 | 16 | show status like "Qcache_hits"; | ||
3294 | 17 | Variable_name Value | ||
3295 | 18 | Qcache_hits 0 | ||
3296 | 19 | prepare stmt from '/* with comment */ select * from t1'; | ||
3297 | 20 | execute stmt; | ||
3298 | 21 | a | ||
3299 | 22 | 1 | ||
3300 | 23 | 2 | ||
3301 | 24 | 3 | ||
3302 | 25 | show status like "Qcache_queries_in_cache"; | ||
3303 | 26 | Variable_name Value | ||
3304 | 27 | Qcache_queries_in_cache 1 | ||
3305 | 28 | show status like "Qcache_inserts"; | ||
3306 | 29 | Variable_name Value | ||
3307 | 30 | Qcache_inserts 1 | ||
3308 | 31 | show status like "Qcache_hits"; | ||
3309 | 32 | Variable_name Value | ||
3310 | 33 | Qcache_hits 0 | ||
3311 | 34 | execute stmt; | ||
3312 | 35 | a | ||
3313 | 36 | 1 | ||
3314 | 37 | 2 | ||
3315 | 38 | 3 | ||
3316 | 39 | execute stmt; | ||
3317 | 40 | a | ||
3318 | 41 | 1 | ||
3319 | 42 | 2 | ||
3320 | 43 | 3 | ||
3321 | 44 | execute stmt; | ||
3322 | 45 | a | ||
3323 | 46 | 1 | ||
3324 | 47 | 2 | ||
3325 | 48 | 3 | ||
3326 | 49 | execute stmt; | ||
3327 | 50 | a | ||
3328 | 51 | 1 | ||
3329 | 52 | 2 | ||
3330 | 53 | 3 | ||
3331 | 54 | execute stmt; | ||
3332 | 55 | a | ||
3333 | 56 | 1 | ||
3334 | 57 | 2 | ||
3335 | 58 | 3 | ||
3336 | 59 | show status like "Qcache_queries_in_cache"; | ||
3337 | 60 | Variable_name Value | ||
3338 | 61 | Qcache_queries_in_cache 1 | ||
3339 | 62 | show status like "Qcache_inserts"; | ||
3340 | 63 | Variable_name Value | ||
3341 | 64 | Qcache_inserts 1 | ||
3342 | 65 | show status like "Qcache_hits"; | ||
3343 | 66 | Variable_name Value | ||
3344 | 67 | Qcache_hits 5 | ||
3345 | 68 | prepare stmt from 'select * from t1'; | ||
3346 | 69 | execute stmt; | ||
3347 | 70 | a | ||
3348 | 71 | 1 | ||
3349 | 72 | 2 | ||
3350 | 73 | 3 | ||
3351 | 74 | show status like "Qcache_queries_in_cache"; | ||
3352 | 75 | Variable_name Value | ||
3353 | 76 | Qcache_queries_in_cache 1 | ||
3354 | 77 | show status like "Qcache_inserts"; | ||
3355 | 78 | Variable_name Value | ||
3356 | 79 | Qcache_inserts 1 | ||
3357 | 80 | show status like "Qcache_hits"; | ||
3358 | 81 | Variable_name Value | ||
3359 | 82 | Qcache_hits 6 | ||
3360 | 83 | prepare stmt from 'select * /*internal comment*/from t1'; | ||
3361 | 84 | execute stmt; | ||
3362 | 85 | a | ||
3363 | 86 | 1 | ||
3364 | 87 | 2 | ||
3365 | 88 | 3 | ||
3366 | 89 | show status like "Qcache_queries_in_cache"; | ||
3367 | 90 | Variable_name Value | ||
3368 | 91 | Qcache_queries_in_cache 1 | ||
3369 | 92 | show status like "Qcache_inserts"; | ||
3370 | 93 | Variable_name Value | ||
3371 | 94 | Qcache_inserts 1 | ||
3372 | 95 | show status like "Qcache_hits"; | ||
3373 | 96 | Variable_name Value | ||
3374 | 97 | Qcache_hits 7 | ||
3375 | 98 | prepare stmt from 'select * /*internal comment*/ from t1'; | ||
3376 | 99 | execute stmt; | ||
3377 | 100 | a | ||
3378 | 101 | 1 | ||
3379 | 102 | 2 | ||
3380 | 103 | 3 | ||
3381 | 104 | show status like "Qcache_queries_in_cache"; | ||
3382 | 105 | Variable_name Value | ||
3383 | 106 | Qcache_queries_in_cache 1 | ||
3384 | 107 | show status like "Qcache_inserts"; | ||
3385 | 108 | Variable_name Value | ||
3386 | 109 | Qcache_inserts 1 | ||
3387 | 110 | show status like "Qcache_hits"; | ||
3388 | 111 | Variable_name Value | ||
3389 | 112 | Qcache_hits 8 | ||
3390 | 113 | prepare stmt from 'select * from t1 /* at the end */'; | ||
3391 | 114 | execute stmt; | ||
3392 | 115 | a | ||
3393 | 116 | 1 | ||
3394 | 117 | 2 | ||
3395 | 118 | 3 | ||
3396 | 119 | show status like "Qcache_queries_in_cache"; | ||
3397 | 120 | Variable_name Value | ||
3398 | 121 | Qcache_queries_in_cache 1 | ||
3399 | 122 | show status like "Qcache_inserts"; | ||
3400 | 123 | Variable_name Value | ||
3401 | 124 | Qcache_inserts 1 | ||
3402 | 125 | show status like "Qcache_hits"; | ||
3403 | 126 | Variable_name Value | ||
3404 | 127 | Qcache_hits 9 | ||
3405 | 128 | prepare stmt from 'select * from t1 /* with "quote" */'; | ||
3406 | 129 | execute stmt; | ||
3407 | 130 | a | ||
3408 | 131 | 1 | ||
3409 | 132 | 2 | ||
3410 | 133 | 3 | ||
3411 | 134 | show status like "Qcache_queries_in_cache"; | ||
3412 | 135 | Variable_name Value | ||
3413 | 136 | Qcache_queries_in_cache 1 | ||
3414 | 137 | show status like "Qcache_inserts"; | ||
3415 | 138 | Variable_name Value | ||
3416 | 139 | Qcache_inserts 1 | ||
3417 | 140 | show status like "Qcache_hits"; | ||
3418 | 141 | Variable_name Value | ||
3419 | 142 | Qcache_hits 10 | ||
3420 | 143 | prepare stmt from 'select * from t1 /* with \'quote\' */'; | ||
3421 | 144 | execute stmt; | ||
3422 | 145 | a | ||
3423 | 146 | 1 | ||
3424 | 147 | 2 | ||
3425 | 148 | 3 | ||
3426 | 149 | show status like "Qcache_queries_in_cache"; | ||
3427 | 150 | Variable_name Value | ||
3428 | 151 | Qcache_queries_in_cache 1 | ||
3429 | 152 | show status like "Qcache_inserts"; | ||
3430 | 153 | Variable_name Value | ||
3431 | 154 | Qcache_inserts 1 | ||
3432 | 155 | show status like "Qcache_hits"; | ||
3433 | 156 | Variable_name Value | ||
3434 | 157 | Qcache_hits 11 | ||
3435 | 158 | prepare stmt from 'select * from t1 # 123 | ||
3436 | 159 | '; | ||
3437 | 160 | execute stmt; | ||
3438 | 161 | a | ||
3439 | 162 | 1 | ||
3440 | 163 | 2 | ||
3441 | 164 | 3 | ||
3442 | 165 | show status like "Qcache_queries_in_cache"; | ||
3443 | 166 | Variable_name Value | ||
3444 | 167 | Qcache_queries_in_cache 1 | ||
3445 | 168 | show status like "Qcache_inserts"; | ||
3446 | 169 | Variable_name Value | ||
3447 | 170 | Qcache_inserts 1 | ||
3448 | 171 | show status like "Qcache_hits"; | ||
3449 | 172 | Variable_name Value | ||
3450 | 173 | Qcache_hits 12 | ||
3451 | 174 | prepare stmt from 'select * from t1 # 123 with "quote" | ||
3452 | 175 | '; | ||
3453 | 176 | execute stmt; | ||
3454 | 177 | a | ||
3455 | 178 | 1 | ||
3456 | 179 | 2 | ||
3457 | 180 | 3 | ||
3458 | 181 | show status like "Qcache_queries_in_cache"; | ||
3459 | 182 | Variable_name Value | ||
3460 | 183 | Qcache_queries_in_cache 1 | ||
3461 | 184 | show status like "Qcache_inserts"; | ||
3462 | 185 | Variable_name Value | ||
3463 | 186 | Qcache_inserts 1 | ||
3464 | 187 | show status like "Qcache_hits"; | ||
3465 | 188 | Variable_name Value | ||
3466 | 189 | Qcache_hits 13 | ||
3467 | 190 | prepare stmt from 'select * from t1 # 123 with \'quote\' | ||
3468 | 191 | '; | ||
3469 | 192 | execute stmt; | ||
3470 | 193 | a | ||
3471 | 194 | 1 | ||
3472 | 195 | 2 | ||
3473 | 196 | 3 | ||
3474 | 197 | show status like "Qcache_queries_in_cache"; | ||
3475 | 198 | Variable_name Value | ||
3476 | 199 | Qcache_queries_in_cache 1 | ||
3477 | 200 | show status like "Qcache_inserts"; | ||
3478 | 201 | Variable_name Value | ||
3479 | 202 | Qcache_inserts 1 | ||
3480 | 203 | show status like "Qcache_hits"; | ||
3481 | 204 | Variable_name Value | ||
3482 | 205 | Qcache_hits 14 | ||
3483 | 206 | prepare stmt from 'select * from t1 | ||
3484 | 207 | # 123 | ||
3485 | 208 | '; | ||
3486 | 209 | execute stmt; | ||
3487 | 210 | a | ||
3488 | 211 | 1 | ||
3489 | 212 | 2 | ||
3490 | 213 | 3 | ||
3491 | 214 | show status like "Qcache_queries_in_cache"; | ||
3492 | 215 | Variable_name Value | ||
3493 | 216 | Qcache_queries_in_cache 1 | ||
3494 | 217 | show status like "Qcache_inserts"; | ||
3495 | 218 | Variable_name Value | ||
3496 | 219 | Qcache_inserts 1 | ||
3497 | 220 | show status like "Qcache_hits"; | ||
3498 | 221 | Variable_name Value | ||
3499 | 222 | Qcache_hits 15 | ||
3500 | 223 | prepare stmt from '#456 | ||
3501 | 224 | select * from t1 | ||
3502 | 225 | # 123 | ||
3503 | 226 | '; | ||
3504 | 227 | execute stmt; | ||
3505 | 228 | a | ||
3506 | 229 | 1 | ||
3507 | 230 | 2 | ||
3508 | 231 | 3 | ||
3509 | 232 | show status like "Qcache_queries_in_cache"; | ||
3510 | 233 | Variable_name Value | ||
3511 | 234 | Qcache_queries_in_cache 1 | ||
3512 | 235 | show status like "Qcache_inserts"; | ||
3513 | 236 | Variable_name Value | ||
3514 | 237 | Qcache_inserts 1 | ||
3515 | 238 | show status like "Qcache_hits"; | ||
3516 | 239 | Variable_name Value | ||
3517 | 240 | Qcache_hits 16 | ||
3518 | 241 | prepare stmt from 'select * from t1 -- 123 | ||
3519 | 242 | '; | ||
3520 | 243 | execute stmt; | ||
3521 | 244 | a | ||
3522 | 245 | 1 | ||
3523 | 246 | 2 | ||
3524 | 247 | 3 | ||
3525 | 248 | show status like "Qcache_queries_in_cache"; | ||
3526 | 249 | Variable_name Value | ||
3527 | 250 | Qcache_queries_in_cache 1 | ||
3528 | 251 | show status like "Qcache_inserts"; | ||
3529 | 252 | Variable_name Value | ||
3530 | 253 | Qcache_inserts 1 | ||
3531 | 254 | show status like "Qcache_hits"; | ||
3532 | 255 | Variable_name Value | ||
3533 | 256 | Qcache_hits 17 | ||
3534 | 257 | prepare stmt from 'select * from t1 | ||
3535 | 258 | -- 123 | ||
3536 | 259 | '; | ||
3537 | 260 | execute stmt; | ||
3538 | 261 | a | ||
3539 | 262 | 1 | ||
3540 | 263 | 2 | ||
3541 | 264 | 3 | ||
3542 | 265 | show status like "Qcache_queries_in_cache"; | ||
3543 | 266 | Variable_name Value | ||
3544 | 267 | Qcache_queries_in_cache 1 | ||
3545 | 268 | show status like "Qcache_inserts"; | ||
3546 | 269 | Variable_name Value | ||
3547 | 270 | Qcache_inserts 1 | ||
3548 | 271 | show status like "Qcache_hits"; | ||
3549 | 272 | Variable_name Value | ||
3550 | 273 | Qcache_hits 18 | ||
3551 | 274 | prepare stmt from '-- comment in first | ||
3552 | 275 | select * from t1 | ||
3553 | 276 | # 123 | ||
3554 | 277 | '; | ||
3555 | 278 | execute stmt; | ||
3556 | 279 | a | ||
3557 | 280 | 1 | ||
3558 | 281 | 2 | ||
3559 | 282 | 3 | ||
3560 | 283 | show status like "Qcache_queries_in_cache"; | ||
3561 | 284 | Variable_name Value | ||
3562 | 285 | Qcache_queries_in_cache 1 | ||
3563 | 286 | show status like "Qcache_inserts"; | ||
3564 | 287 | Variable_name Value | ||
3565 | 288 | Qcache_inserts 1 | ||
3566 | 289 | show status like "Qcache_hits"; | ||
3567 | 290 | Variable_name Value | ||
3568 | 291 | Qcache_hits 19 | ||
3569 | 292 | prepare stmt from '(#456( | ||
3570 | 293 | select * from t1 | ||
3571 | 294 | # 123( | ||
3572 | 295 | )'; | ||
3573 | 296 | execute stmt; | ||
3574 | 297 | a | ||
3575 | 298 | 1 | ||
3576 | 299 | 2 | ||
3577 | 300 | 3 | ||
3578 | 301 | show status like "Qcache_queries_in_cache"; | ||
3579 | 302 | Variable_name Value | ||
3580 | 303 | Qcache_queries_in_cache 2 | ||
3581 | 304 | show status like "Qcache_inserts"; | ||
3582 | 305 | Variable_name Value | ||
3583 | 306 | Qcache_inserts 2 | ||
3584 | 307 | show status like "Qcache_hits"; | ||
3585 | 308 | Variable_name Value | ||
3586 | 309 | Qcache_hits 19 | ||
3587 | 310 | prepare stmt from '/*test*/(-- comment in first( | ||
3588 | 311 | select * from t1 | ||
3589 | 312 | -- 123 asdasd | ||
3590 | 313 | /* test */)'; | ||
3591 | 314 | execute stmt; | ||
3592 | 315 | a | ||
3593 | 316 | 1 | ||
3594 | 317 | 2 | ||
3595 | 318 | 3 | ||
3596 | 319 | show status like "Qcache_queries_in_cache"; | ||
3597 | 320 | Variable_name Value | ||
3598 | 321 | Qcache_queries_in_cache 2 | ||
3599 | 322 | show status like "Qcache_inserts"; | ||
3600 | 323 | Variable_name Value | ||
3601 | 324 | Qcache_inserts 2 | ||
3602 | 325 | show status like "Qcache_hits"; | ||
3603 | 326 | Variable_name Value | ||
3604 | 327 | Qcache_hits 20 | ||
3605 | 328 | prepare stmt from 'select "test",a from t1'; | ||
3606 | 329 | execute stmt; | ||
3607 | 330 | test a | ||
3608 | 331 | test 1 | ||
3609 | 332 | test 2 | ||
3610 | 333 | test 3 | ||
3611 | 334 | execute stmt; | ||
3612 | 335 | test a | ||
3613 | 336 | test 1 | ||
3614 | 337 | test 2 | ||
3615 | 338 | test 3 | ||
3616 | 339 | show status like "Qcache_queries_in_cache"; | ||
3617 | 340 | Variable_name Value | ||
3618 | 341 | Qcache_queries_in_cache 3 | ||
3619 | 342 | show status like "Qcache_inserts"; | ||
3620 | 343 | Variable_name Value | ||
3621 | 344 | Qcache_inserts 3 | ||
3622 | 345 | show status like "Qcache_hits"; | ||
3623 | 346 | Variable_name Value | ||
3624 | 347 | Qcache_hits 21 | ||
3625 | 348 | prepare stmt from 'select "test /* internal \'comment\' */",a from t1'; | ||
3626 | 349 | execute stmt; | ||
3627 | 350 | test /* internal 'comment' */ a | ||
3628 | 351 | test /* internal 'comment' */ 1 | ||
3629 | 352 | test /* internal 'comment' */ 2 | ||
3630 | 353 | test /* internal 'comment' */ 3 | ||
3631 | 354 | show status like "Qcache_queries_in_cache"; | ||
3632 | 355 | Variable_name Value | ||
3633 | 356 | Qcache_queries_in_cache 4 | ||
3634 | 357 | show status like "Qcache_inserts"; | ||
3635 | 358 | Variable_name Value | ||
3636 | 359 | Qcache_inserts 4 | ||
3637 | 360 | show status like "Qcache_hits"; | ||
3638 | 361 | Variable_name Value | ||
3639 | 362 | Qcache_hits 21 | ||
3640 | 363 | prepare stmt from 'select "test #internal comment" ,a from t1'; | ||
3641 | 364 | execute stmt; | ||
3642 | 365 | test #internal comment a | ||
3643 | 366 | test #internal comment 1 | ||
3644 | 367 | test #internal comment 2 | ||
3645 | 368 | test #internal comment 3 | ||
3646 | 369 | show status like "Qcache_queries_in_cache"; | ||
3647 | 370 | Variable_name Value | ||
3648 | 371 | Qcache_queries_in_cache 5 | ||
3649 | 372 | show status like "Qcache_inserts"; | ||
3650 | 373 | Variable_name Value | ||
3651 | 374 | Qcache_inserts 5 | ||
3652 | 375 | show status like "Qcache_hits"; | ||
3653 | 376 | Variable_name Value | ||
3654 | 377 | Qcache_hits 21 | ||
3655 | 378 | prepare stmt from 'select "test #internal comment" #external comment | ||
3656 | 379 | ,a from t1'; | ||
3657 | 380 | execute stmt; | ||
3658 | 381 | test #internal comment a | ||
3659 | 382 | test #internal comment 1 | ||
3660 | 383 | test #internal comment 2 | ||
3661 | 384 | test #internal comment 3 | ||
3662 | 385 | show status like "Qcache_queries_in_cache"; | ||
3663 | 386 | Variable_name Value | ||
3664 | 387 | Qcache_queries_in_cache 5 | ||
3665 | 388 | show status like "Qcache_inserts"; | ||
3666 | 389 | Variable_name Value | ||
3667 | 390 | Qcache_inserts 5 | ||
3668 | 391 | show status like "Qcache_hits"; | ||
3669 | 392 | Variable_name Value | ||
3670 | 393 | Qcache_hits 22 | ||
3671 | 394 | DROP TABLE t1; | ||
3672 | 395 | SET GLOBAL query_cache_size= default; | ||
3673 | 396 | set global query_cache_strip_comments=OFF; | ||
3674 | 397 | 0 | ||
3675 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.test' | |||
3676 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.test 2010-11-05 11:51:45 +0000 | |||
3677 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_prepared_statements.test 1970-01-01 00:00:00 +0000 | |||
3678 | @@ -1,208 +0,0 @@ | |||
3679 | 1 | -- source include/have_query_cache.inc | ||
3680 | 2 | |||
3681 | 3 | set GLOBAL query_cache_size=1355776; | ||
3682 | 4 | |||
3683 | 5 | # Reset query cache variables. | ||
3684 | 6 | flush query cache; # This crashed in some versions | ||
3685 | 7 | flush query cache; # This crashed in some versions | ||
3686 | 8 | reset query cache; | ||
3687 | 9 | flush status; | ||
3688 | 10 | --disable_warnings | ||
3689 | 11 | drop table if exists t1; | ||
3690 | 12 | --enable_warnings | ||
3691 | 13 | |||
3692 | 14 | # | ||
3693 | 15 | # First simple test | ||
3694 | 16 | # | ||
3695 | 17 | |||
3696 | 18 | create table t1 (a int not null); | ||
3697 | 19 | insert into t1 values (1),(2),(3); | ||
3698 | 20 | |||
3699 | 21 | set global query_cache_strip_comments=ON; | ||
3700 | 22 | |||
3701 | 23 | show status like "Qcache_queries_in_cache"; | ||
3702 | 24 | show status like "Qcache_inserts"; | ||
3703 | 25 | show status like "Qcache_hits"; | ||
3704 | 26 | |||
3705 | 27 | prepare stmt from '/* with comment */ select * from t1'; | ||
3706 | 28 | execute stmt; | ||
3707 | 29 | |||
3708 | 30 | show status like "Qcache_queries_in_cache"; | ||
3709 | 31 | show status like "Qcache_inserts"; | ||
3710 | 32 | show status like "Qcache_hits"; | ||
3711 | 33 | |||
3712 | 34 | execute stmt; | ||
3713 | 35 | execute stmt; | ||
3714 | 36 | execute stmt; | ||
3715 | 37 | execute stmt; | ||
3716 | 38 | execute stmt; | ||
3717 | 39 | |||
3718 | 40 | show status like "Qcache_queries_in_cache"; | ||
3719 | 41 | show status like "Qcache_inserts"; | ||
3720 | 42 | show status like "Qcache_hits"; | ||
3721 | 43 | |||
3722 | 44 | prepare stmt from 'select * from t1'; | ||
3723 | 45 | execute stmt; | ||
3724 | 46 | |||
3725 | 47 | show status like "Qcache_queries_in_cache"; | ||
3726 | 48 | show status like "Qcache_inserts"; | ||
3727 | 49 | show status like "Qcache_hits"; | ||
3728 | 50 | |||
3729 | 51 | prepare stmt from 'select * /*internal comment*/from t1'; | ||
3730 | 52 | execute stmt; | ||
3731 | 53 | |||
3732 | 54 | show status like "Qcache_queries_in_cache"; | ||
3733 | 55 | show status like "Qcache_inserts"; | ||
3734 | 56 | show status like "Qcache_hits"; | ||
3735 | 57 | |||
3736 | 58 | prepare stmt from 'select * /*internal comment*/ from t1'; | ||
3737 | 59 | execute stmt; | ||
3738 | 60 | |||
3739 | 61 | show status like "Qcache_queries_in_cache"; | ||
3740 | 62 | show status like "Qcache_inserts"; | ||
3741 | 63 | show status like "Qcache_hits"; | ||
3742 | 64 | |||
3743 | 65 | prepare stmt from 'select * from t1 /* at the end */'; | ||
3744 | 66 | execute stmt; | ||
3745 | 67 | |||
3746 | 68 | show status like "Qcache_queries_in_cache"; | ||
3747 | 69 | show status like "Qcache_inserts"; | ||
3748 | 70 | show status like "Qcache_hits"; | ||
3749 | 71 | |||
3750 | 72 | prepare stmt from 'select * from t1 /* with "quote" */'; | ||
3751 | 73 | execute stmt; | ||
3752 | 74 | |||
3753 | 75 | show status like "Qcache_queries_in_cache"; | ||
3754 | 76 | show status like "Qcache_inserts"; | ||
3755 | 77 | show status like "Qcache_hits"; | ||
3756 | 78 | |||
3757 | 79 | prepare stmt from 'select * from t1 /* with \'quote\' */'; | ||
3758 | 80 | execute stmt; | ||
3759 | 81 | |||
3760 | 82 | show status like "Qcache_queries_in_cache"; | ||
3761 | 83 | show status like "Qcache_inserts"; | ||
3762 | 84 | show status like "Qcache_hits"; | ||
3763 | 85 | |||
3764 | 86 | prepare stmt from 'select * from t1 # 123 | ||
3765 | 87 | '; | ||
3766 | 88 | execute stmt; | ||
3767 | 89 | |||
3768 | 90 | show status like "Qcache_queries_in_cache"; | ||
3769 | 91 | show status like "Qcache_inserts"; | ||
3770 | 92 | show status like "Qcache_hits"; | ||
3771 | 93 | |||
3772 | 94 | prepare stmt from 'select * from t1 # 123 with "quote" | ||
3773 | 95 | '; | ||
3774 | 96 | execute stmt; | ||
3775 | 97 | |||
3776 | 98 | show status like "Qcache_queries_in_cache"; | ||
3777 | 99 | show status like "Qcache_inserts"; | ||
3778 | 100 | show status like "Qcache_hits"; | ||
3779 | 101 | |||
3780 | 102 | prepare stmt from 'select * from t1 # 123 with \'quote\' | ||
3781 | 103 | '; | ||
3782 | 104 | execute stmt; | ||
3783 | 105 | |||
3784 | 106 | show status like "Qcache_queries_in_cache"; | ||
3785 | 107 | show status like "Qcache_inserts"; | ||
3786 | 108 | show status like "Qcache_hits"; | ||
3787 | 109 | |||
3788 | 110 | prepare stmt from 'select * from t1 | ||
3789 | 111 | # 123 | ||
3790 | 112 | '; | ||
3791 | 113 | execute stmt; | ||
3792 | 114 | |||
3793 | 115 | show status like "Qcache_queries_in_cache"; | ||
3794 | 116 | show status like "Qcache_inserts"; | ||
3795 | 117 | show status like "Qcache_hits"; | ||
3796 | 118 | |||
3797 | 119 | prepare stmt from '#456 | ||
3798 | 120 | select * from t1 | ||
3799 | 121 | # 123 | ||
3800 | 122 | '; | ||
3801 | 123 | execute stmt; | ||
3802 | 124 | |||
3803 | 125 | show status like "Qcache_queries_in_cache"; | ||
3804 | 126 | show status like "Qcache_inserts"; | ||
3805 | 127 | show status like "Qcache_hits"; | ||
3806 | 128 | |||
3807 | 129 | prepare stmt from 'select * from t1 -- 123 | ||
3808 | 130 | '; | ||
3809 | 131 | execute stmt; | ||
3810 | 132 | |||
3811 | 133 | show status like "Qcache_queries_in_cache"; | ||
3812 | 134 | show status like "Qcache_inserts"; | ||
3813 | 135 | show status like "Qcache_hits"; | ||
3814 | 136 | |||
3815 | 137 | prepare stmt from 'select * from t1 | ||
3816 | 138 | -- 123 | ||
3817 | 139 | '; | ||
3818 | 140 | execute stmt; | ||
3819 | 141 | |||
3820 | 142 | show status like "Qcache_queries_in_cache"; | ||
3821 | 143 | show status like "Qcache_inserts"; | ||
3822 | 144 | show status like "Qcache_hits"; | ||
3823 | 145 | |||
3824 | 146 | prepare stmt from '-- comment in first | ||
3825 | 147 | select * from t1 | ||
3826 | 148 | # 123 | ||
3827 | 149 | '; | ||
3828 | 150 | execute stmt; | ||
3829 | 151 | |||
3830 | 152 | show status like "Qcache_queries_in_cache"; | ||
3831 | 153 | show status like "Qcache_inserts"; | ||
3832 | 154 | show status like "Qcache_hits"; | ||
3833 | 155 | |||
3834 | 156 | prepare stmt from '(#456( | ||
3835 | 157 | select * from t1 | ||
3836 | 158 | # 123( | ||
3837 | 159 | )'; | ||
3838 | 160 | execute stmt; | ||
3839 | 161 | |||
3840 | 162 | show status like "Qcache_queries_in_cache"; | ||
3841 | 163 | show status like "Qcache_inserts"; | ||
3842 | 164 | show status like "Qcache_hits"; | ||
3843 | 165 | |||
3844 | 166 | prepare stmt from '/*test*/(-- comment in first( | ||
3845 | 167 | select * from t1 | ||
3846 | 168 | -- 123 asdasd | ||
3847 | 169 | /* test */)'; | ||
3848 | 170 | execute stmt; | ||
3849 | 171 | |||
3850 | 172 | show status like "Qcache_queries_in_cache"; | ||
3851 | 173 | show status like "Qcache_inserts"; | ||
3852 | 174 | show status like "Qcache_hits"; | ||
3853 | 175 | |||
3854 | 176 | prepare stmt from 'select "test",a from t1'; | ||
3855 | 177 | execute stmt; | ||
3856 | 178 | execute stmt; | ||
3857 | 179 | |||
3858 | 180 | show status like "Qcache_queries_in_cache"; | ||
3859 | 181 | show status like "Qcache_inserts"; | ||
3860 | 182 | show status like "Qcache_hits"; | ||
3861 | 183 | |||
3862 | 184 | prepare stmt from 'select "test /* internal \'comment\' */",a from t1'; | ||
3863 | 185 | execute stmt; | ||
3864 | 186 | |||
3865 | 187 | show status like "Qcache_queries_in_cache"; | ||
3866 | 188 | show status like "Qcache_inserts"; | ||
3867 | 189 | show status like "Qcache_hits"; | ||
3868 | 190 | |||
3869 | 191 | prepare stmt from 'select "test #internal comment" ,a from t1'; | ||
3870 | 192 | execute stmt; | ||
3871 | 193 | |||
3872 | 194 | show status like "Qcache_queries_in_cache"; | ||
3873 | 195 | show status like "Qcache_inserts"; | ||
3874 | 196 | show status like "Qcache_hits"; | ||
3875 | 197 | |||
3876 | 198 | prepare stmt from 'select "test #internal comment" #external comment | ||
3877 | 199 | ,a from t1'; | ||
3878 | 200 | execute stmt; | ||
3879 | 201 | |||
3880 | 202 | show status like "Qcache_queries_in_cache"; | ||
3881 | 203 | show status like "Qcache_inserts"; | ||
3882 | 204 | show status like "Qcache_hits"; | ||
3883 | 205 | |||
3884 | 206 | DROP TABLE t1; | ||
3885 | 207 | SET GLOBAL query_cache_size= default; | ||
3886 | 208 | set global query_cache_strip_comments=OFF; | ||
3887 | 209 | 0 | ||
3888 | === removed file 'mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_show.inc' | |||
3889 | --- mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_show.inc 2010-11-05 11:51:45 +0000 | |||
3890 | +++ mysql-test/query_cache_enhance.patch/percona_query_cache_with_comments_show.inc 1970-01-01 00:00:00 +0000 | |||
3891 | @@ -1,8 +0,0 @@ | |||
3892 | 1 | let $show=show status like "Qcache_queries_in_cache"; | ||
3893 | 2 | eval $show; | ||
3894 | 3 | let $show=show status like "Qcache_inserts"; | ||
3895 | 4 | eval $show; | ||
3896 | 5 | let $show=show status like "Qcache_hits"; | ||
3897 | 6 | eval $show; | ||
3898 | 7 | |||
3899 | 8 | |||
3900 | 9 | 0 | ||
3901 | === removed file 'mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.result' | |||
3902 | --- mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.result 2010-11-05 11:51:45 +0000 | |||
3903 | +++ mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.result 1970-01-01 00:00:00 +0000 | |||
3904 | @@ -1,27 +0,0 @@ | |||
3905 | 1 | set GLOBAL query_cache_size=1355776; | ||
3906 | 2 | flush query cache; | ||
3907 | 3 | flush query cache; | ||
3908 | 4 | reset query cache; | ||
3909 | 5 | flush status; | ||
3910 | 6 | DROP TABLE IF EXISTS t; | ||
3911 | 7 | CREATE TABLE t(id INT, number INT); | ||
3912 | 8 | INSERT INTO t VALUES (0,1); | ||
3913 | 9 | INSERT INTO t VALUES (1,2); | ||
3914 | 10 | INSERT INTO t VALUES (2,3); | ||
3915 | 11 | SELECT number from t where id > 0; | ||
3916 | 12 | number | ||
3917 | 13 | 2 | ||
3918 | 14 | 3 | ||
3919 | 15 | SET SESSION debug="+d,status_wait_query_cache_mutex_sleep"; | ||
3920 | 16 | SELECT number from t where id > 0; | ||
3921 | 17 | SET SESSION debug="+d,status_wait_query_cache_mutex_sleep"; | ||
3922 | 18 | SELECT number from t where id > 0; | ||
3923 | 19 | SET SESSION debug="+d,status_wait_query_cache_mutex_sleep"; | ||
3924 | 20 | SHOW PROCESSLIST; | ||
3925 | 21 | Id User Host db Command Time State Info | ||
3926 | 22 | Id root localhost test Sleep Time NULL | ||
3927 | 23 | Id root localhost test Query Time Waiting on query cache mutex SELECT number from t where id > 0 | ||
3928 | 24 | Id root localhost test Query Time Waiting on query cache mutex SELECT number from t where id > 0 | ||
3929 | 25 | Id root localhost test Query Time NULL SHOW PROCESSLIST | ||
3930 | 26 | DROP TABLE t; | ||
3931 | 27 | set GLOBAL query_cache_size=0; | ||
3932 | 28 | 0 | ||
3933 | === removed file 'mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.test' | |||
3934 | --- mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.test 2010-12-06 03:50:48 +0000 | |||
3935 | +++ mysql-test/query_cache_enhance.patch/percona_status_wait_query_cache_mutex.test 1970-01-01 00:00:00 +0000 | |||
3936 | @@ -1,37 +0,0 @@ | |||
3937 | 1 | --source include/have_query_cache.inc | ||
3938 | 2 | --source include/have_debug.inc | ||
3939 | 3 | set GLOBAL query_cache_size=1355776; | ||
3940 | 4 | --source include/percona_query_cache_with_comments_clear.inc | ||
3941 | 5 | |||
3942 | 6 | -- disable_warnings | ||
3943 | 7 | DROP TABLE IF EXISTS t; | ||
3944 | 8 | -- enable_warnings | ||
3945 | 9 | CREATE TABLE t(id INT, number INT); | ||
3946 | 10 | INSERT INTO t VALUES (0,1); | ||
3947 | 11 | INSERT INTO t VALUES (1,2); | ||
3948 | 12 | INSERT INTO t VALUES (2,3); | ||
3949 | 13 | SELECT number from t where id > 0; | ||
3950 | 14 | --connect (conn0,localhost,root,,) | ||
3951 | 15 | --connect (conn1,localhost,root,,) | ||
3952 | 16 | --connect (conn2,localhost,root,,) | ||
3953 | 17 | |||
3954 | 18 | --connection conn0 | ||
3955 | 19 | --error 0, ER_UNKNOWN_SYSTEM_VARIABLE | ||
3956 | 20 | SET SESSION debug="+d,status_wait_query_cache_mutex_sleep"; | ||
3957 | 21 | SEND SELECT number from t where id > 0; | ||
3958 | 22 | SLEEP 1.0; | ||
3959 | 23 | |||
3960 | 24 | --connection conn1 | ||
3961 | 25 | --error 0, ER_UNKNOWN_SYSTEM_VARIABLE | ||
3962 | 26 | SET SESSION debug="+d,status_wait_query_cache_mutex_sleep"; | ||
3963 | 27 | SEND SELECT number from t where id > 0; | ||
3964 | 28 | SLEEP 1.0; | ||
3965 | 29 | |||
3966 | 30 | --connection conn2 | ||
3967 | 31 | --error 0, ER_UNKNOWN_SYSTEM_VARIABLE | ||
3968 | 32 | SET SESSION debug="+d,status_wait_query_cache_mutex_sleep"; | ||
3969 | 33 | --replace_column 1 Id 6 Time | ||
3970 | 34 | SHOW PROCESSLIST; | ||
3971 | 35 | |||
3972 | 36 | DROP TABLE t; | ||
3973 | 37 | set GLOBAL query_cache_size=0; | ||
3974 | 38 | 0 | ||
3975 | === removed directory 'mysql-test/show_slave_status_nolock.patch' | |||
3976 | === removed file 'mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.result' | |||
3977 | --- mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.result 2011-03-01 10:05:10 +0000 | |||
3978 | +++ mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.result 1970-01-01 00:00:00 +0000 | |||
3979 | @@ -1,21 +0,0 @@ | |||
3980 | 1 | include/master-slave.inc | ||
3981 | 2 | [connection master] | ||
3982 | 3 | DROP TABLE IF EXISTS t; | ||
3983 | 4 | CREATE TABLE t(id INT); | ||
3984 | 5 | INSERT INTO t SELECT SLEEP(10); | ||
3985 | 6 | STOP SLAVE; | ||
3986 | 7 | Warnings: | ||
3987 | 8 | Note 1592 Statement may not be safe to log in statement format. | ||
3988 | 9 | master count(*) | ||
3989 | 10 | master 1 | ||
3990 | 11 | slave count(*) | ||
3991 | 12 | slave 0 | ||
3992 | 13 | SHOW SLAVE STATUS NOLOCK; | ||
3993 | 14 | include/wait_for_slave_to_stop.inc | ||
3994 | 15 | START SLAVE; | ||
3995 | 16 | include/wait_for_slave_to_start.inc | ||
3996 | 17 | slave count(*) | ||
3997 | 18 | slave 1 | ||
3998 | 19 | DROP TABLE t; | ||
3999 | 20 | STOP SLAVE; | ||
4000 | 21 | include/wait_for_slave_to_stop.inc | ||
4001 | 22 | 0 | ||
4002 | === removed file 'mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.test' | |||
4003 | --- mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.test 2011-03-01 10:05:10 +0000 | |||
4004 | +++ mysql-test/show_slave_status_nolock.patch/percona_show_slave_status_nolock.test 1970-01-01 00:00:00 +0000 | |||
4005 | @@ -1,50 +0,0 @@ | |||
4006 | 1 | --source include/master-slave.inc | ||
4007 | 2 | --source include/have_binlog_format_statement.inc | ||
4008 | 3 | |||
4009 | 4 | connection master; | ||
4010 | 5 | --disable_warnings | ||
4011 | 6 | DROP TABLE IF EXISTS t; | ||
4012 | 7 | --enable_warnings | ||
4013 | 8 | CREATE TABLE t(id INT); | ||
4014 | 9 | sync_slave_with_master; | ||
4015 | 10 | |||
4016 | 11 | connection master; | ||
4017 | 12 | send INSERT INTO t SELECT SLEEP(10); | ||
4018 | 13 | |||
4019 | 14 | connection slave; | ||
4020 | 15 | sleep 15; | ||
4021 | 16 | send STOP SLAVE; | ||
4022 | 17 | |||
4023 | 18 | connection master; | ||
4024 | 19 | reap; | ||
4025 | 20 | |||
4026 | 21 | --disable_query_log | ||
4027 | 22 | select "master",count(*) from t; | ||
4028 | 23 | --enable_query_log | ||
4029 | 24 | |||
4030 | 25 | connection slave1; | ||
4031 | 26 | --disable_query_log | ||
4032 | 27 | select "slave",count(*) from t; | ||
4033 | 28 | --enable_query_log | ||
4034 | 29 | |||
4035 | 30 | --disable_result_log | ||
4036 | 31 | SHOW SLAVE STATUS NOLOCK; | ||
4037 | 32 | --enable_result_log | ||
4038 | 33 | |||
4039 | 34 | connection slave; | ||
4040 | 35 | reap; | ||
4041 | 36 | |||
4042 | 37 | --source include/wait_for_slave_to_stop.inc | ||
4043 | 38 | START SLAVE; | ||
4044 | 39 | --source include/wait_for_slave_to_start.inc | ||
4045 | 40 | |||
4046 | 41 | --disable_query_log | ||
4047 | 42 | select "slave",count(*) from t; | ||
4048 | 43 | --enable_query_log | ||
4049 | 44 | |||
4050 | 45 | connection master; | ||
4051 | 46 | DROP TABLE t; | ||
4052 | 47 | sync_slave_with_master; | ||
4053 | 48 | |||
4054 | 49 | STOP SLAVE; | ||
4055 | 50 | --source include/wait_for_slave_to_stop.inc | ||
4056 | 51 | 0 | ||
4057 | === removed directory 'mysql-test/sql_no_fcache.patch' | |||
4058 | === removed file 'mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.result' | |||
4059 | --- mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.result 2010-11-05 11:57:13 +0000 | |||
4060 | +++ mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.result 1970-01-01 00:00:00 +0000 | |||
4061 | @@ -1,12 +0,0 @@ | |||
4062 | 1 | drop table if exists t1; | ||
4063 | 2 | create table t (a int not null); | ||
4064 | 3 | insert into t values (1),(2),(3); | ||
4065 | 4 | SELECT SQL_NO_FCACHE SLEEP(0); | ||
4066 | 5 | SLEEP(0) | ||
4067 | 6 | 0 | ||
4068 | 7 | SELECT /*!40001 SQL_NO_CACHE */ /*!50084 SQL_NO_FCACHE */ * FROM t; | ||
4069 | 8 | a | ||
4070 | 9 | 1 | ||
4071 | 10 | 2 | ||
4072 | 11 | 3 | ||
4073 | 12 | DROP TABLE t; | ||
4074 | 13 | 0 | ||
4075 | === removed file 'mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.test' | |||
4076 | --- mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.test 2010-12-06 03:50:48 +0000 | |||
4077 | +++ mysql-test/sql_no_fcache.patch/percona_sql_no_fcache.test 1970-01-01 00:00:00 +0000 | |||
4078 | @@ -1,11 +0,0 @@ | |||
4079 | 1 | --disable_warnings | ||
4080 | 2 | drop table if exists t1; | ||
4081 | 3 | --enable_warnings | ||
4082 | 4 | |||
4083 | 5 | create table t (a int not null); | ||
4084 | 6 | insert into t values (1),(2),(3); | ||
4085 | 7 | |||
4086 | 8 | SELECT SQL_NO_FCACHE SLEEP(0); | ||
4087 | 9 | SELECT /*!40001 SQL_NO_CACHE */ /*!50084 SQL_NO_FCACHE */ * FROM t; | ||
4088 | 10 | |||
4089 | 11 | DROP TABLE t; | ||
4090 | 12 | 0 | ||
4091 | === removed file 'mysql-test/userstat_bug602047.result' | |||
4092 | --- mysql-test/userstat_bug602047.result 2011-02-26 09:03:28 +0000 | |||
4093 | +++ mysql-test/userstat_bug602047.result 1970-01-01 00:00:00 +0000 | |||
4094 | @@ -1,16 +0,0 @@ | |||
4095 | 1 | DROP TABLE IF EXISTS t1; | ||
4096 | 2 | SET @userstat_running_old= @@userstat_running; | ||
4097 | 3 | SET GLOBAL userstat_running=ON; | ||
4098 | 4 | CREATE TABLE t1 ( id int(10), PRIMARY KEY (id)) ENGINE=InnoDB; | ||
4099 | 5 | INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); | ||
4100 | 6 | SELECT COUNT(*) FROM t1; | ||
4101 | 7 | COUNT(*) | ||
4102 | 8 | 10 | ||
4103 | 9 | SELECT ROWS_READ FROM information_schema.table_statistics WHERE TABLE_NAME='t1'; | ||
4104 | 10 | ROWS_READ | ||
4105 | 11 | 10 | ||
4106 | 12 | SELECT ROWS_READ FROM information_schema.index_statistics WHERE TABLE_NAME='t1'; | ||
4107 | 13 | ROWS_READ | ||
4108 | 14 | 10 | ||
4109 | 15 | SET GLOBAL userstat_running= @userstat_running_old; | ||
4110 | 16 | DROP TABLE t1; | ||
4111 | 17 | 0 | ||
4112 | === removed file 'mysql-test/userstat_bug602047.test' | |||
4113 | --- mysql-test/userstat_bug602047.test 2011-02-26 09:03:28 +0000 | |||
4114 | +++ mysql-test/userstat_bug602047.test 1970-01-01 00:00:00 +0000 | |||
4115 | @@ -1,13 +0,0 @@ | |||
4116 | 1 | --source include/have_innodb.inc | ||
4117 | 2 | --disable_warnings | ||
4118 | 3 | DROP TABLE IF EXISTS t1; | ||
4119 | 4 | --enable_warnings | ||
4120 | 5 | SET @userstat_running_old= @@userstat_running; | ||
4121 | 6 | SET GLOBAL userstat_running=ON; | ||
4122 | 7 | CREATE TABLE t1 ( id int(10), PRIMARY KEY (id)) ENGINE=InnoDB; | ||
4123 | 8 | INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10); | ||
4124 | 9 | SELECT COUNT(*) FROM t1; | ||
4125 | 10 | SELECT ROWS_READ FROM information_schema.table_statistics WHERE TABLE_NAME='t1'; | ||
4126 | 11 | SELECT ROWS_READ FROM information_schema.index_statistics WHERE TABLE_NAME='t1'; | ||
4127 | 12 | SET GLOBAL userstat_running= @userstat_running_old; | ||
4128 | 13 | DROP TABLE t1; | ||
4129 | 14 | 0 | ||
4130 | === modified file 'patches/innodb_admin_command_base.patch' | |||
4131 | --- patches/innodb_admin_command_base.patch 2011-08-09 13:35:34 +0000 | |||
4132 | +++ patches/innodb_admin_command_base.patch 2011-09-06 08:39:24 +0000 | |||
4133 | @@ -175,3 +175,18 @@ | |||
4134 | 175 | +{"innodb_admin_command_base","XtraDB specific command interface through i_s","","http://www.percona.com/docs/wiki/percona-xtradb"}, | 175 | +{"innodb_admin_command_base","XtraDB specific command interface through i_s","","http://www.percona.com/docs/wiki/percona-xtradb"}, |
4135 | 176 | {NULL, NULL, NULL, NULL} | 176 | {NULL, NULL, NULL, NULL} |
4136 | 177 | }; | 177 | }; |
4137 | 178 | --- /dev/null | ||
4138 | 179 | +++ b/mysql-test/r/percona_xtradb_admin_command.result | ||
4139 | 180 | @@ -0,0 +1,6 @@ | ||
4140 | 181 | +select * from information_schema.XTRADB_ADMIN_COMMAND; | ||
4141 | 182 | +result_message | ||
4142 | 183 | +No XTRA_* command in the SQL statement. Please add /*!XTRA_xxxx*/ to the SQL. | ||
4143 | 184 | +select * from information_schema.XTRADB_ADMIN_COMMAND /*!XTRA_HELLO*/; | ||
4144 | 185 | +result_message | ||
4145 | 186 | +Hello! | ||
4146 | 187 | --- /dev/null | ||
4147 | 188 | +++ b/mysql-test/t/percona_xtradb_admin_command.test | ||
4148 | 189 | @@ -0,0 +1,3 @@ | ||
4149 | 190 | +--source include/have_innodb.inc | ||
4150 | 191 | +select * from information_schema.XTRADB_ADMIN_COMMAND; | ||
4151 | 192 | +select * from information_schema.XTRADB_ADMIN_COMMAND /*!XTRA_HELLO*/; | ||
4152 | 178 | 193 | ||
4153 | === modified file 'patches/innodb_buffer_pool_shm.patch' | |||
4154 | --- patches/innodb_buffer_pool_shm.patch 2011-07-30 22:04:31 +0000 | |||
4155 | +++ patches/innodb_buffer_pool_shm.patch 2011-09-06 08:39:24 +0000 | |||
4156 | @@ -81,3 +81,21 @@ | |||
4157 | 81 | MYSQL_SYSVAR(checksums), | 81 | MYSQL_SYSVAR(checksums), |
4158 | 82 | MYSQL_SYSVAR(fast_checksum), | 82 | MYSQL_SYSVAR(fast_checksum), |
4159 | 83 | MYSQL_SYSVAR(commit_concurrency), | 83 | MYSQL_SYSVAR(commit_concurrency), |
4160 | 84 | --- /dev/null | ||
4161 | 85 | +++ b/mysql-test/r/percona_innodb_buffer_pool_shm.result | ||
4162 | 86 | @@ -0,0 +1,4 @@ | ||
4163 | 87 | +show variables like 'innodb_buffer_pool_shm%'; | ||
4164 | 88 | +Variable_name Value | ||
4165 | 89 | +innodb_buffer_pool_shm_checksum ON | ||
4166 | 90 | +innodb_buffer_pool_shm_key 123456 | ||
4167 | 91 | --- /dev/null | ||
4168 | 92 | +++ b/mysql-test/t/percona_innodb_buffer_pool_shm-master.opt | ||
4169 | 93 | @@ -0,0 +1,2 @@ | ||
4170 | 94 | +--innodb_buffer_pool_shm_key=123456 | ||
4171 | 95 | +--innodb=FORCE | ||
4172 | 96 | --- /dev/null | ||
4173 | 97 | +++ b/mysql-test/t/percona_innodb_buffer_pool_shm.test | ||
4174 | 98 | @@ -0,0 +1,3 @@ | ||
4175 | 99 | +--source include/have_innodb.inc | ||
4176 | 100 | +show variables like 'innodb_buffer_pool_shm%'; | ||
4177 | 101 | + | ||
4178 | 84 | 102 | ||
4179 | === modified file 'patches/innodb_deadlock_count.patch' | |||
4180 | --- patches/innodb_deadlock_count.patch 2011-08-09 13:35:34 +0000 | |||
4181 | +++ patches/innodb_deadlock_count.patch 2011-09-06 08:39:24 +0000 | |||
4182 | @@ -66,3 +66,98 @@ | |||
4183 | 66 | #ifdef UNIV_DEBUG | 66 | #ifdef UNIV_DEBUG |
4184 | 67 | export_vars.innodb_buffer_pool_pages_latched | 67 | export_vars.innodb_buffer_pool_pages_latched |
4185 | 68 | = buf_get_latched_pages_number(); | 68 | = buf_get_latched_pages_number(); |
4186 | 69 | --- /dev/null | ||
4187 | 70 | +++ b/mysql-test/r/percona_innodb_deadlock_count.result | ||
4188 | 71 | @@ -0,0 +1,28 @@ | ||
4189 | 72 | +# Establish connection con1 (user=root) | ||
4190 | 73 | +# Establish connection con2 (user=root) | ||
4191 | 74 | +# Establish connection con3 (user=root) | ||
4192 | 75 | +# Drop test table | ||
4193 | 76 | +drop table if exists t; | ||
4194 | 77 | +# Create test table | ||
4195 | 78 | +create table t(a INT PRIMARY KEY, b INT) engine=InnoDB; | ||
4196 | 79 | +# Insert two rows to test table | ||
4197 | 80 | +insert into t values(2,1); | ||
4198 | 81 | +insert into t values(1,2); | ||
4199 | 82 | +# Switch to connection con1 | ||
4200 | 83 | +BEGIN; | ||
4201 | 84 | +SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
4202 | 85 | +# Switch to connection con2 | ||
4203 | 86 | +BEGIN; | ||
4204 | 87 | +SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
4205 | 88 | +# Switch to connection con1 | ||
4206 | 89 | +SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
4207 | 90 | +# Switch to connection con2 | ||
4208 | 91 | +SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
4209 | 92 | +# Switch to connection con1 | ||
4210 | 93 | +ROLLBACK; | ||
4211 | 94 | +# Switch to connection con2 | ||
4212 | 95 | +ROLLBACK; | ||
4213 | 96 | +# Switch to connection con3 | ||
4214 | 97 | +Deadlocks: 1 | ||
4215 | 98 | +# Drop test table | ||
4216 | 99 | +drop table t; | ||
4217 | 100 | --- /dev/null | ||
4218 | 101 | +++ b/mysql-test/t/percona_innodb_deadlock_count.test | ||
4219 | 102 | @@ -0,0 +1,61 @@ | ||
4220 | 103 | +--source include/have_innodb.inc | ||
4221 | 104 | +--echo # Establish connection con1 (user=root) | ||
4222 | 105 | +connect (con1,localhost,root,,); | ||
4223 | 106 | +--echo # Establish connection con2 (user=root) | ||
4224 | 107 | +connect (con2,localhost,root,,); | ||
4225 | 108 | +--echo # Establish connection con3 (user=root) | ||
4226 | 109 | +connect (con3,localhost,root,,); | ||
4227 | 110 | +--echo # Drop test table | ||
4228 | 111 | +--disable_warnings | ||
4229 | 112 | +drop table if exists t; | ||
4230 | 113 | +--enable_warnings | ||
4231 | 114 | + | ||
4232 | 115 | +--echo # Create test table | ||
4233 | 116 | +create table t(a INT PRIMARY KEY, b INT) engine=InnoDB; | ||
4234 | 117 | +--echo # Insert two rows to test table | ||
4235 | 118 | +insert into t values(2,1); | ||
4236 | 119 | +insert into t values(1,2); | ||
4237 | 120 | + | ||
4238 | 121 | +#--echo # Save current deadlock count | ||
4239 | 122 | +let $current = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'Innodb_deadlocks'`; | ||
4240 | 123 | + | ||
4241 | 124 | +--disable_result_log | ||
4242 | 125 | + | ||
4243 | 126 | +--echo # Switch to connection con1 | ||
4244 | 127 | +connection con1; | ||
4245 | 128 | +BEGIN; SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
4246 | 129 | + | ||
4247 | 130 | +--echo # Switch to connection con2 | ||
4248 | 131 | +connection con2; | ||
4249 | 132 | +BEGIN; SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
4250 | 133 | + | ||
4251 | 134 | +--echo # Switch to connection con1 | ||
4252 | 135 | +connection con1; | ||
4253 | 136 | +SEND SELECT b FROM t WHERE a=2 FOR UPDATE; | ||
4254 | 137 | + | ||
4255 | 138 | +--echo # Switch to connection con2 | ||
4256 | 139 | +connection con2; | ||
4257 | 140 | +SEND SELECT b FROM t WHERE a=1 FOR UPDATE; | ||
4258 | 141 | + | ||
4259 | 142 | +--echo # Switch to connection con1 | ||
4260 | 143 | +connection con1; | ||
4261 | 144 | +--error 0, ER_LOCK_DEADLOCK | ||
4262 | 145 | +reap; | ||
4263 | 146 | +ROLLBACK; | ||
4264 | 147 | + | ||
4265 | 148 | +--echo # Switch to connection con2 | ||
4266 | 149 | +connection con2; | ||
4267 | 150 | +--error 0, ER_LOCK_DEADLOCK | ||
4268 | 151 | +reap; | ||
4269 | 152 | +ROLLBACK; | ||
4270 | 153 | + | ||
4271 | 154 | +--echo # Switch to connection con3 | ||
4272 | 155 | +connection con3; | ||
4273 | 156 | +let $result = `SELECT VARIABLE_VALUE FROM INFORMATION_SCHEMA.GLOBAL_STATUS WHERE VARIABLE_NAME = 'Innodb_deadlocks'`; | ||
4274 | 157 | + | ||
4275 | 158 | +--enable_result_log | ||
4276 | 159 | + | ||
4277 | 160 | +let $diff = `SELECT $result - $current`; | ||
4278 | 161 | +echo Deadlocks: $diff; | ||
4279 | 162 | +--echo # Drop test table | ||
4280 | 163 | +drop table t; | ||
4281 | 69 | 164 | ||
4282 | === modified file 'patches/innodb_fix_misc.patch' | |||
4283 | --- patches/innodb_fix_misc.patch 2011-08-09 13:35:34 +0000 | |||
4284 | +++ patches/innodb_fix_misc.patch 2011-09-06 08:39:24 +0000 | |||
4285 | @@ -1359,3 +1359,35 @@ | |||
4286 | 1359 | float ratio = (float) trx_sys->rseg_history_len | 1359 | float ratio = (float) trx_sys->rseg_history_len |
4287 | 1360 | / srv_max_purge_lag; | 1360 | / srv_max_purge_lag; |
4288 | 1361 | if (ratio > ULINT_MAX / 10000) { | 1361 | if (ratio > ULINT_MAX / 10000) { |
4289 | 1362 | --- /dev/null | ||
4290 | 1363 | +++ b/mysql-test/r/innodb_fix_misc_bug51325.result | ||
4291 | 1364 | @@ -0,0 +1,13 @@ | ||
4292 | 1365 | +DROP TABLE IF EXISTS t1; | ||
4293 | 1366 | +SET GLOBAL innodb_file_per_table=ON; | ||
4294 | 1367 | +SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
4295 | 1368 | +Variable_name Value | ||
4296 | 1369 | +innodb_lazy_drop_table 0 | ||
4297 | 1370 | +SET GLOBAL innodb_lazy_drop_table=1; | ||
4298 | 1371 | +SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
4299 | 1372 | +Variable_name Value | ||
4300 | 1373 | +innodb_lazy_drop_table 1 | ||
4301 | 1374 | +CREATE TABLE t1 (a INT) ENGINE=InnoDB; | ||
4302 | 1375 | +DROP TABLE t1; | ||
4303 | 1376 | +SET GLOBAL innodb_lazy_drop_table=default; | ||
4304 | 1377 | +SET GLOBAL innodb_file_per_table=default; | ||
4305 | 1378 | --- /dev/null | ||
4306 | 1379 | +++ b/mysql-test/t/innodb_fix_misc_bug51325.test | ||
4307 | 1380 | @@ -0,0 +1,13 @@ | ||
4308 | 1381 | +# Test for 'innodb_lazy_drop_table' variable | ||
4309 | 1382 | +--source include/have_innodb.inc | ||
4310 | 1383 | +--disable_warnings | ||
4311 | 1384 | +DROP TABLE IF EXISTS t1; | ||
4312 | 1385 | +--enable_warnings | ||
4313 | 1386 | +SET GLOBAL innodb_file_per_table=ON; | ||
4314 | 1387 | +SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
4315 | 1388 | +SET GLOBAL innodb_lazy_drop_table=1; | ||
4316 | 1389 | +SHOW VARIABLES LIKE 'innodb_lazy_drop_table'; | ||
4317 | 1390 | +CREATE TABLE t1 (a INT) ENGINE=InnoDB; | ||
4318 | 1391 | +DROP TABLE t1; | ||
4319 | 1392 | +SET GLOBAL innodb_lazy_drop_table=default; | ||
4320 | 1393 | +SET GLOBAL innodb_file_per_table=default; | ||
4321 | 1362 | 1394 | ||
4322 | === modified file 'patches/innodb_separate_doublewrite.patch' | |||
4323 | --- patches/innodb_separate_doublewrite.patch 2011-08-09 13:35:34 +0000 | |||
4324 | +++ patches/innodb_separate_doublewrite.patch 2011-09-06 08:39:24 +0000 | |||
4325 | @@ -1078,3 +1078,19 @@ | |||
4326 | 1078 | /********************************************************************* | 1078 | /********************************************************************* |
4327 | 1079 | Create extra rollback segments when create_new_db */ | 1079 | Create extra rollback segments when create_new_db */ |
4328 | 1080 | UNIV_INTERN | 1080 | UNIV_INTERN |
4329 | 1081 | --- /dev/null | ||
4330 | 1082 | +++ b/mysql-test/r/percona_innodb_doublewrite_file.result | ||
4331 | 1083 | @@ -0,0 +1,4 @@ | ||
4332 | 1084 | +show variables like 'innodb_doublewrite%'; | ||
4333 | 1085 | +Variable_name Value | ||
4334 | 1086 | +innodb_doublewrite ON | ||
4335 | 1087 | +innodb_doublewrite_file ib_doublewrite | ||
4336 | 1088 | --- /dev/null | ||
4337 | 1089 | +++ b/mysql-test/t/percona_innodb_doublewrite_file-master.opt | ||
4338 | 1090 | @@ -0,0 +1 @@ | ||
4339 | 1091 | +--innodb_doublewrite_file=ib_doublewrite | ||
4340 | 1092 | --- /dev/null | ||
4341 | 1093 | +++ b/mysql-test/t/percona_innodb_doublewrite_file.test | ||
4342 | 1094 | @@ -0,0 +1,2 @@ | ||
4343 | 1095 | +--source include/have_innodb.inc | ||
4344 | 1096 | +show variables like 'innodb_doublewrite%'; | ||
4345 | 1081 | 1097 | ||
4346 | === modified file 'patches/innodb_show_sys_tables.patch' | |||
4347 | --- patches/innodb_show_sys_tables.patch 2011-08-09 13:35:34 +0000 | |||
4348 | +++ patches/innodb_show_sys_tables.patch 2011-09-06 08:39:24 +0000 | |||
4349 | @@ -719,3 +719,18 @@ | |||
4350 | 719 | +{"innodb_sys_tables_sys_indexes","Expose InnoDB SYS_TABLES and SYS_INDEXES schema tables","","http://www.percona.com/docs/wiki/percona-xtradb"}, | 719 | +{"innodb_sys_tables_sys_indexes","Expose InnoDB SYS_TABLES and SYS_INDEXES schema tables","","http://www.percona.com/docs/wiki/percona-xtradb"}, |
4351 | 720 | {NULL, NULL, NULL, NULL} | 720 | {NULL, NULL, NULL, NULL} |
4352 | 721 | }; | 721 | }; |
4353 | 722 | --- /dev/null | ||
4354 | 723 | +++ b/mysql-test/r/percona_innodb_use_sys_stats_table.result | ||
4355 | 724 | @@ -0,0 +1,3 @@ | ||
4356 | 725 | +show variables like 'innodb_use_sys_stats%'; | ||
4357 | 726 | +Variable_name Value | ||
4358 | 727 | +innodb_use_sys_stats_table ON | ||
4359 | 728 | --- /dev/null | ||
4360 | 729 | +++ b/mysql-test/t/percona_innodb_use_sys_stats_table-master.opt | ||
4361 | 730 | @@ -0,0 +1 @@ | ||
4362 | 731 | +--innodb_use_sys_stats_table | ||
4363 | 732 | --- /dev/null | ||
4364 | 733 | +++ b/mysql-test/t/percona_innodb_use_sys_stats_table.test | ||
4365 | 734 | @@ -0,0 +1,2 @@ | ||
4366 | 735 | +--source include/have_innodb.inc | ||
4367 | 736 | +show variables like 'innodb_use_sys_stats%'; | ||
4368 | 722 | 737 | ||
4369 | === modified file 'patches/mysql-test.diff' | |||
4370 | --- patches/mysql-test.diff 2011-08-13 01:47:38 +0000 | |||
4371 | +++ patches/mysql-test.diff 2011-09-06 08:39:24 +0000 | |||
4372 | @@ -3989,4 +3989,728 @@ | |||
4373 | 3989 | 3989 | ||
4374 | 3990 | connection slave; | 3990 | connection slave; |
4375 | 3991 | drop table first_db.t1; | 3991 | drop table first_db.t1; |
4377 | 3992 | 3992 | --- /dev/null | |
4378 | 3993 | +++ b/mysql-test/include/have_nodebug.inc | ||
4379 | 3994 | @@ -0,0 +1,4 @@ | ||
4380 | 3995 | +-- require r/have_nodebug.require | ||
4381 | 3996 | +disable_query_log; | ||
4382 | 3997 | +select (version() like '%debug%') as debug; | ||
4383 | 3998 | +enable_query_log; | ||
4384 | 3999 | --- /dev/null | ||
4385 | 4000 | +++ b/mysql-test/include/percona_server_variables.inc | ||
4386 | 4001 | @@ -0,0 +1,3 @@ | ||
4387 | 4002 | +--source include/have_response_time_distribution.inc | ||
4388 | 4003 | +--source include/have_innodb.inc | ||
4389 | 4004 | +SELECT Variable_name FROM INFORMATION_SCHEMA.SESSION_VARIABLES ORDER BY 1; | ||
4390 | 4005 | --- /dev/null | ||
4391 | 4006 | +++ b/mysql-test/r/have_nodebug.require | ||
4392 | 4007 | @@ -0,0 +1,2 @@ | ||
4393 | 4008 | +debug | ||
4394 | 4009 | +0 | ||
4395 | 4010 | --- /dev/null | ||
4396 | 4011 | +++ b/mysql-test/r/percona_server_variables_debug.result | ||
4397 | 4012 | @@ -0,0 +1,347 @@ | ||
4398 | 4013 | +SELECT Variable_name FROM INFORMATION_SCHEMA.SESSION_VARIABLES ORDER BY 1; | ||
4399 | 4014 | +Variable_name | ||
4400 | 4015 | +AUTOCOMMIT | ||
4401 | 4016 | +AUTOMATIC_SP_PRIVILEGES | ||
4402 | 4017 | +AUTO_INCREMENT_INCREMENT | ||
4403 | 4018 | +AUTO_INCREMENT_OFFSET | ||
4404 | 4019 | +BACK_LOG | ||
4405 | 4020 | +BASEDIR | ||
4406 | 4021 | +BIG_TABLES | ||
4407 | 4022 | +BINLOG_CACHE_SIZE | ||
4408 | 4023 | +BINLOG_DIRECT_NON_TRANSACTIONAL_UPDATES | ||
4409 | 4024 | +BINLOG_FORMAT | ||
4410 | 4025 | +BULK_INSERT_BUFFER_SIZE | ||
4411 | 4026 | +CHARACTER_SETS_DIR | ||
4412 | 4027 | +CHARACTER_SET_CLIENT | ||
4413 | 4028 | +CHARACTER_SET_CONNECTION | ||
4414 | 4029 | +CHARACTER_SET_DATABASE | ||
4415 | 4030 | +CHARACTER_SET_FILESYSTEM | ||
4416 | 4031 | +CHARACTER_SET_RESULTS | ||
4417 | 4032 | +CHARACTER_SET_SERVER | ||
4418 | 4033 | +CHARACTER_SET_SYSTEM | ||
4419 | 4034 | +COLLATION_CONNECTION | ||
4420 | 4035 | +COLLATION_DATABASE | ||
4421 | 4036 | +COLLATION_SERVER | ||
4422 | 4037 | +COMPLETION_TYPE | ||
4423 | 4038 | +CONCURRENT_INSERT | ||
4424 | 4039 | +CONNECT_TIMEOUT | ||
4425 | 4040 | +DATADIR | ||
4426 | 4041 | +DATETIME_FORMAT | ||
4427 | 4042 | +DATE_FORMAT | ||
4428 | 4043 | +DEBUG | ||
4429 | 4044 | +DEBUG_SYNC | ||
4430 | 4045 | +DEFAULT_WEEK_FORMAT | ||
4431 | 4046 | +DELAYED_INSERT_LIMIT | ||
4432 | 4047 | +DELAYED_INSERT_TIMEOUT | ||
4433 | 4048 | +DELAYED_QUEUE_SIZE | ||
4434 | 4049 | +DELAY_KEY_WRITE | ||
4435 | 4050 | +DIV_PRECISION_INCREMENT | ||
4436 | 4051 | +ENABLE_QUERY_RESPONSE_TIME_STATS | ||
4437 | 4052 | +ENGINE_CONDITION_PUSHDOWN | ||
4438 | 4053 | +ERROR_COUNT | ||
4439 | 4054 | +EVENT_SCHEDULER | ||
4440 | 4055 | +EXPIRE_LOGS_DAYS | ||
4441 | 4056 | +FAST_INDEX_CREATION | ||
4442 | 4057 | +FLUSH | ||
4443 | 4058 | +FLUSH_TIME | ||
4444 | 4059 | +FOREIGN_KEY_CHECKS | ||
4445 | 4060 | +FT_BOOLEAN_SYNTAX | ||
4446 | 4061 | +FT_MAX_WORD_LEN | ||
4447 | 4062 | +FT_MIN_WORD_LEN | ||
4448 | 4063 | +FT_QUERY_EXPANSION_LIMIT | ||
4449 | 4064 | +FT_STOPWORD_FILE | ||
4450 | 4065 | +GENERAL_LOG | ||
4451 | 4066 | +GENERAL_LOG_FILE | ||
4452 | 4067 | +GROUP_CONCAT_MAX_LEN | ||
4453 | 4068 | +HAVE_COMMUNITY_FEATURES | ||
4454 | 4069 | +HAVE_COMPRESS | ||
4455 | 4070 | +HAVE_CRYPT | ||
4456 | 4071 | +HAVE_CSV | ||
4457 | 4072 | +HAVE_DYNAMIC_LOADING | ||
4458 | 4073 | +HAVE_GEOMETRY | ||
4459 | 4074 | +HAVE_INNODB | ||
4460 | 4075 | +HAVE_NDBCLUSTER | ||
4461 | 4076 | +HAVE_OPENSSL | ||
4462 | 4077 | +HAVE_PARTITIONING | ||
4463 | 4078 | +HAVE_QUERY_CACHE | ||
4464 | 4079 | +HAVE_RESPONSE_TIME_DISTRIBUTION | ||
4465 | 4080 | +HAVE_RTREE_KEYS | ||
4466 | 4081 | +HAVE_SSL | ||
4467 | 4082 | +HAVE_SYMLINK | ||
4468 | 4083 | +HOSTNAME | ||
4469 | 4084 | +IDENTITY | ||
4470 | 4085 | +IGNORE_BUILTIN_INNODB | ||
4471 | 4086 | +INIT_CONNECT | ||
4472 | 4087 | +INIT_FILE | ||
4473 | 4088 | +INIT_SLAVE | ||
4474 | 4089 | +INNODB_ADAPTIVE_CHECKPOINT | ||
4475 | 4090 | +INNODB_ADAPTIVE_FLUSHING | ||
4476 | 4091 | +INNODB_ADAPTIVE_HASH_INDEX | ||
4477 | 4092 | +INNODB_ADDITIONAL_MEM_POOL_SIZE | ||
4478 | 4093 | +INNODB_AUTOEXTEND_INCREMENT | ||
4479 | 4094 | +INNODB_AUTOINC_LOCK_MODE | ||
4480 | 4095 | +INNODB_AUTO_LRU_DUMP | ||
4481 | 4096 | +INNODB_BUFFER_POOL_SHM_CHECKSUM | ||
4482 | 4097 | +INNODB_BUFFER_POOL_SHM_KEY | ||
4483 | 4098 | +INNODB_BUFFER_POOL_SIZE | ||
4484 | 4099 | +INNODB_CHANGE_BUFFERING | ||
4485 | 4100 | +INNODB_CHECKPOINT_AGE_TARGET | ||
4486 | 4101 | +INNODB_CHECKSUMS | ||
4487 | 4102 | +INNODB_COMMIT_CONCURRENCY | ||
4488 | 4103 | +INNODB_CONCURRENCY_TICKETS | ||
4489 | 4104 | +INNODB_DATA_FILE_PATH | ||
4490 | 4105 | +INNODB_DATA_HOME_DIR | ||
4491 | 4106 | +INNODB_DICT_SIZE_LIMIT | ||
4492 | 4107 | +INNODB_DOUBLEWRITE | ||
4493 | 4108 | +INNODB_DOUBLEWRITE_FILE | ||
4494 | 4109 | +INNODB_ENABLE_UNSAFE_GROUP_COMMIT | ||
4495 | 4110 | +INNODB_EXPAND_IMPORT | ||
4496 | 4111 | +INNODB_EXTRA_RSEGMENTS | ||
4497 | 4112 | +INNODB_EXTRA_UNDOSLOTS | ||
4498 | 4113 | +INNODB_FAST_CHECKSUM | ||
4499 | 4114 | +INNODB_FAST_RECOVERY | ||
4500 | 4115 | +INNODB_FAST_SHUTDOWN | ||
4501 | 4116 | +INNODB_FILE_FORMAT | ||
4502 | 4117 | +INNODB_FILE_FORMAT_CHECK | ||
4503 | 4118 | +INNODB_FILE_PER_TABLE | ||
4504 | 4119 | +INNODB_FLUSH_LOG_AT_TRX_COMMIT | ||
4505 | 4120 | +INNODB_FLUSH_LOG_AT_TRX_COMMIT_SESSION | ||
4506 | 4121 | +INNODB_FLUSH_METHOD | ||
4507 | 4122 | +INNODB_FLUSH_NEIGHBOR_PAGES | ||
4508 | 4123 | +INNODB_FORCE_RECOVERY | ||
4509 | 4124 | +INNODB_IBUF_ACCEL_RATE | ||
4510 | 4125 | +INNODB_IBUF_ACTIVE_CONTRACT | ||
4511 | 4126 | +INNODB_IBUF_MAX_SIZE | ||
4512 | 4127 | +INNODB_IO_CAPACITY | ||
4513 | 4128 | +INNODB_LAZY_DROP_TABLE | ||
4514 | 4129 | +INNODB_LOCKS_UNSAFE_FOR_BINLOG | ||
4515 | 4130 | +INNODB_LOCK_WAIT_TIMEOUT | ||
4516 | 4131 | +INNODB_LOG_BLOCK_SIZE | ||
4517 | 4132 | +INNODB_LOG_BUFFER_SIZE | ||
4518 | 4133 | +INNODB_LOG_FILES_IN_GROUP | ||
4519 | 4134 | +INNODB_LOG_FILE_SIZE | ||
4520 | 4135 | +INNODB_LOG_GROUP_HOME_DIR | ||
4521 | 4136 | +INNODB_MAX_DIRTY_PAGES_PCT | ||
4522 | 4137 | +INNODB_MAX_PURGE_LAG | ||
4523 | 4138 | +INNODB_MIRRORED_LOG_GROUPS | ||
4524 | 4139 | +INNODB_OLD_BLOCKS_PCT | ||
4525 | 4140 | +INNODB_OLD_BLOCKS_TIME | ||
4526 | 4141 | +INNODB_OPEN_FILES | ||
4527 | 4142 | +INNODB_OVERWRITE_RELAY_LOG_INFO | ||
4528 | 4143 | +INNODB_PAGE_SIZE | ||
4529 | 4144 | +INNODB_PASS_CORRUPT_TABLE | ||
4530 | 4145 | +INNODB_READ_AHEAD | ||
4531 | 4146 | +INNODB_READ_AHEAD_THRESHOLD | ||
4532 | 4147 | +INNODB_READ_IO_THREADS | ||
4533 | 4148 | +INNODB_RECOVERY_STATS | ||
4534 | 4149 | +INNODB_REPLICATION_DELAY | ||
4535 | 4150 | +INNODB_ROLLBACK_ON_TIMEOUT | ||
4536 | 4151 | +INNODB_SHOW_LOCKS_HELD | ||
4537 | 4152 | +INNODB_SHOW_VERBOSE_LOCKS | ||
4538 | 4153 | +INNODB_SPIN_WAIT_DELAY | ||
4539 | 4154 | +INNODB_STATS_AUTO_UPDATE | ||
4540 | 4155 | +INNODB_STATS_METHOD | ||
4541 | 4156 | +INNODB_STATS_ON_METADATA | ||
4542 | 4157 | +INNODB_STATS_SAMPLE_PAGES | ||
4543 | 4158 | +INNODB_STATS_UPDATE_NEED_LOCK | ||
4544 | 4159 | +INNODB_STRICT_MODE | ||
4545 | 4160 | +INNODB_SUPPORT_XA | ||
4546 | 4161 | +INNODB_SYNC_SPIN_LOOPS | ||
4547 | 4162 | +INNODB_TABLE_LOCKS | ||
4548 | 4163 | +INNODB_THREAD_CONCURRENCY | ||
4549 | 4164 | +INNODB_THREAD_CONCURRENCY_TIMER_BASED | ||
4550 | 4165 | +INNODB_THREAD_SLEEP_DELAY | ||
4551 | 4166 | +INNODB_USE_PURGE_THREAD | ||
4552 | 4167 | +INNODB_USE_SYS_MALLOC | ||
4553 | 4168 | +INNODB_USE_SYS_STATS_TABLE | ||
4554 | 4169 | +INNODB_VERSION | ||
4555 | 4170 | +INNODB_WRITE_IO_THREADS | ||
4556 | 4171 | +INSERT_ID | ||
4557 | 4172 | +INTERACTIVE_TIMEOUT | ||
4558 | 4173 | +JOIN_BUFFER_SIZE | ||
4559 | 4174 | +KEEP_FILES_ON_CREATE | ||
4560 | 4175 | +KEY_BUFFER_SIZE | ||
4561 | 4176 | +KEY_CACHE_AGE_THRESHOLD | ||
4562 | 4177 | +KEY_CACHE_BLOCK_SIZE | ||
4563 | 4178 | +KEY_CACHE_DIVISION_LIMIT | ||
4564 | 4179 | +LANGUAGE | ||
4565 | 4180 | +LARGE_FILES_SUPPORT | ||
4566 | 4181 | +LARGE_PAGES | ||
4567 | 4182 | +LARGE_PAGE_SIZE | ||
4568 | 4183 | +LAST_INSERT_ID | ||
4569 | 4184 | +LC_TIME_NAMES | ||
4570 | 4185 | +LICENSE | ||
4571 | 4186 | +LOCAL_INFILE | ||
4572 | 4187 | +LOCKED_IN_MEMORY | ||
4573 | 4188 | +LOG | ||
4574 | 4189 | +LOG_BIN | ||
4575 | 4190 | +LOG_BIN_TRUST_FUNCTION_CREATORS | ||
4576 | 4191 | +LOG_BIN_TRUST_ROUTINE_CREATORS | ||
4577 | 4192 | +LOG_ERROR | ||
4578 | 4193 | +LOG_OUTPUT | ||
4579 | 4194 | +LOG_QUERIES_NOT_USING_INDEXES | ||
4580 | 4195 | +LOG_SLAVE_UPDATES | ||
4581 | 4196 | +LOG_SLOW_FILTER | ||
4582 | 4197 | +LOG_SLOW_QUERIES | ||
4583 | 4198 | +LOG_SLOW_RATE_LIMIT | ||
4584 | 4199 | +LOG_SLOW_SLAVE_STATEMENTS | ||
4585 | 4200 | +LOG_SLOW_SP_STATEMENTS | ||
4586 | 4201 | +LOG_SLOW_TIMESTAMP_EVERY | ||
4587 | 4202 | +LOG_SLOW_VERBOSITY | ||
4588 | 4203 | +LOG_WARNINGS | ||
4589 | 4204 | +LONG_QUERY_TIME | ||
4590 | 4205 | +LOWER_CASE_FILE_SYSTEM | ||
4591 | 4206 | +LOWER_CASE_TABLE_NAMES | ||
4592 | 4207 | +LOW_PRIORITY_UPDATES | ||
4593 | 4208 | +MAX_ALLOWED_PACKET | ||
4594 | 4209 | +MAX_BINLOG_CACHE_SIZE | ||
4595 | 4210 | +MAX_BINLOG_SIZE | ||
4596 | 4211 | +MAX_CONNECTIONS | ||
4597 | 4212 | +MAX_CONNECT_ERRORS | ||
4598 | 4213 | +MAX_DELAYED_THREADS | ||
4599 | 4214 | +MAX_ERROR_COUNT | ||
4600 | 4215 | +MAX_HEAP_TABLE_SIZE | ||
4601 | 4216 | +MAX_INSERT_DELAYED_THREADS | ||
4602 | 4217 | +MAX_JOIN_SIZE | ||
4603 | 4218 | +MAX_LENGTH_FOR_SORT_DATA | ||
4604 | 4219 | +MAX_LONG_DATA_SIZE | ||
4605 | 4220 | +MAX_PREPARED_STMT_COUNT | ||
4606 | 4221 | +MAX_RELAY_LOG_SIZE | ||
4607 | 4222 | +MAX_SEEKS_FOR_KEY | ||
4608 | 4223 | +MAX_SORT_LENGTH | ||
4609 | 4224 | +MAX_SP_RECURSION_DEPTH | ||
4610 | 4225 | +MAX_TMP_TABLES | ||
4611 | 4226 | +MAX_USER_CONNECTIONS | ||
4612 | 4227 | +MAX_WRITE_LOCK_COUNT | ||
4613 | 4228 | +MIN_EXAMINED_ROW_LIMIT | ||
4614 | 4229 | +MULTI_RANGE_COUNT | ||
4615 | 4230 | +MYISAM_DATA_POINTER_SIZE | ||
4616 | 4231 | +MYISAM_MAX_SORT_FILE_SIZE | ||
4617 | 4232 | +MYISAM_MMAP_SIZE | ||
4618 | 4233 | +MYISAM_RECOVER_OPTIONS | ||
4619 | 4234 | +MYISAM_REPAIR_THREADS | ||
4620 | 4235 | +MYISAM_SORT_BUFFER_SIZE | ||
4621 | 4236 | +MYISAM_STATS_METHOD | ||
4622 | 4237 | +MYISAM_USE_MMAP | ||
4623 | 4238 | +NET_BUFFER_LENGTH | ||
4624 | 4239 | +NET_READ_TIMEOUT | ||
4625 | 4240 | +NET_RETRY_COUNT | ||
4626 | 4241 | +NET_WRITE_TIMEOUT | ||
4627 | 4242 | +NEW | ||
4628 | 4243 | +OLD | ||
4629 | 4244 | +OLD_ALTER_TABLE | ||
4630 | 4245 | +OLD_PASSWORDS | ||
4631 | 4246 | +OPEN_FILES_LIMIT | ||
4632 | 4247 | +OPTIMIZER_FIX | ||
4633 | 4248 | +OPTIMIZER_PRUNE_LEVEL | ||
4634 | 4249 | +OPTIMIZER_SEARCH_DEPTH | ||
4635 | 4250 | +OPTIMIZER_SWITCH | ||
4636 | 4251 | +PID_FILE | ||
4637 | 4252 | +PLUGIN_DIR | ||
4638 | 4253 | +PORT | ||
4639 | 4254 | +PRELOAD_BUFFER_SIZE | ||
4640 | 4255 | +PROFILING | ||
4641 | 4256 | +PROFILING_HISTORY_SIZE | ||
4642 | 4257 | +PROFILING_SERVER | ||
4643 | 4258 | +PROFILING_USE_GETRUSAGE | ||
4644 | 4259 | +PROTOCOL_VERSION | ||
4645 | 4260 | +PSEUDO_THREAD_ID | ||
4646 | 4261 | +QUERY_ALLOC_BLOCK_SIZE | ||
4647 | 4262 | +QUERY_CACHE_LIMIT | ||
4648 | 4263 | +QUERY_CACHE_MIN_RES_UNIT | ||
4649 | 4264 | +QUERY_CACHE_SIZE | ||
4650 | 4265 | +QUERY_CACHE_STRIP_COMMENTS | ||
4651 | 4266 | +QUERY_CACHE_TYPE | ||
4652 | 4267 | +QUERY_CACHE_WLOCK_INVALIDATE | ||
4653 | 4268 | +QUERY_EXEC_TIME | ||
4654 | 4269 | +QUERY_PREALLOC_SIZE | ||
4655 | 4270 | +QUERY_RESPONSE_TIME_RANGE_BASE | ||
4656 | 4271 | +RAND_SEED1 | ||
4657 | 4272 | +RAND_SEED2 | ||
4658 | 4273 | +RANGE_ALLOC_BLOCK_SIZE | ||
4659 | 4274 | +READ_BUFFER_SIZE | ||
4660 | 4275 | +READ_ONLY | ||
4661 | 4276 | +READ_RND_BUFFER_SIZE | ||
4662 | 4277 | +RELAY_LOG | ||
4663 | 4278 | +RELAY_LOG_INDEX | ||
4664 | 4279 | +RELAY_LOG_INFO_FILE | ||
4665 | 4280 | +RELAY_LOG_PURGE | ||
4666 | 4281 | +RELAY_LOG_SPACE_LIMIT | ||
4667 | 4282 | +REPORT_HOST | ||
4668 | 4283 | +REPORT_PASSWORD | ||
4669 | 4284 | +REPORT_PORT | ||
4670 | 4285 | +REPORT_USER | ||
4671 | 4286 | +RPL_RECOVERY_RANK | ||
4672 | 4287 | +SECURE_AUTH | ||
4673 | 4288 | +SECURE_FILE_PRIV | ||
4674 | 4289 | +SERVER_ID | ||
4675 | 4290 | +SKIP_EXTERNAL_LOCKING | ||
4676 | 4291 | +SKIP_NAME_RESOLVE | ||
4677 | 4292 | +SKIP_NETWORKING | ||
4678 | 4293 | +SKIP_SHOW_DATABASE | ||
4679 | 4294 | +SLAVE_COMPRESSED_PROTOCOL | ||
4680 | 4295 | +SLAVE_EXEC_MODE | ||
4681 | 4296 | +SLAVE_LOAD_TMPDIR | ||
4682 | 4297 | +SLAVE_NET_TIMEOUT | ||
4683 | 4298 | +SLAVE_SKIP_ERRORS | ||
4684 | 4299 | +SLAVE_TRANSACTION_RETRIES | ||
4685 | 4300 | +SLOW_LAUNCH_TIME | ||
4686 | 4301 | +SLOW_QUERY_LOG | ||
4687 | 4302 | +SLOW_QUERY_LOG_FILE | ||
4688 | 4303 | +SLOW_QUERY_LOG_MICROSECONDS_TIMESTAMP | ||
4689 | 4304 | +SOCKET | ||
4690 | 4305 | +SORT_BUFFER_SIZE | ||
4691 | 4306 | +SQL_AUTO_IS_NULL | ||
4692 | 4307 | +SQL_BIG_SELECTS | ||
4693 | 4308 | +SQL_BIG_TABLES | ||
4694 | 4309 | +SQL_BUFFER_RESULT | ||
4695 | 4310 | +SQL_LOG_BIN | ||
4696 | 4311 | +SQL_LOG_OFF | ||
4697 | 4312 | +SQL_LOG_UPDATE | ||
4698 | 4313 | +SQL_LOW_PRIORITY_UPDATES | ||
4699 | 4314 | +SQL_MAX_JOIN_SIZE | ||
4700 | 4315 | +SQL_MODE | ||
4701 | 4316 | +SQL_NOTES | ||
4702 | 4317 | +SQL_QUOTE_SHOW_CREATE | ||
4703 | 4318 | +SQL_SAFE_UPDATES | ||
4704 | 4319 | +SQL_SELECT_LIMIT | ||
4705 | 4320 | +SQL_SLAVE_SKIP_COUNTER | ||
4706 | 4321 | +SQL_WARNINGS | ||
4707 | 4322 | +SSL_CA | ||
4708 | 4323 | +SSL_CAPATH | ||
4709 | 4324 | +SSL_CERT | ||
4710 | 4325 | +SSL_CIPHER | ||
4711 | 4326 | +SSL_KEY | ||
4712 | 4327 | +STORAGE_ENGINE | ||
4713 | 4328 | +SUPPRESS_LOG_WARNING_1592 | ||
4714 | 4329 | +SYNC_BINLOG | ||
4715 | 4330 | +SYNC_FRM | ||
4716 | 4331 | +SYSTEM_TIME_ZONE | ||
4717 | 4332 | +TABLE_DEFINITION_CACHE | ||
4718 | 4333 | +TABLE_LOCK_WAIT_TIMEOUT | ||
4719 | 4334 | +TABLE_OPEN_CACHE | ||
4720 | 4335 | +TABLE_TYPE | ||
4721 | 4336 | +THREAD_CACHE_SIZE | ||
4722 | 4337 | +THREAD_HANDLING | ||
4723 | 4338 | +THREAD_STACK | ||
4724 | 4339 | +THREAD_STATISTICS | ||
4725 | 4340 | +TIMED_MUTEXES | ||
4726 | 4341 | +TIMESTAMP | ||
4727 | 4342 | +TIME_FORMAT | ||
4728 | 4343 | +TIME_ZONE | ||
4729 | 4344 | +TMPDIR | ||
4730 | 4345 | +TMP_TABLE_SIZE | ||
4731 | 4346 | +TRANSACTION_ALLOC_BLOCK_SIZE | ||
4732 | 4347 | +TRANSACTION_PREALLOC_SIZE | ||
4733 | 4348 | +TX_ISOLATION | ||
4734 | 4349 | +UNIQUE_CHECKS | ||
4735 | 4350 | +UPDATABLE_VIEWS_WITH_LIMIT | ||
4736 | 4351 | +USERSTAT_RUNNING | ||
4737 | 4352 | +USE_GLOBAL_LOG_SLOW_CONTROL | ||
4738 | 4353 | +USE_GLOBAL_LONG_QUERY_TIME | ||
4739 | 4354 | +VERSION | ||
4740 | 4355 | +VERSION_COMMENT | ||
4741 | 4356 | +VERSION_COMPILE_MACHINE | ||
4742 | 4357 | +VERSION_COMPILE_OS | ||
4743 | 4358 | +WAIT_TIMEOUT | ||
4744 | 4359 | +WARNING_COUNT | ||
4745 | 4360 | --- /dev/null | ||
4746 | 4361 | +++ b/mysql-test/r/percona_server_variables_release.result | ||
4747 | 4362 | @@ -0,0 +1,344 @@ | ||
4748 | 4363 | +SELECT Variable_name FROM INFORMATION_SCHEMA.SESSION_VARIABLES ORDER BY 1; | ||
4749 | 4364 | +Variable_name | ||
4750 | 4365 | +AUTOCOMMIT | ||
4751 | 4366 | +AUTOMATIC_SP_PRIVILEGES | ||
4752 | 4367 | +AUTO_INCREMENT_INCREMENT | ||
4753 | 4368 | +AUTO_INCREMENT_OFFSET | ||
4754 | 4369 | +BACK_LOG | ||
4755 | 4370 | +BASEDIR | ||
4756 | 4371 | +BIG_TABLES | ||
4757 | 4372 | +BINLOG_CACHE_SIZE | ||
4758 | 4373 | +BINLOG_DIRECT_NON_TRANSACTIONAL_UPDATES | ||
4759 | 4374 | +BINLOG_FORMAT | ||
4760 | 4375 | +BULK_INSERT_BUFFER_SIZE | ||
4761 | 4376 | +CHARACTER_SETS_DIR | ||
4762 | 4377 | +CHARACTER_SET_CLIENT | ||
4763 | 4378 | +CHARACTER_SET_CONNECTION | ||
4764 | 4379 | +CHARACTER_SET_DATABASE | ||
4765 | 4380 | +CHARACTER_SET_FILESYSTEM | ||
4766 | 4381 | +CHARACTER_SET_RESULTS | ||
4767 | 4382 | +CHARACTER_SET_SERVER | ||
4768 | 4383 | +CHARACTER_SET_SYSTEM | ||
4769 | 4384 | +COLLATION_CONNECTION | ||
4770 | 4385 | +COLLATION_DATABASE | ||
4771 | 4386 | +COLLATION_SERVER | ||
4772 | 4387 | +COMPLETION_TYPE | ||
4773 | 4388 | +CONCURRENT_INSERT | ||
4774 | 4389 | +CONNECT_TIMEOUT | ||
4775 | 4390 | +DATADIR | ||
4776 | 4391 | +DATETIME_FORMAT | ||
4777 | 4392 | +DATE_FORMAT | ||
4778 | 4393 | +DEFAULT_WEEK_FORMAT | ||
4779 | 4394 | +DELAYED_INSERT_LIMIT | ||
4780 | 4395 | +DELAYED_INSERT_TIMEOUT | ||
4781 | 4396 | +DELAYED_QUEUE_SIZE | ||
4782 | 4397 | +DELAY_KEY_WRITE | ||
4783 | 4398 | +DIV_PRECISION_INCREMENT | ||
4784 | 4399 | +ENABLE_QUERY_RESPONSE_TIME_STATS | ||
4785 | 4400 | +ENGINE_CONDITION_PUSHDOWN | ||
4786 | 4401 | +ERROR_COUNT | ||
4787 | 4402 | +EVENT_SCHEDULER | ||
4788 | 4403 | +EXPIRE_LOGS_DAYS | ||
4789 | 4404 | +FAST_INDEX_CREATION | ||
4790 | 4405 | +FLUSH | ||
4791 | 4406 | +FLUSH_TIME | ||
4792 | 4407 | +FOREIGN_KEY_CHECKS | ||
4793 | 4408 | +FT_BOOLEAN_SYNTAX | ||
4794 | 4409 | +FT_MAX_WORD_LEN | ||
4795 | 4410 | +FT_MIN_WORD_LEN | ||
4796 | 4411 | +FT_QUERY_EXPANSION_LIMIT | ||
4797 | 4412 | +FT_STOPWORD_FILE | ||
4798 | 4413 | +GENERAL_LOG | ||
4799 | 4414 | +GENERAL_LOG_FILE | ||
4800 | 4415 | +GROUP_CONCAT_MAX_LEN | ||
4801 | 4416 | +HAVE_COMMUNITY_FEATURES | ||
4802 | 4417 | +HAVE_COMPRESS | ||
4803 | 4418 | +HAVE_CRYPT | ||
4804 | 4419 | +HAVE_CSV | ||
4805 | 4420 | +HAVE_DYNAMIC_LOADING | ||
4806 | 4421 | +HAVE_GEOMETRY | ||
4807 | 4422 | +HAVE_INNODB | ||
4808 | 4423 | +HAVE_NDBCLUSTER | ||
4809 | 4424 | +HAVE_OPENSSL | ||
4810 | 4425 | +HAVE_PARTITIONING | ||
4811 | 4426 | +HAVE_QUERY_CACHE | ||
4812 | 4427 | +HAVE_RESPONSE_TIME_DISTRIBUTION | ||
4813 | 4428 | +HAVE_RTREE_KEYS | ||
4814 | 4429 | +HAVE_SSL | ||
4815 | 4430 | +HAVE_SYMLINK | ||
4816 | 4431 | +HOSTNAME | ||
4817 | 4432 | +IDENTITY | ||
4818 | 4433 | +IGNORE_BUILTIN_INNODB | ||
4819 | 4434 | +INIT_CONNECT | ||
4820 | 4435 | +INIT_FILE | ||
4821 | 4436 | +INIT_SLAVE | ||
4822 | 4437 | +INNODB_ADAPTIVE_CHECKPOINT | ||
4823 | 4438 | +INNODB_ADAPTIVE_FLUSHING | ||
4824 | 4439 | +INNODB_ADAPTIVE_HASH_INDEX | ||
4825 | 4440 | +INNODB_ADDITIONAL_MEM_POOL_SIZE | ||
4826 | 4441 | +INNODB_AUTOEXTEND_INCREMENT | ||
4827 | 4442 | +INNODB_AUTOINC_LOCK_MODE | ||
4828 | 4443 | +INNODB_AUTO_LRU_DUMP | ||
4829 | 4444 | +INNODB_BUFFER_POOL_SHM_CHECKSUM | ||
4830 | 4445 | +INNODB_BUFFER_POOL_SHM_KEY | ||
4831 | 4446 | +INNODB_BUFFER_POOL_SIZE | ||
4832 | 4447 | +INNODB_CHANGE_BUFFERING | ||
4833 | 4448 | +INNODB_CHECKPOINT_AGE_TARGET | ||
4834 | 4449 | +INNODB_CHECKSUMS | ||
4835 | 4450 | +INNODB_COMMIT_CONCURRENCY | ||
4836 | 4451 | +INNODB_CONCURRENCY_TICKETS | ||
4837 | 4452 | +INNODB_DATA_FILE_PATH | ||
4838 | 4453 | +INNODB_DATA_HOME_DIR | ||
4839 | 4454 | +INNODB_DICT_SIZE_LIMIT | ||
4840 | 4455 | +INNODB_DOUBLEWRITE | ||
4841 | 4456 | +INNODB_DOUBLEWRITE_FILE | ||
4842 | 4457 | +INNODB_ENABLE_UNSAFE_GROUP_COMMIT | ||
4843 | 4458 | +INNODB_EXPAND_IMPORT | ||
4844 | 4459 | +INNODB_EXTRA_RSEGMENTS | ||
4845 | 4460 | +INNODB_EXTRA_UNDOSLOTS | ||
4846 | 4461 | +INNODB_FAST_CHECKSUM | ||
4847 | 4462 | +INNODB_FAST_RECOVERY | ||
4848 | 4463 | +INNODB_FAST_SHUTDOWN | ||
4849 | 4464 | +INNODB_FILE_FORMAT | ||
4850 | 4465 | +INNODB_FILE_FORMAT_CHECK | ||
4851 | 4466 | +INNODB_FILE_PER_TABLE | ||
4852 | 4467 | +INNODB_FLUSH_LOG_AT_TRX_COMMIT | ||
4853 | 4468 | +INNODB_FLUSH_LOG_AT_TRX_COMMIT_SESSION | ||
4854 | 4469 | +INNODB_FLUSH_METHOD | ||
4855 | 4470 | +INNODB_FLUSH_NEIGHBOR_PAGES | ||
4856 | 4471 | +INNODB_FORCE_RECOVERY | ||
4857 | 4472 | +INNODB_IBUF_ACCEL_RATE | ||
4858 | 4473 | +INNODB_IBUF_ACTIVE_CONTRACT | ||
4859 | 4474 | +INNODB_IBUF_MAX_SIZE | ||
4860 | 4475 | +INNODB_IO_CAPACITY | ||
4861 | 4476 | +INNODB_LAZY_DROP_TABLE | ||
4862 | 4477 | +INNODB_LOCKS_UNSAFE_FOR_BINLOG | ||
4863 | 4478 | +INNODB_LOCK_WAIT_TIMEOUT | ||
4864 | 4479 | +INNODB_LOG_BLOCK_SIZE | ||
4865 | 4480 | +INNODB_LOG_BUFFER_SIZE | ||
4866 | 4481 | +INNODB_LOG_FILES_IN_GROUP | ||
4867 | 4482 | +INNODB_LOG_FILE_SIZE | ||
4868 | 4483 | +INNODB_LOG_GROUP_HOME_DIR | ||
4869 | 4484 | +INNODB_MAX_DIRTY_PAGES_PCT | ||
4870 | 4485 | +INNODB_MAX_PURGE_LAG | ||
4871 | 4486 | +INNODB_MIRRORED_LOG_GROUPS | ||
4872 | 4487 | +INNODB_OLD_BLOCKS_PCT | ||
4873 | 4488 | +INNODB_OLD_BLOCKS_TIME | ||
4874 | 4489 | +INNODB_OPEN_FILES | ||
4875 | 4490 | +INNODB_OVERWRITE_RELAY_LOG_INFO | ||
4876 | 4491 | +INNODB_PAGE_SIZE | ||
4877 | 4492 | +INNODB_PASS_CORRUPT_TABLE | ||
4878 | 4493 | +INNODB_READ_AHEAD | ||
4879 | 4494 | +INNODB_READ_AHEAD_THRESHOLD | ||
4880 | 4495 | +INNODB_READ_IO_THREADS | ||
4881 | 4496 | +INNODB_RECOVERY_STATS | ||
4882 | 4497 | +INNODB_REPLICATION_DELAY | ||
4883 | 4498 | +INNODB_ROLLBACK_ON_TIMEOUT | ||
4884 | 4499 | +INNODB_SHOW_LOCKS_HELD | ||
4885 | 4500 | +INNODB_SHOW_VERBOSE_LOCKS | ||
4886 | 4501 | +INNODB_SPIN_WAIT_DELAY | ||
4887 | 4502 | +INNODB_STATS_AUTO_UPDATE | ||
4888 | 4503 | +INNODB_STATS_METHOD | ||
4889 | 4504 | +INNODB_STATS_ON_METADATA | ||
4890 | 4505 | +INNODB_STATS_SAMPLE_PAGES | ||
4891 | 4506 | +INNODB_STATS_UPDATE_NEED_LOCK | ||
4892 | 4507 | +INNODB_STRICT_MODE | ||
4893 | 4508 | +INNODB_SUPPORT_XA | ||
4894 | 4509 | +INNODB_SYNC_SPIN_LOOPS | ||
4895 | 4510 | +INNODB_TABLE_LOCKS | ||
4896 | 4511 | +INNODB_THREAD_CONCURRENCY | ||
4897 | 4512 | +INNODB_THREAD_CONCURRENCY_TIMER_BASED | ||
4898 | 4513 | +INNODB_THREAD_SLEEP_DELAY | ||
4899 | 4514 | +INNODB_USE_PURGE_THREAD | ||
4900 | 4515 | +INNODB_USE_SYS_MALLOC | ||
4901 | 4516 | +INNODB_USE_SYS_STATS_TABLE | ||
4902 | 4517 | +INNODB_VERSION | ||
4903 | 4518 | +INNODB_WRITE_IO_THREADS | ||
4904 | 4519 | +INSERT_ID | ||
4905 | 4520 | +INTERACTIVE_TIMEOUT | ||
4906 | 4521 | +JOIN_BUFFER_SIZE | ||
4907 | 4522 | +KEEP_FILES_ON_CREATE | ||
4908 | 4523 | +KEY_BUFFER_SIZE | ||
4909 | 4524 | +KEY_CACHE_AGE_THRESHOLD | ||
4910 | 4525 | +KEY_CACHE_BLOCK_SIZE | ||
4911 | 4526 | +KEY_CACHE_DIVISION_LIMIT | ||
4912 | 4527 | +LANGUAGE | ||
4913 | 4528 | +LARGE_FILES_SUPPORT | ||
4914 | 4529 | +LARGE_PAGES | ||
4915 | 4530 | +LARGE_PAGE_SIZE | ||
4916 | 4531 | +LAST_INSERT_ID | ||
4917 | 4532 | +LC_TIME_NAMES | ||
4918 | 4533 | +LICENSE | ||
4919 | 4534 | +LOCAL_INFILE | ||
4920 | 4535 | +LOCKED_IN_MEMORY | ||
4921 | 4536 | +LOG | ||
4922 | 4537 | +LOG_BIN | ||
4923 | 4538 | +LOG_BIN_TRUST_FUNCTION_CREATORS | ||
4924 | 4539 | +LOG_BIN_TRUST_ROUTINE_CREATORS | ||
4925 | 4540 | +LOG_ERROR | ||
4926 | 4541 | +LOG_OUTPUT | ||
4927 | 4542 | +LOG_QUERIES_NOT_USING_INDEXES | ||
4928 | 4543 | +LOG_SLAVE_UPDATES | ||
4929 | 4544 | +LOG_SLOW_FILTER | ||
4930 | 4545 | +LOG_SLOW_QUERIES | ||
4931 | 4546 | +LOG_SLOW_RATE_LIMIT | ||
4932 | 4547 | +LOG_SLOW_SLAVE_STATEMENTS | ||
4933 | 4548 | +LOG_SLOW_SP_STATEMENTS | ||
4934 | 4549 | +LOG_SLOW_TIMESTAMP_EVERY | ||
4935 | 4550 | +LOG_SLOW_VERBOSITY | ||
4936 | 4551 | +LOG_WARNINGS | ||
4937 | 4552 | +LONG_QUERY_TIME | ||
4938 | 4553 | +LOWER_CASE_FILE_SYSTEM | ||
4939 | 4554 | +LOWER_CASE_TABLE_NAMES | ||
4940 | 4555 | +LOW_PRIORITY_UPDATES | ||
4941 | 4556 | +MAX_ALLOWED_PACKET | ||
4942 | 4557 | +MAX_BINLOG_CACHE_SIZE | ||
4943 | 4558 | +MAX_BINLOG_SIZE | ||
4944 | 4559 | +MAX_CONNECTIONS | ||
4945 | 4560 | +MAX_CONNECT_ERRORS | ||
4946 | 4561 | +MAX_DELAYED_THREADS | ||
4947 | 4562 | +MAX_ERROR_COUNT | ||
4948 | 4563 | +MAX_HEAP_TABLE_SIZE | ||
4949 | 4564 | +MAX_INSERT_DELAYED_THREADS | ||
4950 | 4565 | +MAX_JOIN_SIZE | ||
4951 | 4566 | +MAX_LENGTH_FOR_SORT_DATA | ||
4952 | 4567 | +MAX_LONG_DATA_SIZE | ||
4953 | 4568 | +MAX_PREPARED_STMT_COUNT | ||
4954 | 4569 | +MAX_RELAY_LOG_SIZE | ||
4955 | 4570 | +MAX_SEEKS_FOR_KEY | ||
4956 | 4571 | +MAX_SORT_LENGTH | ||
4957 | 4572 | +MAX_SP_RECURSION_DEPTH | ||
4958 | 4573 | +MAX_TMP_TABLES | ||
4959 | 4574 | +MAX_USER_CONNECTIONS | ||
4960 | 4575 | +MAX_WRITE_LOCK_COUNT | ||
4961 | 4576 | +MIN_EXAMINED_ROW_LIMIT | ||
4962 | 4577 | +MULTI_RANGE_COUNT | ||
4963 | 4578 | +MYISAM_DATA_POINTER_SIZE | ||
4964 | 4579 | +MYISAM_MAX_SORT_FILE_SIZE | ||
4965 | 4580 | +MYISAM_MMAP_SIZE | ||
4966 | 4581 | +MYISAM_RECOVER_OPTIONS | ||
4967 | 4582 | +MYISAM_REPAIR_THREADS | ||
4968 | 4583 | +MYISAM_SORT_BUFFER_SIZE | ||
4969 | 4584 | +MYISAM_STATS_METHOD | ||
4970 | 4585 | +MYISAM_USE_MMAP | ||
4971 | 4586 | +NET_BUFFER_LENGTH | ||
4972 | 4587 | +NET_READ_TIMEOUT | ||
4973 | 4588 | +NET_RETRY_COUNT | ||
4974 | 4589 | +NET_WRITE_TIMEOUT | ||
4975 | 4590 | +NEW | ||
4976 | 4591 | +OLD | ||
4977 | 4592 | +OLD_ALTER_TABLE | ||
4978 | 4593 | +OLD_PASSWORDS | ||
4979 | 4594 | +OPEN_FILES_LIMIT | ||
4980 | 4595 | +OPTIMIZER_FIX | ||
4981 | 4596 | +OPTIMIZER_PRUNE_LEVEL | ||
4982 | 4597 | +OPTIMIZER_SEARCH_DEPTH | ||
4983 | 4598 | +OPTIMIZER_SWITCH | ||
4984 | 4599 | +PID_FILE | ||
4985 | 4600 | +PLUGIN_DIR | ||
4986 | 4601 | +PORT | ||
4987 | 4602 | +PRELOAD_BUFFER_SIZE | ||
4988 | 4603 | +PROFILING | ||
4989 | 4604 | +PROFILING_HISTORY_SIZE | ||
4990 | 4605 | +PROFILING_SERVER | ||
4991 | 4606 | +PROFILING_USE_GETRUSAGE | ||
4992 | 4607 | +PROTOCOL_VERSION | ||
4993 | 4608 | +PSEUDO_THREAD_ID | ||
4994 | 4609 | +QUERY_ALLOC_BLOCK_SIZE | ||
4995 | 4610 | +QUERY_CACHE_LIMIT | ||
4996 | 4611 | +QUERY_CACHE_MIN_RES_UNIT | ||
4997 | 4612 | +QUERY_CACHE_SIZE | ||
4998 | 4613 | +QUERY_CACHE_STRIP_COMMENTS | ||
4999 | 4614 | +QUERY_CACHE_TYPE | ||
5000 | 4615 | +QUERY_CACHE_WLOCK_INVALIDATE |
The diff has been truncated for viewing.
I checked by
bzr update -r 283 && make all && mv Percona-Server-*-* 283
bzr update -r 284 && make all && mv Percona-Server-*-* 284
diff -ruN 283 284