mariadb/mysql-test/suite/parts/r
Mattias Jonsson 3b897f2bc5 Bug#50561: ALTER PARTITIONS does not have adequate lock, breaks with
concurrent I_S query

There were two problem:
1) MYSQL_LOCK_IGNORE_FLUSH also ignored name locks
2) there was a race between abort_and_upgrade_locks and
   alter_close_tables
   (i.e. remove_table_from_cache and
    close_data_files_and_morph_locks)

Which allowed the table to be opened with MYSQL_LOCK_IGNORE_FLUSH flag
resulting in renaming a partition that was already in use,
which could cause the table to be unusable.

Solution was to not allow IGNORE_FLUSH to skip waiting for
a named locked table.

And to not release the LOCK_open mutex between the
calls to remove_table_from_cache and
close_data_files_and_morph_locks by merging the functions
abort_and_upgrade_locks and alter_close_tables.
2010-03-17 15:10:41 +01:00
..
ndb_dd_backuprestore.result Bug#41307: Tests using include/ndb_backup.inc won't work on Windows due to 'grep' call. 2009-03-16 17:36:14 -04:00
part_blocked_sql_func_innodb.result Post-push fixes for the bug #42849: 2009-12-14 20:27:43 +03:00
part_blocked_sql_func_myisam.result Post-push fixes for the bug #42849: 2009-12-14 20:27:43 +03:00
part_supported_sql_func_innodb.result
part_supported_sql_func_myisam.result
part_supported_sql_func_ndb.result
partition_alter1_1_2_innodb.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_alter1_1_2_myisam.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_alter1_1_2_ndb.result
partition_alter1_1_innodb.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_alter1_1_myisam.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_alter1_1_ndb.result
partition_alter1_2_innodb.result
partition_alter1_2_myisam.result
partition_alter1_2_ndb.result
partition_alter2_1_innodb.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_alter2_1_myisam.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_alter2_2_innodb.result pre push test result update for bug#38719 2009-02-20 10:27:32 +01:00
partition_alter2_2_myisam.result pre push test result update for bug#38719 2009-02-20 10:27:32 +01:00
partition_alter3_innodb.result
partition_alter3_myisam.result
partition_alter4_innodb.result
partition_alter4_myisam.result
partition_auto_increment_archive.result Bug#50392: insert_id is not reset for partitioned tables 2010-03-04 18:16:10 +01:00
partition_auto_increment_blackhole.result Bug#50392: insert_id is not reset for partitioned tables 2010-03-04 18:16:10 +01:00
partition_auto_increment_innodb.result Bug#50392: insert_id is not reset for partitioned tables 2010-03-04 18:16:10 +01:00
partition_auto_increment_memory.result Bug#50392: insert_id is not reset for partitioned tables 2010-03-04 18:16:10 +01:00
partition_auto_increment_myisam.result Bug#50392: insert_id is not reset for partitioned tables 2010-03-04 18:16:10 +01:00
partition_auto_increment_ndb.result Bug#50392: insert_id is not reset for partitioned tables 2010-03-04 18:16:10 +01:00
partition_basic_innodb.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_basic_myisam.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_basic_symlink_innodb.result
partition_basic_symlink_myisam.result Backport of test results for Bug#38719 from 6.0 to 5.1 2009-02-18 22:35:28 +01:00
partition_bit_innodb.result
partition_bit_myisam.result
partition_char_innodb.result
partition_char_myisam.result
partition_datetime_innodb.result Post-push fixes for the bug #42849: 2009-12-14 20:27:43 +03:00
partition_datetime_myisam.result Post-push fixes for the bug #42849: 2009-12-14 20:27:43 +03:00
partition_debug_sync_innodb.result Bug#50561: ALTER PARTITIONS does not have adequate lock, breaks with 2010-03-17 15:10:41 +01:00
partition_decimal_innodb.result
partition_decimal_myisam.result
partition_engine_innodb.result
partition_engine_myisam.result
partition_engine_ndb.result
partition_float_innodb.result
partition_float_myisam.result
partition_int_innodb.result
partition_int_myisam.result
partition_int_ndb.result
partition_mgm_lc0_archive.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc0_innodb.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc0_memory.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc0_myisam.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc0_ndb.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc1_archive.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc1_innodb.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc1_memory.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc1_myisam.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc1_ndb.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc2_archive.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc2_innodb.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc2_memory.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc2_myisam.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_mgm_lc2_ndb.result Backport of bug#36001 from 6.0 to 5.1 2009-02-18 21:22:56 +01:00
partition_recover_myisam.result even more suppression fixes 2009-08-29 23:29:47 +02:00
partition_repair_myisam.result
partition_special_innodb.result
partition_special_myisam.result
partition_syntax_innodb.result Fixed two test cases for extended partitioning tests 2009-08-03 12:12:36 +02:00
partition_syntax_myisam.result Fixed two test cases for extended partitioning tests 2009-08-03 12:12:36 +02:00
partition_syntax_ndb.result
partition_t55.out
partition_value_innodb.result
partition_value_myisam.result
partition_value_ndb.result
rpl_partition.result