2010-11-03 16:42:33 +01:00
|
|
|
select * from performance_schema.setup_instruments;
|
|
|
|
select * from performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
where name like 'Wait/Synch/Mutex/sql/%'
|
|
|
|
and name not in ('wait/synch/mutex/sql/DEBUG_SYNC::mutex')
|
|
|
|
order by name limit 10;
|
|
|
|
NAME ENABLED TIMED
|
|
|
|
wait/synch/mutex/sql/Cversion_lock YES YES
|
|
|
|
wait/synch/mutex/sql/Delayed_insert::mutex YES YES
|
|
|
|
wait/synch/mutex/sql/Event_scheduler::LOCK_scheduler_state YES YES
|
|
|
|
wait/synch/mutex/sql/hash_filo::lock YES YES
|
2010-05-25 11:34:36 +02:00
|
|
|
wait/synch/mutex/sql/HA_DATA_PARTITION::LOCK_auto_inc YES YES
|
2010-01-11 18:47:27 -07:00
|
|
|
wait/synch/mutex/sql/LOCK_active_mi YES YES
|
2010-01-19 20:42:25 +04:00
|
|
|
wait/synch/mutex/sql/LOCK_audit_mask YES YES
|
2013-03-26 10:35:34 +01:00
|
|
|
wait/synch/mutex/sql/LOCK_binlog_state YES YES
|
fixes for test failures
and small collateral changes
mysql-test/lib/My/Test.pm:
somehow with "print" we get truncated writes sometimes
mysql-test/suite/perfschema/r/digest_table_full.result:
md5 hashes of statement digests differ, because yacc token codes are different in mariadb
mysql-test/suite/perfschema/r/dml_handler.result:
host table is not ported over yet
mysql-test/suite/perfschema/r/information_schema.result:
host table is not ported over yet
mysql-test/suite/perfschema/r/nesting.result:
this differs, because we don't rewrite general log queries, and multi-statement
packets are logged as a one entry. this result file is identical to what mysql-5.6.5
produces with the --log-raw option.
mysql-test/suite/perfschema/r/relaylog.result:
MariaDB modifies the binlog index file directly, while MySQL 5.6 has a feature "crash-safe binlog index" and modifies a special "crash-safe" shadow copy of the index file and then moves it over. That's why this test shows "NONE" index file writes in MySQL and "MANY" in MariaDB.
mysql-test/suite/perfschema/r/server_init.result:
MariaDB initializes the "manager" resources from the "manager" thread, and starts this thread only when --flush-time is not 0. MySQL 5.6 initializes "manager" resources unconditionally on server startup.
mysql-test/suite/perfschema/r/stage_mdl_global.result:
this differs, because MariaDB disables query cache when query_cache_size=0. MySQL does not
do that, and this causes useless mutex locks and waits.
mysql-test/suite/perfschema/r/statement_digest.result:
md5 hashes of statement digests differ, because yacc token codes are different in mariadb
mysql-test/suite/perfschema/r/statement_digest_consumers.result:
md5 hashes of statement digests differ, because yacc token codes are different in mariadb
mysql-test/suite/perfschema/r/statement_digest_long_query.result:
md5 hashes of statement digests differ, because yacc token codes are different in mariadb
mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result:
will be updated to match 5.6 when alfranio.correia@oracle.com-20110512172919-c1b5kmum4h52g0ni and anders.song@greatopensource.com-20110105052107-zoab0bsf5a6xxk2y are merged
mysql-test/suite/rpl/r/rpl_non_direct_mixed_mixing_engines.result:
will be updated to match 5.6 when anders.song@greatopensource.com-20110105052107-zoab0bsf5a6xxk2y is merged
2012-09-27 20:09:46 +02:00
|
|
|
wait/synch/mutex/sql/LOCK_commit_ordered YES YES
|
2010-01-11 18:47:27 -07:00
|
|
|
wait/synch/mutex/sql/LOCK_connection_count YES YES
|
2010-11-03 16:42:33 +01:00
|
|
|
select * from performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
where name like 'Wait/Synch/Rwlock/sql/%'
|
2010-01-21 17:57:57 -07:00
|
|
|
and name not in ('wait/synch/rwlock/sql/CRYPTO_dynlock_value::lock')
|
2010-01-21 11:06:03 -07:00
|
|
|
order by name limit 10;
|
2010-01-11 18:47:27 -07:00
|
|
|
NAME ENABLED TIMED
|
|
|
|
wait/synch/rwlock/sql/LOCK_dboptions YES YES
|
2013-08-14 12:48:50 +04:00
|
|
|
wait/synch/rwlock/sql/LOCK_flush YES YES
|
2010-01-11 18:47:27 -07:00
|
|
|
wait/synch/rwlock/sql/LOCK_grant YES YES
|
|
|
|
wait/synch/rwlock/sql/LOCK_system_variables_hash YES YES
|
|
|
|
wait/synch/rwlock/sql/LOCK_sys_init_connect YES YES
|
|
|
|
wait/synch/rwlock/sql/LOCK_sys_init_slave YES YES
|
2013-08-14 12:48:50 +04:00
|
|
|
wait/synch/rwlock/sql/LOCK_tdc YES YES
|
2010-01-11 18:47:27 -07:00
|
|
|
wait/synch/rwlock/sql/LOGGER::LOCK_logger YES YES
|
2010-06-07 11:06:55 +04:00
|
|
|
wait/synch/rwlock/sql/MDL_context::LOCK_waiting_for YES YES
|
2010-03-07 10:50:47 -07:00
|
|
|
wait/synch/rwlock/sql/MDL_lock::rwlock YES YES
|
2010-11-03 16:42:33 +01:00
|
|
|
select * from performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
where name like 'Wait/Synch/Cond/sql/%'
|
|
|
|
and name not in (
|
|
|
|
'wait/synch/cond/sql/COND_handler_count',
|
|
|
|
'wait/synch/cond/sql/DEBUG_SYNC::cond')
|
|
|
|
order by name limit 10;
|
|
|
|
NAME ENABLED TIMED
|
|
|
|
wait/synch/cond/sql/COND_flush_thread_cache YES YES
|
|
|
|
wait/synch/cond/sql/COND_manager YES YES
|
|
|
|
wait/synch/cond/sql/COND_queue_state YES YES
|
|
|
|
wait/synch/cond/sql/COND_server_started YES YES
|
|
|
|
wait/synch/cond/sql/COND_thread_cache YES YES
|
|
|
|
wait/synch/cond/sql/COND_thread_count YES YES
|
|
|
|
wait/synch/cond/sql/Delayed_insert::cond YES YES
|
2010-07-27 17:34:58 +04:00
|
|
|
wait/synch/cond/sql/Delayed_insert::cond_client YES YES
|
2010-11-11 20:11:05 +03:00
|
|
|
wait/synch/cond/sql/Event_scheduler::COND_state YES YES
|
2012-08-14 17:23:34 +03:00
|
|
|
wait/synch/cond/sql/Item_func_sleep::cond YES YES
|
2010-11-03 16:42:33 +01:00
|
|
|
select * from performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
where name='Wait';
|
2010-11-03 16:42:33 +01:00
|
|
|
select * from performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
where enabled='YES';
|
2010-11-03 16:42:33 +01:00
|
|
|
insert into performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
set name='FOO', enabled='YES', timed='YES';
|
2010-11-03 16:42:33 +01:00
|
|
|
ERROR 42000: INSERT command denied to user 'root'@'localhost' for table 'setup_instruments'
|
|
|
|
update performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
set name='FOO';
|
|
|
|
ERROR HY000: Invalid performance_schema usage.
|
2010-11-03 16:42:33 +01:00
|
|
|
update performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
set enabled='NO';
|
2010-11-03 16:42:33 +01:00
|
|
|
update performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
set timed='NO';
|
2010-11-03 16:42:33 +01:00
|
|
|
select * from performance_schema.setup_instruments;
|
|
|
|
update performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
set enabled='YES', timed='YES';
|
2010-11-03 16:42:33 +01:00
|
|
|
delete from performance_schema.setup_instruments;
|
|
|
|
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_instruments'
|
|
|
|
delete from performance_schema.setup_instruments
|
2010-01-11 18:47:27 -07:00
|
|
|
where name like 'Wait/Synch/%';
|
2010-11-03 16:42:33 +01:00
|
|
|
ERROR 42000: DELETE command denied to user 'root'@'localhost' for table 'setup_instruments'
|
|
|
|
LOCK TABLES performance_schema.setup_instruments READ;
|
2010-01-11 18:47:27 -07:00
|
|
|
UNLOCK TABLES;
|
2010-11-03 16:42:33 +01:00
|
|
|
LOCK TABLES performance_schema.setup_instruments WRITE;
|
2010-01-11 18:47:27 -07:00
|
|
|
UNLOCK TABLES;
|
2013-07-08 15:19:50 +03:00
|
|
|
|
|
|
|
# Bug#13813193 ASSERTION `TABLE->READ_SET ==
|
|
|
|
# &TABLE->DEF_READ_SET' FAILED / MYSQL_UPDATE
|
|
|
|
|
|
|
|
UPDATE performance_schema.setup_instruments SET timed='NO'
|
|
|
|
ORDER BY RAND();
|