mariadb/mysql-test/suite/perfschema/r/pfs_upgrade_event.result
Sergei Golubchik 04bce7b569 5.6.17
2014-05-07 10:04:30 +02:00

67 lines
5 KiB
Text

drop event if exists test.user_event;
"Testing mysql_upgrade with EVENT performance_schema.user_event"
create event test.user_event on schedule every 1 day do
select "not supposed to be here";
update mysql.event set db='performance_schema' where name='user_event';
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
ERROR 1050 (42S01) at line 164: Table 'cond_instances' already exists
ERROR 1050 (42S01) at line 189: Table 'events_waits_current' already exists
ERROR 1050 (42S01) at line 214: Table 'events_waits_history' already exists
ERROR 1050 (42S01) at line 239: Table 'events_waits_history_long' already exists
ERROR 1050 (42S01) at line 252: Table 'events_waits_summary_by_instance' already exists
ERROR 1050 (42S01) at line 265: Table 'events_waits_summary_by_host_by_event_name' already exists
ERROR 1050 (42S01) at line 278: Table 'events_waits_summary_by_user_by_event_name' already exists
ERROR 1050 (42S01) at line 292: Table 'events_waits_summary_by_account_by_event_name' already exists
ERROR 1050 (42S01) at line 305: Table 'events_waits_summary_by_thread_by_event_name' already exists
ERROR 1050 (42S01) at line 317: Table 'events_waits_summary_global_by_event_name' already exists
ERROR 1050 (42S01) at line 326: Table 'file_instances' already exists
ERROR 1050 (42S01) at line 355: Table 'file_summary_by_event_name' already exists
ERROR 1050 (42S01) at line 386: Table 'file_summary_by_instance' already exists
ERROR 1050 (42S01) at line 399: Table 'socket_instances' already exists
ERROR 1050 (42S01) at line 429: Table 'socket_summary_by_instance' already exists
ERROR 1050 (42S01) at line 458: Table 'socket_summary_by_event_name' already exists
ERROR 1050 (42S01) at line 493: Table 'host_cache' already exists
ERROR 1050 (42S01) at line 502: Table 'mutex_instances' already exists
ERROR 1050 (42S01) at line 516: Table 'objects_summary_global_by_type' already exists
ERROR 1050 (42S01) at line 526: Table 'performance_timers' already exists
ERROR 1050 (42S01) at line 536: Table 'rwlock_instances' already exists
ERROR 1050 (42S01) at line 545: Table 'setup_actors' already exists
ERROR 1050 (42S01) at line 553: Table 'setup_consumers' already exists
ERROR 1050 (42S01) at line 562: Table 'setup_instruments' already exists
ERROR 1050 (42S01) at line 573: Table 'setup_objects' already exists
ERROR 1050 (42S01) at line 581: Table 'setup_timers' already exists
ERROR 1050 (42S01) at line 626: Table 'table_io_waits_summary_by_index_usage' already exists
ERROR 1050 (42S01) at line 670: Table 'table_io_waits_summary_by_table' already exists
ERROR 1050 (42S01) at line 749: Table 'table_lock_waits_summary_by_table' already exists
ERROR 1050 (42S01) at line 769: Table 'threads' already exists
ERROR 1050 (42S01) at line 785: Table 'events_stages_current' already exists
ERROR 1050 (42S01) at line 801: Table 'events_stages_history' already exists
ERROR 1050 (42S01) at line 817: Table 'events_stages_history_long' already exists
ERROR 1050 (42S01) at line 830: Table 'events_stages_summary_by_thread_by_event_name' already exists
ERROR 1050 (42S01) at line 843: Table 'events_stages_summary_by_host_by_event_name' already exists
ERROR 1050 (42S01) at line 856: Table 'events_stages_summary_by_user_by_event_name' already exists
ERROR 1050 (42S01) at line 870: Table 'events_stages_summary_by_account_by_event_name' already exists
ERROR 1050 (42S01) at line 882: Table 'events_stages_summary_global_by_event_name' already exists
ERROR 1050 (42S01) at line 928: Table 'events_statements_current' already exists
ERROR 1050 (42S01) at line 974: Table 'events_statements_history' already exists
ERROR 1050 (42S01) at line 1020: Table 'events_statements_history_long' already exists
ERROR 1050 (42S01) at line 1052: Table 'events_statements_summary_by_thread_by_event_name' already exists
ERROR 1050 (42S01) at line 1084: Table 'events_statements_summary_by_host_by_event_name' already exists
ERROR 1050 (42S01) at line 1116: Table 'events_statements_summary_by_user_by_event_name' already exists
ERROR 1050 (42S01) at line 1149: Table 'events_statements_summary_by_account_by_event_name' already exists
ERROR 1050 (42S01) at line 1180: Table 'events_statements_summary_global_by_event_name' already exists
ERROR 1050 (42S01) at line 1189: Table 'hosts' already exists
ERROR 1050 (42S01) at line 1198: Table 'users' already exists
ERROR 1050 (42S01) at line 1208: Table 'accounts' already exists
ERROR 1050 (42S01) at line 1243: Table 'events_statements_summary_by_digest' already exists
ERROR 1050 (42S01) at line 1253: Table 'session_connect_attrs' already exists
ERROR 1050 (42S01) at line 1259: Table 'session_account_connect_attrs' already exists
ERROR 1644 (HY000) at line 1852: Unexpected content found in the performance_schema database.
FATAL ERROR: Upgrade failed
select name from mysql.event where db='performance_schema';
name
user_event
update mysql.event set db='test' where name='user_event';
drop event test.user_event;