1 # name : mysql-test.diff
6 # Any small change to this file in the main branch
7 # should be done or reviewed by the maintainer!
8 diff -ruN a/mysql-test/include/default_mysqld.cnf b/mysql-test/include/default_mysqld.cnf
9 --- a/mysql-test/include/default_mysqld.cnf 2010-11-03 07:01:11.000000000 +0900
10 +++ b/mysql-test/include/default_mysqld.cnf 2010-12-10 16:48:10.996387047 +0900
12 max_heap_table_size= 1M
14 loose-innodb_data_file_path= ibdata1:10M:autoextend
15 -loose-innodb_buffer_pool_size= 8M
16 +loose-innodb_buffer_pool_size= 32M
17 loose-innodb_write_io_threads= 2
18 loose-innodb_read_io_threads= 2
19 loose-innodb_log_buffer_size= 1M
20 diff -ruN a/mysql-test/r/connect.result b/mysql-test/r/connect.result
21 --- a/mysql-test/r/connect.result 2010-11-03 07:01:12.000000000 +0900
22 +++ b/mysql-test/r/connect.result 2010-12-10 16:48:10.997386982 +0900
24 +set global log_warnings=0;
25 drop table if exists t1,t2;
29 # ------------------------------------------------------------------
31 # ------------------------------------------------------------------
32 +set global log_warnings=1;
33 diff -ruN a/mysql-test/r/create.result b/mysql-test/r/create.result
34 --- a/mysql-test/r/create.result 2010-11-03 07:01:12.000000000 +0900
35 +++ b/mysql-test/r/create.result 2010-12-10 16:48:11.001009442 +0900
37 `COMMAND` varchar(16) NOT NULL DEFAULT '',
38 `TIME` int(7) NOT NULL DEFAULT '0',
39 `STATE` varchar(64) DEFAULT NULL,
42 + `TIME_MS` bigint(21) NOT NULL DEFAULT '0'
43 ) ENGINE=MyISAM DEFAULT CHARSET=utf8
45 create temporary table t1 like information_schema.processlist;
47 `COMMAND` varchar(16) NOT NULL DEFAULT '',
48 `TIME` int(7) NOT NULL DEFAULT '0',
49 `STATE` varchar(64) DEFAULT NULL,
52 + `TIME_MS` bigint(21) NOT NULL DEFAULT '0'
53 ) ENGINE=MyISAM DEFAULT CHARSET=utf8
55 create table t1 like information_schema.character_sets;
56 diff -ruN a/mysql-test/r/information_schema.result b/mysql-test/r/information_schema.result
57 --- a/mysql-test/r/information_schema.result 2010-12-03 20:58:24.000000000 +0300
58 +++ b/mysql-test/r/information_schema.result 2011-01-10 23:02:09.000000000 +0300
65 COLLATION_CHARACTER_SET_APPLICABILITY
73 +GLOBAL_TEMPORARY_TABLES
79 REFERENTIAL_CONSTRAINTS
101 TABLESPACES TABLESPACES
102 TABLE_CONSTRAINTS TABLE_CONSTRAINTS
103 TABLE_PRIVILEGES TABLE_PRIVILEGES
104 +TABLE_STATISTICS TABLE_STATISTICS
105 +TEMPORARY_TABLES TEMPORARY_TABLES
106 +THREAD_STATISTICS THREAD_STATISTICS
108 tables_priv tables_priv
111 TABLESPACES TABLESPACES
112 TABLE_CONSTRAINTS TABLE_CONSTRAINTS
113 TABLE_PRIVILEGES TABLE_PRIVILEGES
114 +TABLE_STATISTICS TABLE_STATISTICS
115 +TEMPORARY_TABLES TEMPORARY_TABLES
116 +THREAD_STATISTICS THREAD_STATISTICS
118 tables_priv tables_priv
121 TABLESPACES TABLESPACES
122 TABLE_CONSTRAINTS TABLE_CONSTRAINTS
123 TABLE_PRIVILEGES TABLE_PRIVILEGES
124 +TABLE_STATISTICS TABLE_STATISTICS
125 +TEMPORARY_TABLES TEMPORARY_TABLES
126 +THREAD_STATISTICS THREAD_STATISTICS
128 tables_priv tables_priv
130 @@ -634,13 +652,16 @@
131 where table_schema='information_schema' limit 2;
132 TABLE_NAME TABLE_TYPE ENGINE
133 CHARACTER_SETS SYSTEM VIEW MEMORY
134 -COLLATIONS SYSTEM VIEW MEMORY
135 +CLIENT_STATISTICS SYSTEM VIEW MEMORY
136 show tables from information_schema like "T%";
137 Tables_in_information_schema (T%)
146 create database information_schema;
147 ERROR 42000: Access denied for user 'root'@'localhost' to database 'information_schema'
149 TABLESPACES SYSTEM VIEW
150 TABLE_CONSTRAINTS SYSTEM VIEW
151 TABLE_PRIVILEGES SYSTEM VIEW
152 +TABLE_STATISTICS SYSTEM VIEW
153 +TEMPORARY_TABLES SYSTEM VIEW
154 +THREAD_STATISTICS SYSTEM VIEW
156 create table t1(a int);
157 ERROR 42000: Access denied for user 'root'@'localhost' to database 'information_schema'
166 select table_name from tables where table_name='user';
169 FILES CREATE_TIME datetime
170 FILES UPDATE_TIME datetime
171 FILES CHECK_TIME datetime
172 +GLOBAL_TEMPORARY_TABLES CREATE_TIME datetime
173 +GLOBAL_TEMPORARY_TABLES UPDATE_TIME datetime
174 PARTITIONS CREATE_TIME datetime
175 PARTITIONS UPDATE_TIME datetime
176 PARTITIONS CHECK_TIME datetime
178 TABLES CREATE_TIME datetime
179 TABLES UPDATE_TIME datetime
180 TABLES CHECK_TIME datetime
181 +TEMPORARY_TABLES CREATE_TIME datetime
182 +TEMPORARY_TABLES UPDATE_TIME datetime
183 TRIGGERS CREATED datetime
184 event execute_at datetime
185 event last_executed datetime
187 TABLE_NAME COLUMN_NAME PRIVILEGES
188 COLUMNS TABLE_NAME select
189 COLUMN_PRIVILEGES TABLE_NAME select
190 +INDEX_STATISTICS TABLE_NAME select
191 FILES TABLE_NAME select
192 +GLOBAL_TEMPORARY_TABLES TABLE_NAME select
193 KEY_COLUMN_USAGE TABLE_NAME select
194 PARTITIONS TABLE_NAME select
195 REFERENTIAL_CONSTRAINTS TABLE_NAME select
197 TABLES TABLE_NAME select
198 TABLE_CONSTRAINTS TABLE_NAME select
199 TABLE_PRIVILEGES TABLE_NAME select
200 +TABLE_STATISTICS TABLE_NAME select
201 +TEMPORARY_TABLES TABLE_NAME select
202 VIEWS TABLE_NAME select
203 +INNODB_TABLE_STATS table_name select
204 +INNODB_INDEX_STATS table_name select
205 delete from mysql.user where user='mysqltest_4';
206 delete from mysql.db where user='mysqltest_4';
209 AND table_name not like 'ndb%' AND table_name not like 'innodb_%'
210 GROUP BY TABLE_SCHEMA;
211 table_schema count(*)
212 -information_schema 30
213 +information_schema 39
215 create table t1 (i int, j int);
216 create trigger trg1 before insert on t1 for each row
217 @@ -1245,12 +1282,12 @@
218 DROP USER mysql_bug20230@localhost;
219 SELECT MAX(table_name) FROM information_schema.tables WHERE table_schema IN ('mysql', 'INFORMATION_SCHEMA', 'test');
222 +XTRADB_ADMIN_COMMAND
223 SELECT table_name from information_schema.tables
224 WHERE table_name=(SELECT MAX(table_name)
225 FROM information_schema.tables WHERE table_schema IN ('mysql', 'INFORMATION_SCHEMA', 'test'));
228 +XTRADB_ADMIN_COMMAND
229 DROP TABLE IF EXISTS bug23037;
230 DROP FUNCTION IF EXISTS get_value;
231 SELECT COLUMN_NAME, MD5(COLUMN_DEFAULT), LENGTH(COLUMN_DEFAULT) FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME='bug23037';
232 @@ -1311,6 +1348,7 @@
233 group by t.table_name order by num1, t.table_name;
234 table_name group_concat(t.table_schema, '.', t.table_name) num1
235 CHARACTER_SETS information_schema.CHARACTER_SETS 1
236 +CLIENT_STATISTICS information_schema.CLIENT_STATISTICS 1
237 COLLATIONS information_schema.COLLATIONS 1
238 COLLATION_CHARACTER_SET_APPLICABILITY information_schema.COLLATION_CHARACTER_SET_APPLICABILITY 1
239 COLUMNS information_schema.COLUMNS 1
240 @@ -1319,13 +1357,16 @@
241 EVENTS information_schema.EVENTS 1
242 FILES information_schema.FILES 1
243 GLOBAL_STATUS information_schema.GLOBAL_STATUS 1
244 +GLOBAL_TEMPORARY_TABLES information_schema.GLOBAL_TEMPORARY_TABLES 1
245 GLOBAL_VARIABLES information_schema.GLOBAL_VARIABLES 1
246 +INDEX_STATISTICS information_schema.INDEX_STATISTICS 1
247 KEY_COLUMN_USAGE information_schema.KEY_COLUMN_USAGE 1
248 PARAMETERS information_schema.PARAMETERS 1
249 PARTITIONS information_schema.PARTITIONS 1
250 PLUGINS information_schema.PLUGINS 1
251 PROCESSLIST information_schema.PROCESSLIST 1
252 PROFILING information_schema.PROFILING 1
253 +QUERY_RESPONSE_TIME information_schema.QUERY_RESPONSE_TIME 1
254 REFERENTIAL_CONSTRAINTS information_schema.REFERENTIAL_CONSTRAINTS 1
255 ROUTINES information_schema.ROUTINES 1
256 SCHEMATA information_schema.SCHEMATA 1
257 @@ -1337,8 +1378,12 @@
258 TABLESPACES information_schema.TABLESPACES 1
259 TABLE_CONSTRAINTS information_schema.TABLE_CONSTRAINTS 1
260 TABLE_PRIVILEGES information_schema.TABLE_PRIVILEGES 1
261 +TABLE_STATISTICS information_schema.TABLE_STATISTICS 1
262 +TEMPORARY_TABLES information_schema.TEMPORARY_TABLES 1
263 +THREAD_STATISTICS information_schema.THREAD_STATISTICS 1
264 TRIGGERS information_schema.TRIGGERS 1
265 USER_PRIVILEGES information_schema.USER_PRIVILEGES 1
266 +USER_STATISTICS information_schema.USER_STATISTICS 1
267 VIEWS information_schema.VIEWS 1
268 create table t1(f1 int);
269 create view v1 as select f1+1 as a from t1;
270 diff -ruN a/mysql-test/r/information_schema_db.result b/mysql-test/r/information_schema_db.result
271 --- a/mysql-test/r/information_schema_db.result 2010-12-03 20:58:24.000000000 +0300
272 +++ b/mysql-test/r/information_schema_db.result 2011-01-10 23:06:43.000000000 +0300
274 show tables where Tables_in_information_schema NOT LIKE 'Innodb%';
275 Tables_in_information_schema
279 COLLATION_CHARACTER_SET_APPLICABILITY
287 +GLOBAL_TEMPORARY_TABLES
293 REFERENTIAL_CONSTRAINTS
310 +XTRADB_ADMIN_COMMAND
311 show tables from INFORMATION_SCHEMA like 'T%';
312 Tables_in_information_schema (T%)
321 create database `inf%`;
322 create database mbase;
323 diff -ruN a/mysql-test/r/mysqld--help-notwin.result b/mysql-test/r/mysqld--help-notwin.result
324 --- a/mysql-test/r/mysqld--help-notwin.result 2010-12-03 20:58:24.000000000 +0300
325 +++ b/mysql-test/r/mysqld--help-notwin.result 2011-01-10 23:34:28.000000000 +0300
327 --div-precision-increment=#
328 Precision of the result of '/' operator will be increased
330 + --enable-query-response-time-stats
331 + Enable or disable query response time statisics
333 --engine-condition-pushdown
334 Push supported query conditions to the storage engine.
335 Deprecated, use --optimizer-switch instead.
336 @@ -244,21 +247,43 @@
337 --log-slow-admin-statements
338 Log slow OPTIMIZE, ANALYZE, ALTER and other
339 administrative statements to the slow log if it is open.
340 + --log-slow-filter=name
341 + Log only the queries that followed certain execution
342 + plan. Multiple flags allowed in a comma-separated string.
343 + [qc_miss, full_scan, full_join, tmp_table,
344 + tmp_table_on_disk, filesort, filesort_on_disk]
345 --log-slow-queries[=name]
346 Log slow queries to a table or log file. Defaults logging
347 to table mysql.slow_log or hostname-slow.log if
348 --log-output=file is used. Must be enabled to activate
349 other slow log options. Deprecated option, use
350 --slow-query-log/--slow-query-log-file instead.
351 + --log-slow-rate-limit=#
352 + Rate limit statement writes to slow log to only those
353 + from every (1/log_slow_rate_limit) session.
354 --log-slow-slave-statements
355 - Log slow statements executed by slave thread to the slow
357 + Log queries replayed be the slave SQL thread
358 + --log-slow-sp-statements
359 + Log slow statements executed by stored procedure to the
360 + slow log if it is open.
361 + (Defaults to on; use --skip-log-slow-sp-statements to disable.)
362 + --log-slow-timestamp-every
363 + Timestamp is printed for all records of the slow log even
364 + if they are same time.
365 + --log-slow-verbosity=name
366 + Choose how verbose the messages to your slow log will be.
367 + Multiple flags allowed in a comma-separated string.
368 + [microtime, query_plan, innodb, profiling,
369 + profiling_get_rusage]
370 --log-tc=name Path to transaction coordinator log (used for
371 transactions that affect more than one storage engine,
372 when binary log is disabled).
373 --log-tc-size=# Size of transaction coordinator log.
374 -W, --log-warnings[=#]
375 Log some not critical warnings to the log file
376 + --log-warnings-silence=name
377 + disable logging of enumerated warnings: 1592: unsafe
378 + statements for binary logging; possible values : [1592]
379 --long-query-time=# Log all queries that have taken more than long_query_time
380 seconds to execute to file. The argument will be treated
381 as a decimal value with microsecond precision
383 The minimum size for blocks allocated by the query cache
385 The memory allocated to store results from old queries
386 + --query-cache-strip-comments
387 + Enable and disable optimisation "strip comment for query
388 + cache" - optimisation strip all comments from query while
389 + search query result in query cache
390 --query-cache-type=name
391 OFF = Don't cache or retrieve results. ON = Cache all
392 results except SELECT SQL_NO_CACHE ... queries. DEMAND =
394 Invalidate queries in query cache on LOCK for write
395 --query-prealloc-size=#
396 Persistent buffer for query parsing and execution
397 + --query-response-time-range-base=#
398 + Select base of log for query_response_time ranges.
399 + WARNING: variable change affect only after flush
400 --range-alloc-block-size=#
401 Allocation block size for storing ranges during
404 Log slow queries to given log file. Defaults logging to
405 hostname-slow.log. Must be enabled to activate other slow
407 + --slow-query-log-microseconds-timestamp
408 + Log slow statements executed by stored procedure to the
409 + slow log if it is open.
410 --socket=name Socket file to use for connection
412 Each thread that needs to do a sort allocates a buffer of
414 Define threads usage for handling queries, one of
415 one-thread-per-connection, no-threads, loaded-dynamically
416 --thread-stack=# The stack size for each thread
417 + --thread-statistics Control TABLE_STATISTICS running, when userstat_running
419 --time-format=name The TIME format (ignored)
420 --timed-mutexes Specify whether to time mutexes (only InnoDB mutexes are
422 @@ -715,11 +752,24 @@
423 Prohibit update of a VIEW, which does not contain a key
424 of the underlying table and the query uses a LIMIT clause
425 (usually get from GUI tools)
426 + --use-global-log-slow-control=name
427 + Choose flags, wich always use the global variables.
428 + Multiple flags allowed in a comma-separated string.
429 + [none, log_slow_filter, log_slow_rate_limit,
430 + log_slow_verbosity, long_query_time,
431 + min_examined_row_limit, all]
432 -u, --user=name Run mysqld daemon as user.
433 + --userstat-running Control USER_STATISTICS, CLIENT_STATISTICS,
434 + THREAD_STATISTICS, INDEX_STATISTICS and TABLE_STATISTICS
436 -v, --verbose Used with --help option for detailed help.
437 -V, --version Output version information and exit.
438 --wait-timeout=# The number of seconds the server waits for activity on a
439 connection before closing it
440 + --xtradb-admin-command[=name]
441 + Enable or disable XTRADB_ADMIN_COMMAND plugin. Possible
442 + values are ON, OFF, FORCE (don't start if the plugin
445 Variables (--variable-name=value)
446 abort-slave-event-count 0
448 delayed-queue-size 1000
449 disconnect-slave-event-count 0
450 div-precision-increment 4
451 +enable-query-response-time-stats FALSE
452 engine-condition-pushdown TRUE
455 @@ -800,10 +851,16 @@
456 log-short-format FALSE
457 log-slave-updates FALSE
458 log-slow-admin-statements FALSE
460 +log-slow-rate-limit 1
461 log-slow-slave-statements FALSE
462 +log-slow-sp-statements TRUE
463 +log-slow-timestamp-every FALSE
468 +log-warnings-silence
470 low-priority-updates FALSE
471 lower-case-table-names 1
473 query-cache-limit 1048576
474 query-cache-min-res-unit 4096
476 +query-cache-strip-comments FALSE
478 query-cache-wlock-invalidate FALSE
479 query-prealloc-size 8192
480 +query-response-time-range-base 10
481 range-alloc-block-size 4096
482 read-buffer-size 131072
485 slave-type-conversions
488 +slow-query-log-microseconds-timestamp FALSE
489 sort-buffer-size 2097152
490 sporadic-binlog-dump-fail FALSE
494 thread-handling one-thread-per-connection
496 +thread-statistics FALSE
499 tmp-table-size 16777216
501 transaction-isolation REPEATABLE-READ
502 transaction-prealloc-size 4096
503 updatable-views-with-limit YES
504 +use-global-log-slow-control
505 +userstat-running FALSE
508 +xtradb-admin-command ON
510 To see what values a running MySQL server is using, type
511 'mysqladmin variables' instead of 'mysqld --verbose --help'.
512 diff -ruN a/mysql-test/r/mysqldump.result b/mysql-test/r/mysqldump.result
513 --- a/mysql-test/r/mysqldump.result 2010-11-03 07:01:12.000000000 +0900
514 +++ b/mysql-test/r/mysqldump.result 2010-12-10 16:48:11.013968901 +0900
515 @@ -1832,7 +1832,7 @@
516 # Bug#21288 mysqldump segmentation fault when using --where
518 create table t1 (a int);
519 -mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ * FROM `t1` WHERE xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 (1064)
520 +mysqldump: Couldn't execute 'SELECT /*!40001 SQL_NO_CACHE */ /*!50084 SQL_NO_FCACHE */ * FROM `t1` WHERE xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx': You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 (1064)
521 mysqldump: Got error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' at line 1 when retrieving data from server
523 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
524 diff -ruN a/mysql-test/r/mysqlshow.result b/mysql-test/r/mysqlshow.result
525 --- a/mysql-test/r/mysqlshow.result 2010-12-03 20:58:24.000000000 +0300
526 +++ b/mysql-test/r/mysqlshow.result 2011-01-11 16:41:03.000000000 +0300
529 +---------------------------------------+
531 +| CLIENT_STATISTICS |
533 | COLLATION_CHARACTER_SET_APPLICABILITY |
535 | COLUMN_PRIVILEGES |
536 +| INDEX_STATISTICS |
541 +| GLOBAL_TEMPORARY_TABLES |
547 | REFERENTIAL_CONSTRAINTS |
549 +| QUERY_RESPONSE_TIME |
551 | SCHEMA_PRIVILEGES |
553 @@ -106,30 +110,52 @@
555 | TABLE_CONSTRAINTS |
557 +| TABLE_STATISTICS |
558 +| TEMPORARY_TABLES |
559 +| THREAD_STATISTICS |
564 -| INNODB_CMP_RESET |
565 +| INNODB_SYS_COLUMNS |
569 -| INNODB_CMPMEM_RESET |
570 +| INNODB_SYS_TABLESTATS |
571 | INNODB_LOCK_WAITS |
574 +| XTRADB_ADMIN_COMMAND |
576 +| INNODB_SYS_FOREIGN_COLS |
577 +| INNODB_CMP_RESET |
578 +| INNODB_BUFFER_POOL_PAGES |
579 +| INNODB_SYS_TABLES |
580 +| INNODB_BUFFER_POOL_PAGES_INDEX |
582 +| INNODB_BUFFER_POOL_PAGES_BLOB |
583 +| INNODB_CMPMEM_RESET |
584 +| INNODB_SYS_FIELDS |
585 +| INNODB_TABLE_STATS |
586 +| INNODB_SYS_STATS |
587 +| INNODB_SYS_FOREIGN |
588 +| INNODB_SYS_INDEXES |
589 +| INNODB_INDEX_STATS |
590 +---------------------------------------+
591 Database: INFORMATION_SCHEMA
592 +---------------------------------------+
594 +---------------------------------------+
596 +| CLIENT_STATISTICS |
598 | COLLATION_CHARACTER_SET_APPLICABILITY |
600 | COLUMN_PRIVILEGES |
601 +| INDEX_STATISTICS |
606 +| GLOBAL_TEMPORARY_TABLES |
612 | REFERENTIAL_CONSTRAINTS |
614 +| QUERY_RESPONSE_TIME |
616 | SCHEMA_PRIVILEGES |
618 @@ -148,16 +175,35 @@
620 | TABLE_CONSTRAINTS |
622 +| TABLE_STATISTICS |
623 +| TEMPORARY_TABLES |
624 +| THREAD_STATISTICS |
629 -| INNODB_CMP_RESET |
630 +| INNODB_SYS_COLUMNS |
634 -| INNODB_CMPMEM_RESET |
635 +| INNODB_SYS_TABLESTATS |
636 | INNODB_LOCK_WAITS |
639 +| XTRADB_ADMIN_COMMAND |
641 +| INNODB_SYS_FOREIGN_COLS |
642 +| INNODB_CMP_RESET |
643 +| INNODB_BUFFER_POOL_PAGES |
644 +| INNODB_SYS_TABLES |
645 +| INNODB_BUFFER_POOL_PAGES_INDEX |
647 +| INNODB_BUFFER_POOL_PAGES_BLOB |
648 +| INNODB_CMPMEM_RESET |
649 +| INNODB_SYS_FIELDS |
650 +| INNODB_TABLE_STATS |
651 +| INNODB_SYS_STATS |
652 +| INNODB_SYS_FOREIGN |
653 +| INNODB_SYS_INDEXES |
654 +| INNODB_INDEX_STATS |
655 +---------------------------------------+
656 Wildcard: inf_rmation_schema
657 +--------------------+
658 diff -ruN a/mysql-test/r/select.result b/mysql-test/r/select.result
659 --- a/mysql-test/r/select.result 2010-11-03 07:01:12.000000000 +0900
660 +++ b/mysql-test/r/select.result 2010-12-10 16:48:11.023052909 +0900
661 @@ -2196,10 +2196,10 @@
662 select * from (t1 as t2 left join t1 as t3 using (a)) inner join t1 on t1.a>1;
672 select * from t1 inner join (t1 as t2 left join t1 as t3 using (a)) on t1.a>1;
674 diff -ruN a/mysql-test/suite/innodb/r/innodb.result b/mysql-test/suite/innodb/r/innodb.result
675 --- a/mysql-test/suite/innodb/r/innodb.result 2010-11-03 07:01:12.000000000 +0900
676 +++ b/mysql-test/suite/innodb/r/innodb.result 2010-12-10 16:48:11.026994635 +0900
677 @@ -1661,7 +1661,7 @@
679 SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_buffer_pool_pages_total';
683 SELECT variable_value FROM information_schema.global_status WHERE LOWER(variable_name) = 'innodb_page_size';
686 diff -ruN a/mysql-test/suite/sys_vars/r/all_vars.result b/mysql-test/suite/sys_vars/r/all_vars.result
687 --- a/mysql-test/suite/sys_vars/r/all_vars.result 2010-12-03 20:58:25.000000000 +0300
688 +++ b/mysql-test/suite/sys_vars/r/all_vars.result 2011-01-10 23:09:13.000000000 +0300
690 select variable_name as `There should be *no* variables listed below:` from t2
691 left join t1 on variable_name=test_name where test_name is null;
692 There should be *no* variables listed below:
693 +INNODB_BUFFER_POOL_SHM_KEY
694 +LOG_SLOW_SP_STATEMENTS
695 +INNODB_DOUBLEWRITE_FILE
696 +INNODB_THREAD_CONCURRENCY_TIMER_BASED
697 +LOG_SLOW_TIMESTAMP_EVERY
699 +INNODB_PASS_CORRUPT_TABLE
700 +INNODB_RECOVERY_STATS
701 +INNODB_FLUSH_NEIGHBOR_PAGES
702 +INNODB_BUFFER_POOL_SHM_CHECKSUM
703 +INNODB_FLUSH_LOG_AT_TRX_COMMIT_SESSION
705 +ENABLE_QUERY_RESPONSE_TIME_STATS
707 +INNODB_ADAPTIVE_CHECKPOINT
708 +INNODB_SHOW_LOCKS_HELD
709 +INNODB_IBUF_ACCEL_RATE
710 +INNODB_EXPAND_IMPORT
711 +QUERY_CACHE_STRIP_COMMENTS
712 +INNODB_CHECKPOINT_AGE_TARGET
718 +USE_GLOBAL_LOG_SLOW_CONTROL
719 +INNODB_ENABLE_UNSAFE_GROUP_COMMIT
720 +INNODB_SHOW_VERBOSE_LOCKS
721 +INNODB_ADAPTIVE_HASH_INDEX_PARTITIONS
722 +SLOW_QUERY_LOG_MICROSECONDS_TIMESTAMP
723 +INNODB_LOG_BLOCK_SIZE
724 +INNODB_USE_SYS_STATS_TABLE
725 +INNODB_STATS_UPDATE_NEED_LOCK
726 +QUERY_RESPONSE_TIME_RANGE_BASE
727 +INNODB_STATS_AUTO_UPDATE
728 +INNODB_IBUF_ACTIVE_CONTRACT
729 INNODB_FILE_FORMAT_MAX
730 +INNODB_AUTO_LRU_DUMP
731 +LOG_WARNINGS_SILENCE
733 +INNODB_DICT_SIZE_LIMIT
734 +INNODB_IBUF_MAX_SIZE
735 +INNODB_FAST_CHECKSUM
736 +LOG_SLOW_SLAVE_STATEMENTS
737 +INNODB_OVERWRITE_RELAY_LOG_INFO
738 +INNODB_EXTRA_RSEGMENTS
740 +INNODB_BUFFER_POOL_SHM_KEY
741 +LOG_SLOW_SP_STATEMENTS
742 +INNODB_DOUBLEWRITE_FILE
743 +INNODB_THREAD_CONCURRENCY_TIMER_BASED
744 +LOG_SLOW_TIMESTAMP_EVERY
746 +INNODB_PASS_CORRUPT_TABLE
747 +INNODB_RECOVERY_STATS
748 +INNODB_FLUSH_NEIGHBOR_PAGES
749 +INNODB_BUFFER_POOL_SHM_CHECKSUM
750 +INNODB_FLUSH_LOG_AT_TRX_COMMIT_SESSION
752 +ENABLE_QUERY_RESPONSE_TIME_STATS
754 +INNODB_ADAPTIVE_CHECKPOINT
755 +INNODB_SHOW_LOCKS_HELD
756 +INNODB_IBUF_ACCEL_RATE
757 +INNODB_EXPAND_IMPORT
758 +QUERY_CACHE_STRIP_COMMENTS
759 +INNODB_CHECKPOINT_AGE_TARGET
765 +USE_GLOBAL_LOG_SLOW_CONTROL
766 +INNODB_ENABLE_UNSAFE_GROUP_COMMIT
767 +INNODB_SHOW_VERBOSE_LOCKS
768 +INNODB_ADAPTIVE_HASH_INDEX_PARTITIONS
769 +SLOW_QUERY_LOG_MICROSECONDS_TIMESTAMP
770 +INNODB_LOG_BLOCK_SIZE
771 +INNODB_USE_SYS_STATS_TABLE
772 +INNODB_STATS_UPDATE_NEED_LOCK
773 +QUERY_RESPONSE_TIME_RANGE_BASE
774 +INNODB_STATS_AUTO_UPDATE
775 +INNODB_IBUF_ACTIVE_CONTRACT
776 INNODB_FILE_FORMAT_MAX
777 +INNODB_AUTO_LRU_DUMP
778 +LOG_WARNINGS_SILENCE
780 +INNODB_DICT_SIZE_LIMIT
781 +INNODB_IBUF_MAX_SIZE
782 +INNODB_FAST_CHECKSUM
783 +LOG_SLOW_SLAVE_STATEMENTS
784 +INNODB_OVERWRITE_RELAY_LOG_INFO
785 +INNODB_EXTRA_RSEGMENTS
789 diff -ruN a/mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result b/mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result
790 --- a/mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result 2010-11-03 07:01:13.000000000 +0900
791 +++ b/mysql-test/suite/sys_vars/r/innodb_adaptive_flushing_basic.result 2010-12-10 16:48:11.031065741 +0900
793 SET @start_global_value = @@global.innodb_adaptive_flushing;
794 SELECT @start_global_value;
798 Valid values are 'ON' and 'OFF'
799 select @@global.innodb_adaptive_flushing in (0, 1);
800 @@global.innodb_adaptive_flushing in (0, 1)
802 select @@global.innodb_adaptive_flushing;
803 @@global.innodb_adaptive_flushing
806 select @@session.innodb_adaptive_flushing;
807 ERROR HY000: Variable 'innodb_adaptive_flushing' is a GLOBAL variable
808 show global variables like 'innodb_adaptive_flushing';
810 -innodb_adaptive_flushing ON
811 +innodb_adaptive_flushing OFF
812 show session variables like 'innodb_adaptive_flushing';
814 -innodb_adaptive_flushing ON
815 +innodb_adaptive_flushing OFF
816 select * from information_schema.global_variables where variable_name='innodb_adaptive_flushing';
817 VARIABLE_NAME VARIABLE_VALUE
818 -INNODB_ADAPTIVE_FLUSHING ON
819 +INNODB_ADAPTIVE_FLUSHING OFF
820 select * from information_schema.session_variables where variable_name='innodb_adaptive_flushing';
821 VARIABLE_NAME VARIABLE_VALUE
822 -INNODB_ADAPTIVE_FLUSHING ON
823 +INNODB_ADAPTIVE_FLUSHING OFF
824 set global innodb_adaptive_flushing='OFF';
825 select @@global.innodb_adaptive_flushing;
826 @@global.innodb_adaptive_flushing
828 SET @@global.innodb_adaptive_flushing = @start_global_value;
829 SELECT @@global.innodb_adaptive_flushing;
830 @@global.innodb_adaptive_flushing
833 diff -ruN a/mysql-test/suite/sys_vars/r/plugin_dir_basic.result b/mysql-test/suite/sys_vars/r/plugin_dir_basic.result
834 --- a/mysql-test/suite/sys_vars/r/plugin_dir_basic.result 2010-11-03 07:01:13.000000000 +0900
835 +++ b/mysql-test/suite/sys_vars/r/plugin_dir_basic.result 2010-12-10 16:48:11.033057415 +0900
837 select @@global.plugin_dir;
840 +MYSQL_LIBDIR64/plugin
841 select @@session.plugin_dir;
842 ERROR HY000: Variable 'plugin_dir' is a GLOBAL variable
843 show global variables like 'plugin_dir';
845 -plugin_dir MYSQL_LIBDIR/plugin
846 +plugin_dir MYSQL_LIBDIR64/plugin
847 show session variables like 'plugin_dir';
849 -plugin_dir MYSQL_LIBDIR/plugin
850 +plugin_dir MYSQL_LIBDIR64/plugin
851 select * from information_schema.global_variables where variable_name='plugin_dir';
852 VARIABLE_NAME VARIABLE_VALUE
853 -PLUGIN_DIR MYSQL_LIBDIR/plugin
854 +PLUGIN_DIR MYSQL_LIBDIR64/plugin
855 select * from information_schema.session_variables where variable_name='plugin_dir';
856 VARIABLE_NAME VARIABLE_VALUE
857 -PLUGIN_DIR MYSQL_LIBDIR/plugin
858 +PLUGIN_DIR MYSQL_LIBDIR64/plugin
859 set global plugin_dir=1;
860 ERROR HY000: Variable 'plugin_dir' is a read only variable
861 set session plugin_dir=1;
862 diff -ruN a/mysql-test/t/connect.test b/mysql-test/t/connect.test
863 --- a/mysql-test/t/connect.test 2010-11-03 07:01:12.000000000 +0900
864 +++ b/mysql-test/t/connect.test 2010-12-10 16:48:11.034065111 +0900
866 +set global log_warnings=0;
868 # This test is to check various cases of connections
869 # with right and wrong password, with and without database
870 # Unfortunately the check is incomplete as we can't connect without database
872 # Wait till all disconnects are completed
873 --source include/wait_until_count_sessions.inc
875 +set global log_warnings=1;