mariadb/mysql-test/suite/perfschema/t
Marc Alff 4372875aa1 Bug#53696 Performance schema engine violates the PSEA API by calling my_error()
This is a code cleanup.

The implementation of a storage engine (subclasses of handler) is not supposed
to call my_error() directly inside the engine implementation, 
but only return error codes, and report errors later at the demand
of the sql layer only (if needed), using handler::print_error().

This fix removes misplaced calls to my_error(),
and provide an implementation of print_error() instead.

Given that the sql layer implementation of create table, ha_create_table(),
does not use print_error() but returns ER_CANT_CREATE_TABLE directly,
the return code for create table statements using the performance schema
has changed to ER_CANT_CREATE_TABLE.

Adjusted the test suite accordingly.
2010-12-01 13:06:41 +01:00
..
aggregate.test
bad_option_1.test
bad_option_2.test
bad_option_3.test
bad_option_4.test
bad_option_5.test
binlog_mix.test
binlog_row.test
binlog_stmt.test
checksum.test
cnf_option.cnf
cnf_option.test
column_privilege.test
ddl_cond_instances.test
ddl_events_waits_current.test
ddl_events_waits_history.test
ddl_events_waits_history_long.test
ddl_ews_by_instance.test
ddl_ews_by_thread_by_event_name.test
ddl_ews_global_by_event_name.test
ddl_file_instances.test
ddl_fs_by_event_name.test
ddl_fs_by_instance.test
ddl_mutex_instances.test
ddl_performance_timers.test
ddl_rwlock_instances.test
ddl_setup_consumers.test
ddl_setup_instruments.test
ddl_setup_timers.test
ddl_threads.test
disabled.def
dml_cond_instances.test
dml_events_waits_current.test
dml_events_waits_history.test
dml_events_waits_history_long.test
dml_ews_by_instance.test
dml_ews_by_thread_by_event_name.test
dml_ews_global_by_event_name.test
dml_file_instances.test
dml_file_summary_by_event_name.test
dml_file_summary_by_instance.test
dml_mutex_instances.test
dml_performance_timers.test
dml_rwlock_instances.test
dml_setup_consumers.test
dml_setup_instruments.test
dml_setup_timers.test
dml_threads.test
func_file_io.test Merge from mysql-5.5-bugteam to mysql-5.5-runtime 2010-11-12 12:23:17 +01:00
func_mutex.test Merge from mysql-5.5-bugteam to mysql-5.5-runtime 2010-11-12 12:23:17 +01:00
global_read_lock.test Merge from mysql-5.5-bugteam to mysql-5.5-runtime 2010-11-12 12:23:17 +01:00
information_schema.test
misc.test Bug#53696 Performance schema engine violates the PSEA API by calling my_error() 2010-12-01 13:06:41 +01:00
myisam_file_io.opt
myisam_file_io.test
no_threads-master.opt
no_threads.test
one_thread_per_con-master.opt
one_thread_per_con.test
pfs_upgrade.test
pool_of_threads-master.opt
privilege.test
query_cache.test
read_only.test
schema.test
selects-master.opt
selects.test
server_init.test Merge from mysql-5.5-bugteam to mysql-5.5-runtime 2010-11-12 12:23:17 +01:00
short_option_1-master.opt
short_option_1.test
short_option_2-master.opt
short_option_2.test
start_server_no_cond_class-master.opt
start_server_no_cond_class.test
start_server_no_cond_inst-master.opt
start_server_no_cond_inst.test
start_server_no_file_class-master.opt
start_server_no_file_class.test
start_server_no_file_inst-master.opt
start_server_no_file_inst.test
start_server_no_mutex_class-master.opt
start_server_no_mutex_class.test
start_server_no_mutex_inst-master.opt
start_server_no_mutex_inst.test
start_server_no_rwlock_class-master.opt
start_server_no_rwlock_class.test
start_server_no_rwlock_inst-master.opt
start_server_no_rwlock_inst.test
start_server_no_thread_class-master.opt
start_server_no_thread_class.test
start_server_no_thread_inst-master.opt
start_server_no_thread_inst.test
start_server_off-master.opt
start_server_off.test
start_server_on-master.opt
start_server_on.test
tampered_perfschema_table1-master.opt
tampered_perfschema_table1.test
thread_cache.test