mariadb/mysql-test/suite/parts/t
Mattias Jonsson dca6700620 Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table
Problem was that in mysql-trunk the ER() macro is now dependent on current_thd
and the innodb monitor thread has no binding to that thd object. This cause 
the crash because of bad derefencing.

Solution was to add a new macro which take the thd as an argument (which the innodb
thread uses for the call).

(Updated according to reviewers comments, i.e. added ER_THD_OR_DEFAULT and
moved test to suite parts.)

mysql-test/suite/parts/r/partition_innodb_status_file.result:
  Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table
  
  New test result file
mysql-test/suite/parts/t/partition_innodb_status_file-master.opt:
  Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table
  
  New test opt file
mysql-test/suite/parts/t/partition_innodb_status_file.test:
  Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table
  
  New test.
  Note that the innodb monitor thread only runs every 15 seconds, so this
  test will take at least 15 seconds, so I have moved it to the parts suite.
sql/sql_table.cc:
  Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table
  
  Using thd safe ER macro.
sql/unireg.h:
  Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table
  
  Added ER macros for use with specified thd pointer.
2010-02-10 10:47:14 +01:00
..
disabled.def Update disabled.def files. 2009-09-23 22:50:13 +04:00
ndb_dd_backuprestore.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
part_blocked_sql_func_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_blocked_sql_func_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_supported_sql_func_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_supported_sql_func_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
part_supported_sql_func_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter1_1_2_innodb.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_2_myisam.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_2_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter1_1_innodb.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_myisam.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_1_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter1_2_innodb.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_2_myisam.test Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
partition_alter1_2_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_alter2_1_innodb.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter2_1_myisam.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter2_2_innodb.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter2_2_myisam.test Bug#37803: Test "partition_alter2_innodb" exhausts resources (time and/or memory) 2008-09-18 12:02:48 +03:00
partition_alter3_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_alter3_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_alter4_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_alter4_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_auto_increment_archive.test Bug#45823 Assertion failure in file row/row0mysql.c line 1386 2009-09-04 09:27:11 +05:30
partition_auto_increment_blackhole.test Bug#45823 Assertion failure in file row/row0mysql.c line 1386 2009-09-04 09:27:11 +05:30
partition_auto_increment_innodb.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_memory.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_myisam.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_auto_increment_ndb.test Bug#38804: Query deadlock causes all tables to be inaccessible. 2008-09-08 15:30:01 +02:00
partition_basic_innodb.test Bug#35306: partition_basic_symlink test failures 2008-03-17 16:18:02 +01:00
partition_basic_myisam.test Bug#35306: partition_basic_symlink test failures 2008-03-17 16:18:02 +01:00
partition_basic_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_basic_symlink_innodb.test Fix paths MYSQLTEST_VARDIR/master-data -> MYSQLD_DATADIR 2008-04-04 17:46:48 +02:00
partition_basic_symlink_myisam.test Bug#34225: test suit parts uses /tmp-dir 2008-02-06 15:13:56 +01:00
partition_bit_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_bit_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_char_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_char_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_datetime_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_datetime_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_decimal_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_decimal_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_engine_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_engine_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_engine_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_float_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_float_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_innodb_status_file-master.opt Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table 2010-02-10 10:47:14 +01:00
partition_innodb_status_file.test Bug#50201: Server crashes in explain_filename on an InnoDB partitioned table 2010-02-10 10:47:14 +01:00
partition_int_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_int_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_int_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_mgm_lc0_archive.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc0_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc0_ndb.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc1_archive-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_archive.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc1_innodb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_memory-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_myisam-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_ndb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc1_ndb.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc2_archive-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_archive.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_mgm_lc2_innodb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_innodb.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_memory-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_memory.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_myisam-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_myisam.test Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_ndb-master.opt Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
partition_mgm_lc2_ndb.test WL#4444 Added TRUNCATE partition support, fixes bug#19405 and bug #35111 2009-09-10 11:15:39 +02:00
partition_recover_myisam-master.opt Post push fix for valgrind warning in ha_partition.cc 2008-08-19 11:44:22 +02:00
partition_recover_myisam.test even more suppression fixes 2009-08-29 23:29:47 +02:00
partition_repair_myisam.test Fixed the parts testsuite to work with mtr2 2009-02-01 14:00:48 +02:00
partition_special_innodb-master.opt Backport of patch for Bug#34604 (from 6.0) 2008-08-20 17:29:14 +02:00
partition_special_innodb.test Bug#40515: Query on a partitioned table does not return 2008-12-04 10:47:25 +01:00
partition_special_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_syntax_innodb.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_syntax_myisam.test Fixes for the bugs 2007-11-20 16:04:07 +01:00
partition_syntax_ndb.test Bug#36732: many disabled ndb tests in test suite parts 2008-07-01 20:38:15 +02:00
partition_value_innodb.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
partition_value_myisam.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
partition_value_ndb.test Fix for Bug#40904 20 tests in 5.1 are disabled in a bad manner 2008-12-08 15:36:42 +01:00
rpl_partition.test Fixed the parts testsuite to work with mtr2 2009-02-01 14:00:48 +02:00