mariadb/mysql-test/r
Jon Olav Hauglid 1c0388a5be Bug#13982017: ALTER TABLE RENAME ENDS UP WITH ERROR 1050 (42S01)
Fixed by backport of:
    ------------------------------------------------------------
    revno: 3402.50.156
    committer: Jon Olav Hauglid <jon.hauglid@oracle.com>
    branch nick: mysql-trunk-test
    timestamp: Wed 2012-02-08 14:10:23 +0100
    message:
      Bug#13417754 ASSERT IN ROW_DROP_DATABASE_FOR_MYSQL DURING DROP SCHEMA
      
      This assert could be triggered if an InnoDB table was being moved
      to a different database using ALTER TABLE ... RENAME, while this
      database concurrently was being dropped by DROP DATABASE.
      
      The reason for the problem was that no metadata lock was taken
      on the target database by ALTER TABLE ... RENAME.
      DROP DATABASE was therefore not blocked and could remove
      the database while ALTER TABLE ... RENAME was executing. This
      could cause the assert in InnoDB to be triggered.
      
      This patch fixes the problem by taking a IX metadata lock on
      the target database before ALTER TABLE ... RENAME starts
      moving a table to a different database.
      
      Note that this problem did not occur with RENAME TABLE which
      already takes the correct metadata locks.
      
      Also note that this patch slightly changes the behavior of
      ALTER TABLE ... RENAME. Before, the statement would abort and
      return an error if a lock on the target table name could not
      be taken immediately. With this patch, ALTER TABLE ... RENAME
      will instead block and wait until the lock can be taken 
      (or until we get a lock timeout). This also means that it is
      possible to get ER_LOCK_DEADLOCK errors in this situation
      since we allow ALTER TABLE ... RENAME to wait and not just
      abort immediately.
2012-06-01 09:31:24 +02:00
..
1st.result
alias.result
almost_full.result
alter_table-big.result
alter_table.result Bug#11815557 60269: MYSQL SHOULD REJECT ATTEMPTS TO CREATE SYSTEM 2012-04-11 15:53:17 +05:30
analyze.result
ansi.result
archive-big.result
archive.result
archive_bitfield.result
archive_debug.result
archive_gis.result
archive_plugin.result
auth_rpl.result
auto_increment.result
backup.result
bench_count_distinct.result
big_test.require
bigint.result
binary.result
binlog_tx_isolation.result
blackhole.result Bug #11880012: INDEX_SUBQUERY, BLACKHOLE, 2012-03-28 12:22:31 +04:00
blackhole_plugin.result
bool.result
bootstrap.result
bug39022.result
bug46080.result
bug46261.result
bug46760.result
bug47671.result
bug58669.result
bug12427262.result BUG#12427262 : 60961: SHOW TABLES VERY SLOW WHEN NOT IN SYSTEM DISK CACHE 2012-04-21 05:23:09 +05:30
bug13633383.result Bug#13633383 63183: SMALL SORT_BUFFER_SIZE CRASH IN MERGE_BUFFERS 2012-02-14 08:11:28 +01:00
bulk_replace.result
cache_innodb.result merge from mysql-5.1 2012-02-29 21:18:50 +01:00
case.result
case_insensitive_file_system.require
case_insensitive_fs.require
case_sensitive_file_system.require
cast.result Merge 5.1-security => 5.5-security 2012-02-22 11:20:52 +01:00
change_user.result
check.result
check_var_limit.require
client_xml.result
comment_column.result
comment_column2.result
comment_index.result
comment_table.result
comments.result
commit.result
commit_1innodb.result
compare.result
compress.result
concurrent_innodb_safelog.result
concurrent_innodb_unsafelog.result
connect.result
consistent_snapshot.result
constraints.result
contributors.result
count_distinct.result
count_distinct2.result
count_distinct3.result
crash_commit_before.result
create-big.result Bug#13982017: ALTER TABLE RENAME ENDS UP WITH ERROR 1050 (42S01) 2012-06-01 09:31:24 +02:00
create.result
create_not_windows.result
create_select_tmp.result
csv.result
csv_alter_table.result
csv_not_null.result
ctype_ascii.result
ctype_big5.result
ctype_binary.result
ctype_collate.result
ctype_cp932_binlog_row.result
ctype_cp932_binlog_stm.result
ctype_cp1250_ch.result
ctype_cp1251.result
ctype_create.result
ctype_errors.result
ctype_eucjpms.result
ctype_euckr.result
ctype_filename.result
ctype_filesystem.result
ctype_gb2312.result
ctype_gbk.result
ctype_gbk_binlog.result
ctype_hebrew.result
ctype_latin1.result
ctype_latin1_de.result
ctype_latin2.result
ctype_latin2_ch.result
ctype_ldml.result
ctype_like_range.result
ctype_many.result
ctype_mb.result
ctype_recoding.result
ctype_sjis.result
ctype_tis620.result
ctype_uca.result
ctype_ucs.result Bug#13832953 MY_STRNXFRM_UNICODE: ASSERTION `SRC' FAILED. | MY_STRNXFRM_UNICODE/MAKE_SORTKEY 2012-03-20 09:16:51 +04:00
ctype_ucs2_def.result
ctype_ujis.result
ctype_ujis_ucs2.result
ctype_utf8.result
ctype_utf8mb4.result
ctype_utf8mb4_heap.result
ctype_utf8mb4_innodb.result
ctype_utf8mb4_myisam.result
ctype_utf16.result
ctype_utf16_def.result
ctype_utf16_uca.result
ctype_utf32.result
ctype_utf32_uca.result
date_formats.result
ddl_i18n_koi8r.result
ddl_i18n_utf8.result
deadlock_innodb.result
debug_sync.result
default.result
delayed.result
delete.result
deprecated_features.result
derived.result
dirty_close.result
disabled_partition.require
distinct.result
drop-no_root.result
drop.result
drop_debug.result
empty_table.result
endspace.result
error_simulation.result
errors.result Merge 5.1 => 5.5. 2012-03-12 09:24:59 +01:00
events_1.result
events_2.result
events_bugs.result
events_embedded.result
events_grant.result
events_logs_tests.result
events_microsec.result
events_restart.result
events_scheduling.result
events_stress.result
events_time_zone.result
events_trans.result
events_trans_notembedded.result
execution_constants.result
explain.result
file_contents.result
filesort_debug.result Bug#13832772 ASSERTION `THD->IS_ERROR() || KILL_ERRNO' 2012-03-14 12:28:41 +01:00
fix_priv_tables.result
flush.result
flush2.result
flush_block_commit.result
flush_block_commit_notembedded.result
flush_read_lock.result
flush_read_lock_kill.result
flush_table.result
foreign_key.result
fulltext.result
fulltext2.result
fulltext3.result
fulltext_cache.result
fulltext_distinct.result
fulltext_left_join.result
fulltext_multi.result
fulltext_order_by.result
fulltext_plugin.result
fulltext_update.result
fulltext_var.result
func_analyse.result
func_compress.result
func_concat.result
func_crypt.result
func_date_add.result
func_default.result
func_des_encrypt.result
func_digest.result
func_encrypt.result
func_encrypt_nossl.result
func_encrypt_ucs2.result
func_equal.result
func_gconcat.result
func_group.result
func_group_innodb.result Bug#12713907:STRANGE OPTIMIZE & WRONG RESULT UNDER 2012-04-18 11:25:01 +05:30
func_if.result
func_in.result Merge from 5.1 to 5.5 2012-02-24 11:55:28 +05:30
func_isnull.result
func_like.result
func_math.result
func_misc.result
func_op.result
func_regexp.result
func_rollback.result
func_sapdb.result
func_set.result
func_str.result
func_system.result
func_test.result
func_time.result
func_timestamp.result
gcc296.result
gis-rtree.result
gis.result Auto-merge from mysql-5.1-security. 2012-03-05 22:36:56 +04:00
grant.result
grant2.result
grant3.result
grant4.result
grant_cache_no_prot.result
grant_cache_ps_prot.result
grant_lowercase_fs.result
greedy_optimizer.result
group_by.result
group_min_max.result
group_min_max_innodb.result
handler_innodb.result
handler_myisam.result
handler_read_last.result
have_big5.require
have_binlog_format_mixed.require
have_binlog_format_row.require
have_binlog_format_statement.require
have_compress.require
have_cp866.require
have_cp932.require
have_cp1250_ch.require
have_cp1251.require
have_crypt.require
have_debug.require
have_debug_sync.require
have_eucjpms.require
have_euckr.require
have_gb2312.require
have_gbk.require
have_geometry.require
have_koi8r.require
have_latin2_ch.require
have_local_infile.require
have_log_bin.require
have_met_timezone.require
have_moscow_leap_timezone.require
have_mysql_upgrade.result
have_ndb_extra.require
have_ndbapi_examples.require
have_nodebug.require
have_outfile.require
have_partition.require
have_perror.require
have_profiling.require
have_query_cache.require
have_sjis.require
have_ssl.require
have_ssl_is_yes_or_disabled_only.require
have_symlink.require
have_tis620.require
have_ucs2.require
have_ujis.require
have_utf8.require
have_utf8mb4.require
have_utf16.require
have_utf32.require
having.result
heap.result
heap_auto_increment.result
heap_btree.result
heap_hash.result
help.result Bug#11815557 60269: MYSQL SHOULD REJECT ATTEMPTS TO CREATE SYSTEM 2012-04-11 15:53:17 +05:30
implicit_char_to_num_conversion.result
implicit_commit.result
index_merge_innodb.result
index_merge_myisam.result
information_schema-big.result
information_schema.result
information_schema_chmod.result
information_schema_db.result
information_schema_inno.result
information_schema_parameters.result
information_schema_part.result
information_schema_routines.result
init_connect.result
init_file.result
innodb_ignore_builtin.result
innodb_mysql_lock.result
innodb_mysql_lock2.result
innodb_mysql_sync.result
insert.result
insert_notembedded.result
insert_select.result
insert_update.result
ipv4_as_ipv6.result
ipv6.result
is_debug_build.require
is_embedded.require
isam.result
join.result
join_crash.result
join_nested.result
join_optimizer.result
join_outer.result Merge of fix for Bug#11765810. 2012-02-07 17:32:04 +01:00
join_outer_innodb.result
key.result
key_cache.result
key_diff.result
key_primary.result
keywords.result
kill.result
limit.result
loaddata.result
loaddata_autocom_innodb.result
loadxml.result
locale.result
lock.result
lock_multi.result
lock_multi_bug38499.result
lock_multi_bug38691.result
lock_sync.result
lock_tables_lost_commit.result
log_state.result
log_state_bug33693.result
log_tables-big.result
log_tables.result
log_tables_debug.result
log_tables_upgrade.result
long_tmpdir.result
lowercase0.require
lowercase1.require
lowercase2.require
lowercase_fs_off.result
lowercase_mixed_tmpdir.result
lowercase_mixed_tmpdir_innodb.result
lowercase_table.result
lowercase_table2.result
lowercase_table3.result
lowercase_table4.result
lowercase_table_grant.result
lowercase_table_qcache.result
lowercase_utf8.result
lowercase_view.result
mdl_sync.result
merge-big.result
merge.result
merge_innodb.result
merge_mmap.result
merge_recover.result
metadata.result
mix2_myisam.result
mix2_myisam_ucs2.result
multi_statement.result
multi_update.result fixing test failure on pb2. 2012-02-13 15:37:50 +05:30
multi_update2.result
multi_update_innodb.result
multi_update_tiny_hash.result
myisam-blob.result
myisam-system.result
myisam.result BUG#11756869: Merge from mysql-5.1 to mysql-5.5 2012-02-02 14:25:43 +05:30
myisam_crash_before_flush_keys.result
myisam_debug.result
myisampack.result
mysql-bug41486.result
mysql-bug45236.result
mysql.result
mysql_client_test.result
mysql_comments.result
mysql_cp932.result
mysql_embedded.result
mysql_locale_posix.result
mysql_not_windows.result
mysql_plugin.result
mysql_protocols.result
mysql_upgrade.result
mysql_upgrade_ssl.result
mysqladmin.result
mysqlbinlog-cp932.result
mysqlbinlog.result
mysqlbinlog2.result
mysqlbinlog_base64.result
mysqlbinlog_row.result
mysqlbinlog_row_big.result
mysqlbinlog_row_innodb.result
mysqlbinlog_row_myisam.result
mysqlbinlog_row_trans.result
mysqlcheck.result
mysqld--defaults-file.result
mysqld--help-notwin.result WL#6311 Remove --safe-mode 2012-05-23 12:27:32 +02:00
mysqld--help-win.result WL#6311 Remove --safe-mode 2012-05-23 12:27:32 +02:00
mysqldump-compat.result
mysqldump-max.result
mysqldump-no-binlog.result
mysqldump.result Bug #11754178 45740: MYSQLDUMP DOESN'T DUMP GENERAL_LOG AND SLOW_QUERY 2012-05-07 16:51:26 +05:30
mysqldump_restore.result
mysqlhotcopy_archive.result
mysqlhotcopy_myisam.result
mysqlshow.result
mysqlslap.result Merged from 5.1 to 5.5 2012-04-09 16:43:54 +05:30
mysqltest.result
named_pipe.result
ndb_default_cluster.require
negation_elimination.result
no-threads.result
no_binlog.result
not_embedded.require
not_embedded_server.result
not_ndb.require
not_ndb_default.require
not_openssl.require
not_partition.require
not_partition.result
not_true.require
not_valgrind.require
not_windows.require
null.result
null_key.result
odbc.result
olap.result
one_thread_per_connection.require
openssl_1.result
optimizer_switch_eng_cond_pushdown1.result
optimizer_switch_eng_cond_pushdown2.result
order_by.result
order_fill_sortbuf.result
outfile.result
outfile_loaddata.result
overflow.result
packet.result
parser.result
parser_bug21114_innodb.result
parser_not_embedded.result
parser_precedence.result
parser_stack.result
partition.result
partition_archive.result
partition_binlog.result
partition_binlog_stmt.result
partition_blackhole.result
partition_bug18198.result
partition_cache.result merge from mysql-5.1 2012-02-29 21:18:50 +01:00
partition_charset.result
partition_column.result
partition_column_prune.result
partition_csv.result
partition_datatype.result
partition_debug_sync.result
partition_disabled.result
partition_error.result Bug#13593865 - 64037: CRASH IN HA_PARTITION::CREATE_HANDLERS ON 2012-02-02 12:47:17 +01:00
partition_federated.result
partition_grant.result
partition_hash.result
partition_innodb.result merge of bug#1364811 into mysql-5.5 2012-03-14 21:57:15 +01:00
partition_innodb_plugin.result
partition_innodb_semi_consistent.result
partition_innodb_stmt.result
partition_key_cache.result
partition_list.result
partition_mgm.result
partition_mgm_err.result
partition_mgm_err2.result
partition_myisam.result
partition_not_blackhole.result
partition_not_windows.result
partition_open_files_limit.result
partition_order.result
partition_pruning.result merge of bug#1364811 into mysql-5.5 2012-03-14 21:57:15 +01:00
partition_range.result
partition_rename_longfilename.result
partition_symlink.result
partition_sync.result
partition_truncate.result
partition_utf8.result
partition_windows.result
perror-win.result
perror.result
plugin.result
plugin_auth.result
plugin_auth_qa.result
plugin_auth_qa_1.result
plugin_auth_qa_2.result
plugin_auth_qa_3.result
plugin_load.result
plugin_load_option.result
plugin_not_embedded.result
preload.result
profiling.result
ps.result Backport 5.5=>5.1 Patch for Bug#13805127: 2012-04-18 13:14:05 +02:00
ps_1general.result
ps_2myisam.result
ps_3innodb.result
ps_4heap.result
ps_5merge.result
ps_10nestset.result
ps_11bugs.result
ps_ddl.result
ps_ddl1.result
ps_grant.result
ps_not_windows.result
query_cache.result
query_cache_28249.result
query_cache_debug.result
query_cache_disabled.result
query_cache_merge.result
query_cache_notembedded.result
query_cache_ps_no_prot.result
query_cache_ps_ps_prot.result
query_cache_with_views.result
range.result
read_many_rows_innodb.result
read_only.result
read_only_innodb.result
rename.result
renamedb.result
repair.result
replace.result
rollback.result
round.result
row.result
rowid_order_innodb.result
rpl_colSize.result
rpl_extraColmaster_innodb.result
rpl_extraColmaster_myisam.result
rpl_mysqldump_slave.result
schema.result
secure_file_priv_win.result
select.result Merge from 5.1 to 5.5 2012-04-18 11:34:36 +05:30
select_found.result
select_safe.result
server_id.require
server_id1.require
shm.result
show_check.result
show_profile.result
signal.result
signal_code.result
signal_demo1.result
signal_demo2.result
signal_demo3.result
signal_sqlmode.result
single_delete_update.result
skip_grants.result
skip_log_bin.result
skip_name_resolve.result
slave-running.result
slave-stopped.result
sp-big.result
sp-bugs.result Merge from 5.1 to 5.5 2012-03-28 13:35:08 +05:30
sp-code.result Merge from 5.1 to 5.5 2012-03-28 13:35:08 +05:30
sp-destruct.result
sp-dynamic.result
sp-error.result
sp-fib.result
sp-lock.result
sp-no-code.result
sp-prelocking.result
sp-security.result
sp-threads.result
sp-ucs2.result
sp-vars.result
sp.result Backport 5.5=>5.1 Patch for Bug#13805127: 2012-04-18 13:14:05 +02:00
sp_gis.result
sp_notembedded.result Merge from 5.1 to 5.5 2012-03-28 13:35:08 +05:30
sp_stress_case.result
sp_sync.result
sp_trans.result
sp_trans_log.result
sql_mode.result Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION 2012-02-29 12:23:15 +05:30
ssl-big.result
ssl.result
ssl_8k_key.result
ssl_and_innodb.result
ssl_cipher.result
ssl_compress.result
ssl_connect.result
status.result
status2.result
status_bug17954.result
strict.result
strict_autoinc_1myisam.result
strict_autoinc_2innodb.result
strict_autoinc_3heap.result
subselect.result merge mysql-5.5->mysql-5.5-security 2012-04-10 14:23:17 +03:00
subselect2.result
subselect3.result
subselect4.result
subselect_debug.result
subselect_gis.result
subselect_innodb.result 5.1-security -> 5.5-security merge 2012-04-04 14:19:00 +04:00
subselect_notembedded.result
sum_distinct-big.result
sum_distinct.result
symlink.result
synchronization.result
sysdate_is_now.result
system_mysql_db.result
system_mysql_db_refs.result
tablelock.result
tablespace.result
temp_table.result
testdb_only.require
timezone.result
timezone2.result
timezone3.result
timezone4.result
timezone_grant.result
trigger-compat.result
trigger-trans.result
trigger.result
trigger_notembedded.result
true.require
truncate.result
truncate_coverage.result
type_binary.result
type_bit.result
type_bit_innodb.result
type_blob.result
type_date.result
type_datetime.result
type_decimal.result
type_enum.result
type_float.result
type_nchar.result
type_newdecimal-big.result
type_newdecimal.result
type_ranges.result
type_set.result
type_time.result
type_timestamp.result
type_uint.result
type_varchar.result
type_year.result
udf.result
udf_skip_grants.result
union.result
unsafe_binlog_innodb.result
update.result
upgrade.result
user_limits.result
user_var-binlog.result
user_var.result Bug #12408412: GROUP_CONCAT + ORDER BY + INPUT/OUTPUT SAME 2012-03-09 15:04:49 +02:00
varbinary.result
variables-big.result
variables-notembedded.result
variables.result
variables_community.result
variables_debug.result
view.result Bug#12626844 : WE ARE NOT CHECKING VIEW TABLE NAMES 2012-03-14 06:27:03 +05:30
view_alias.result
view_grant.result
wait_timeout.result
warnings.result
warnings_engine_disabled.result
windows.require
windows.result
xa.result This patch fixes the bug#13737343 (formerly known as 64374): XA TRANSACTIONS 2012-03-15 15:10:57 +06:00
xml.result