mariadb/mysql-test/r
unknown 46cdd39ea6 BUG#18036 - update of table joined to self reports table as crashed
Certain updates of table joined to self results in unexpected
behavior.

The problem was that record cache was mistakenly enabled for
self-joined table updates. Normally record cache must be disabled
for such updates.

Fixed wrong condition in code that determines whether to use
record cache for self-joined table updates.

Only MyISAM tables were affected.


mysql-test/r/myisam.result:
  Test case for BUG#18036.
mysql-test/t/myisam.test:
  Test case for BUG#18036.
sql/sql_update.cc:
  Fixed wrong condition in code that determines whether to use
  record cache for self-joined table updates.
2006-06-19 14:05:14 +05:00
..
alias.result
alter_table.result
analyse.result
analyze.result
ansi.result Added tests for Bug#14515 2006-05-01 21:30:09 +03:00
archive.result
auto_increment.result Fix for bug #6880: LAST_INSERT_ID() within a statement 2006-06-07 14:01:10 +05:00
backup.result
bdb-alter-table-1.result
bdb-alter-table-2.result
bdb-crash.result
bdb-deadlock.result
bdb.result
bdb_cache.result
bench_count_distinct.result
big_test.require
bigint.result
binary.result
blackhole.result
bool.result
bulk_replace.result
case.result
cast.result
check.result
check_var_limit.require
comments.result
compare.result
connect.result
consistent_snapshot.result
constraints.result
count_distinct.result
count_distinct2.result
count_distinct3.result
create.result
create_select_tmp.result
csv.result
ctype_big5.result
ctype_collate.result
ctype_cp932.result
ctype_cp932_binlog.result
ctype_cp1250_ch.result
ctype_cp1251.result
ctype_create.result
ctype_euckr.result
ctype_gb2312.result
ctype_gbk.result
ctype_latin1.result
ctype_latin1_de.result
ctype_latin2.result
ctype_latin2_ch.result
ctype_many.result
ctype_mb.result
ctype_recoding.result
ctype_sjis.result
ctype_tis620.result
ctype_uca.result
ctype_ucs.result
ctype_ucs2_def.result
ctype_ucs_binlog.result
ctype_ujis.result
ctype_utf8.result
date_formats.result Fixed Bug#11324: 2006-05-04 20:19:37 +03:00
delayed.result
delete.result
derived.result
dirty_close.result
distinct.result
drop.result
drop_temp_table.result BUG#14157: utf8 encoding in binlog without set character_set_client e.g DROP temporary 2006-05-09 23:01:31 +03:00
empty_table.result
endspace.result
errors.result
exampledb.result
explain.result Fixed bug #17873: confusing error message when IGNORE/USE/FORCE INDEX 2006-05-30 00:08:58 -07:00
flush.result
flush_block_commit.result
flush_table.result
foreign_key.result
fulltext.result
fulltext2.result
fulltext_cache.result
fulltext_distinct.result
fulltext_left_join.result
fulltext_multi.result
fulltext_order_by.result
fulltext_update.result
fulltext_var.result
func_compress.result
func_concat.result
func_crypt.result
func_date_add.result
func_default.result
func_des_encrypt.result
func_encrypt.result
func_encrypt_nossl.result
func_equal.result
func_gconcat.result
func_group.result
func_if.result
func_in.result
func_isnull.result
func_like.result
func_math.result
func_misc.result Fix race condition in the test for bug#16501. 2006-05-06 18:24:41 +04:00
func_op.result
func_regexp.result
func_sapdb.result
func_set.result
func_str.result Bug#10418: LOAD_FILE does not behave like in manual if file does not exist 2006-05-08 04:37:58 +02:00
func_system.result
func_test.result
func_time.result Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 2006-06-06 09:10:28 +05:00
func_timestamp.result
gcc296.result
gis-rtree.result Bug#19025 4.1 mysqldump doesn't correctly dump "auto_increment = [int]" 2006-05-04 03:12:51 +02:00
gis.result
grant.result
grant2.result
grant_cache.result
group_by.result
handler.result
have_archive.require
have_bdb.require
have_big5.require
have_blackhole.require
have_compress.require
have_cp932.require
have_cp1250_ch.require
have_crypt.require
have_csv.require
have_debug.require
have_euckr.require
have_exampledb.require
have_gb2312.require
have_gbk.require
have_geometry.require
have_innodb.require
have_isam.require
have_latin2_ch.require
have_met_timezone.require
have_moscow_leap_timezone.require
have_ndb.require
have_openssl.require
have_openssl_1.require
have_outfile.require
have_query_cache.require
have_raid.require
have_sjis.require
have_symlink.require
have_tis620.require
have_ucs2.require
have_ujis.require
having.result Fixed bug #14927. 2006-05-06 23:48:13 -07:00
heap.result
heap_auto_increment.result
heap_btree.result
heap_hash.result
help.result
init_connect.result
innodb-deadlock.result
innodb-lock.result
innodb-replace.result
innodb.result
innodb_cache.result
innodb_handler.result
innodb_mysql.result BUG#16798: Inapplicable ref_or_null query plan and bad query result on random occasions 2006-05-06 13:15:00 +04:00
insert.result
insert_select-binlog.result
insert_select.result
insert_update.result
isam.result
join.result
join_crash.result
join_outer.result
key.result
key_cache.result Fixed bug #17873: confusing error message when IGNORE/USE/FORCE INDEX 2006-05-30 00:08:58 -07:00
key_diff.result
key_primary.result
keywords.result
kill.result
limit.result
loaddata.result
lock.result
lock_multi.result
lock_tables_lost_commit.result
lowercase0.require
lowercase2.require
lowercase_table.result
lowercase_table2.result
lowercase_table3.result
lowercase_table_grant.result
lowercase_table_qcache.result
merge.result
metadata.result
mix_innodb_myisam_binlog.result BUG#14157: utf8 encoding in binlog without set character_set_client e.g DROP temporary 2006-05-09 23:01:31 +03:00
multi_statement.result
multi_update.result
myisam-blob.result
myisam.result BUG#18036 - update of table joined to self reports table as crashed 2006-06-19 14:05:14 +05:00
mysql_protocols.result
mysqlbinlog.result BUG#14157: utf8 encoding in binlog without set character_set_client e.g DROP temporary 2006-05-09 23:01:31 +03:00
mysqlbinlog2.result
mysqldump.result Merge neptunus.(none):/home/msvensson/mysql/bug15328/my41-bug15328 2006-05-24 10:16:31 +02:00
mysqltest.result test result fixed 2006-05-04 09:58:03 +05:00
ndb_alter_table.result
ndb_autodiscover.result
ndb_autodiscover2.result
ndb_autodiscover3.result Bug #16875 , correction of previous patch 2006-05-15 17:16:21 +02:00
ndb_basic.result
ndb_blob.result ndb - bug#19201 (4.1), see comment in NdbBlob.cpp 2006-05-02 14:33:55 +02:00
ndb_cache.result
ndb_charset.result
ndb_config.result
ndb_database.result
ndb_grant.result
ndb_index.result
ndb_index_ordered.result
ndb_index_unique.result
ndb_insert.result
ndb_limit.result
ndb_load.result
ndb_lock.result
ndb_minmax.result
ndb_multi.result
ndb_rename.result Bug#16997 Table rename that changes database does not rename indexes, recreate indexes in new database 2006-05-05 17:18:47 +02:00
ndb_replace.result
ndb_restore.result
ndb_subquery.result
ndb_transaction.result
ndb_truncate.result
ndb_types.result
ndb_update.result
negation_elimination.result
not_embedded.require
not_embedded_server.result
not_openssl.require
null.result BUG#19145: mysqld crashes if you set the default value of an enum field to NULL 2006-04-28 12:15:29 -04:00
null_key.result
odbc.result
olap.result
openssl_1.result
openssl_2.result
order_by.result
order_fill_sortbuf.result
outfile.result Bug#10418: LOAD_FILE does not behave like in manual if file does not exist 2006-05-08 04:37:58 +02:00
overflow.result
packet.result
preload.result Fixed bug #17873: confusing error message when IGNORE/USE/FORCE INDEX 2006-05-30 00:08:58 -07:00
ps.result
ps_1general.result
ps_2myisam.result
ps_3innodb.result
ps_4heap.result
ps_5merge.result
ps_6bdb.result
ps_7ndb.result
ps_10nestset.result
ps_11bugs.result
ps_grant.result
query_cache.result
query_cache_merge.result
query_cache_notembedded.result
raid.result
range.result
rename.result
repair.result
replace.result
rollback.result
row.result
rpl000001.a.result
rpl000001.b.result
rpl000001.result
rpl000002.result
rpl000004.a.result
rpl000004.b.result
rpl000004.result
rpl000005.result
rpl000006.result
rpl000008.result
rpl000009.result
rpl000010.result
rpl000011.result
rpl000012.result
rpl000013.result
rpl000015.result
rpl000017.result
rpl000018.result
rpl_alter.result
rpl_chain_temp_table.result
rpl_change_master.result
rpl_charset.result
rpl_commit_after_flush.result
rpl_create_database.result
rpl_ddl.result
rpl_deadlock.result
rpl_delete_all.result
rpl_do_grant.result
rpl_drop.result
rpl_drop_db.result
rpl_drop_temp.result
rpl_dual_pos_advance.result
rpl_EE_error.result
rpl_empty_master_crash.result
rpl_error_ignored_table.result
rpl_failed_optimize.result
rpl_failsafe.result
rpl_flush_log_loop.result
rpl_flush_tables.result
rpl_free_items.result
rpl_get_lock.result
rpl_heap.result
rpl_ignore_grant.result
rpl_ignore_table.result
rpl_init_slave.result
rpl_innodb.result
rpl_insert_id.result
rpl_insert_ignore.result
rpl_insert_select.result
rpl_loaddata.result
rpl_loaddata_rule_m.result
rpl_loaddata_rule_s.result
rpl_loaddatalocal.result
rpl_log.result Fix for bug #6880: LAST_INSERT_ID() within a statement 2006-06-07 14:01:10 +05:00
rpl_log_pos.result
rpl_many_optimize.result
rpl_master_pos_wait.result
rpl_max_relay_size.result
rpl_misc_functions.result
rpl_multi_delete.result
rpl_multi_delete2.result
rpl_multi_query.result
rpl_multi_update.result
rpl_multi_update2.result
rpl_multi_update3.result
rpl_multi_update4.result
rpl_mystery22.result
rpl_openssl.result
rpl_optimize.result
rpl_ps.result
rpl_redirect.result
rpl_relayrotate.result
rpl_relayspace.result
rpl_replicate_do.result
rpl_reset_slave.result
rpl_rewrite_db.result
rpl_rotate_logs.result
rpl_server_id1.result
rpl_server_id2.result
rpl_set_charset.result
rpl_skip_error.result
rpl_slave_status.result
rpl_sporadic_master.result
rpl_start_stop_slave.result
rpl_temporary.result Merge mysql.com:/net/nb/home/elkin/MySQL/FIXES/4.1-bug19188_tmp_name 2006-05-12 21:38:41 +03:00
rpl_timezone.result
rpl_trunc_binlog.result
rpl_trunc_temp.result
rpl_until.result
rpl_user_variables.result Bug#19136: Crashing log-bin and uninitialized user variables in a derived table 2006-05-05 11:21:21 +03:00
rpl_variables.result
select.result Fixed bug #17873: confusing error message when IGNORE/USE/FORCE INDEX 2006-05-30 00:08:58 -07:00
select_found.result
select_safe.result
show_check.result
skip_name_resolve.result
slave-running.result
slave-stopped.result
sql_mode.result
status.result
subselect.result
subselect2.result
subselect_gis.result
subselect_innodb.result
symlink.result Bug#19025 4.1 mysqldump doesn't correctly dump "auto_increment = [int]" 2006-05-04 03:12:51 +02:00
synchronization.result
system_mysql_db.result
system_mysql_db_refs.result
tablelock.result
temp_table.result
timezone.result
timezone2.result
timezone3.result
timezone_grant.result
true.require
truncate.result
type_blob.result
type_date.result
type_datetime.result
type_decimal.result
type_enum.result
type_float.result
type_nchar.result
type_ranges.result
type_set.result
type_time.result
type_timestamp.result
type_uint.result
type_year.result
union.result
update.result
user_var-binlog.result
user_var.result
varbinary.result
variables.result
wait_timeout.result
warnings.result
windows.result