mariadb/mysql-test/r
unknown 469813c7f3 "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
Removed logic in ha_federated::write_row, which checks field query ids in the
loop which builds the query to run on the remote server.


mysql-test/r/federated.result:
  "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
  
  
  New test results for test that verifies that one can insert to rows using 
  "insert into... select * from..", delete 
  them by id, then immediately insert them in the same way they were originally 
  inserted.
mysql-test/t/federated.test:
  "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
  
  
  New test that verifies that one can insert to rows using 
  "insert into... select * from..", delete 
  them by id, then immediately insert them in the same way they were originally 
  inserted.
sql/ha_federated.cc:
  "BUG #18764: Delete conditions causing inconsistencies in Federated tables"
  
  Removed the logic in ha_federated::write_row which checked the query id of 
  each field and compared it to the thread query id.
  
  Each field has a query id, and the problem used to be that if I did an insert
  no fields specified, the field value would contain the last inserted value 
  for that field. The way to work around this was to see if the query id for 
  that field was the same as the current query id or of the rest of the field 
  query ids. If it wasn't, that told me the query didn't have the field value 
  specified.
  
  Somewhere from when I wrote that code to now the problem went away, and there
  was no longer the need for this logic. 
  
  Also removed the bool "has_fields", which needs not exist and using 
  table->s->fields is sufficient.
2006-07-17 16:45:04 -07:00
..
alias.result
alter_table.result
analyse.result
analyze.result Add missing drop table 2006-05-29 16:27:45 +02:00
ansi.result
archive.result Manually merged 2006-06-17 02:57:50 +04:00
archive_gis.result
auto_increment.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
backup.result
bdb-alter-table-1.result
bdb-alter-table-2.result
bdb-crash.result
bdb-deadlock.result
bdb.result Fix compilation failures on Windows caused by the patch for Bug#17199. 2006-06-27 14:56:24 +04:00
bdb_cache.result
bdb_gis.result
bench_count_distinct.result
big_test.require
bigint.result
binary.result
binlog.result
blackhole.result
bool.result
bulk_replace.result
case.result
cast.result item_cmpfunc.h, cast.result: 2006-06-15 16:39:18 +04:00
check.result
check_var_limit.require
client_xml.result
comments.result
compare.result
compress.result Post-merge fixes 2006-05-31 22:55:45 -07:00
connect.result
consistent_snapshot.result
constraints.result
count_distinct.result
count_distinct2.result
count_distinct3.result
create.result A fix and a test case for 2006-06-27 00:47:52 +04:00
create_not_windows.result BUG#19479: mysqldump creates invalid dump 2006-06-04 21:27:41 +03:00
create_select_tmp.result
csv.result
ctype_big5.result
ctype_collate.result
ctype_cp932.result
ctype_cp932_binlog.result
ctype_cp932_notembedded.result
ctype_cp1250_ch.result
ctype_cp1251.result
ctype_create.result
ctype_eucjpms.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 Merge rurik.mysql.com:/home/igor/mysql-4.1-opt 2006-06-22 16:18:54 -07:00
ctype_ucs2_def.result Bug#15276: MySQL ignores collation-server 2006-06-23 18:00:49 +05:00
ctype_ucs_binlog.result
ctype_ujis.result
ctype_utf8.result Merge rurik.mysql.com:/home/igor/mysql-4.1-opt 2006-06-22 20:48:49 -07:00
date_formats.result
default.result
delayed.result Bug #20195: INSERT DELAYED with auto_increment is assigned wrong values 2006-06-13 18:18:32 +03:00
delete.result
derived.result
dirty_close.result
distinct.result 4.1->5.0 merge for bug #16458 2006-06-28 15:53:54 +03:00
drop.result
drop_temp_table.result
empty_table.result
endspace.result
errors.result
exampledb.result
explain.result Merge rurik.mysql.com:/home/igor/tmp_merge 2006-05-31 18:10:02 -07:00
federated.result "BUG #18764: Delete conditions causing inconsistencies in Federated tables" 2006-07-17 16:45:04 -07:00
federated_archive.result
federated_bug_13118.result
flush.result More DBUG statements 2006-05-24 17:21:35 +03:00
flush_block_commit.result
flush_read_lock_kill.result
flush_table.result
foreign_key.result
fulltext.result
fulltext2.result
fulltext_cache.result
fulltext_distinct.result
fulltext_left_join.result Bug#14708: Inconsistent treatment of NULLs in LEFT JOINed FULLTEXT matching without index 2006-06-16 09:49:18 +02:00
fulltext_multi.result
fulltext_order_by.result
fulltext_update.result
fulltext_var.result
func_compress.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
func_concat.result Many files: 2006-06-15 01:48:41 +04:00
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 Post_merges fixes. 2006-06-15 20:29:05 -07:00
func_if.result
func_in.result Merge 2006-06-20 00:52:26 +04:00
func_isnull.result
func_like.result
func_math.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
func_misc.result
func_op.result
func_regexp.result
func_sapdb.result Merge 2006-06-30 02:03:09 +04:00
func_set.result
func_str.result Merge moonbone.local:/home/evgen/bk-trees/mysql-4.1-opt 2006-06-17 01:57:25 +04:00
func_system.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
func_test.result
func_time.result Merge 2006-06-30 02:03:09 +04:00
func_timestamp.result #19409: Test 'func_timestamp' fails on Windows x64 2006-06-22 20:50:38 +02:00
gcc296.result
gis-rtree.result
gis.result merging fix 2006-06-27 17:00:24 +05:00
grant.result Merge neptunus.(none):/home/msvensson/mysql/mysql-5.0 2006-05-29 15:06:37 +02:00
grant2.result
grant3.result
grant_cache.result
greedy_optimizer.result
group_by.result
group_min_max.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_eucjpms.require
have_euckr.require
have_exampledb.require
have_federated_db.require
have_gb2312.require
have_gbk.require
have_geometry.require
have_innodb.require
have_latin2_ch.require
have_met_timezone.require
have_moscow_leap_timezone.require
have_ndb.require
have_ndb_status_ok.require
have_openssl.require
have_outfile.require
have_query_cache.require
have_raid.require
have_sjis.require
have_symlink.require
have_tis620.require
have_ucs2.require
have_udf.require
have_udf_example.require
have_ujis.require
having.result
heap.result
heap_auto_increment.result
heap_btree.result
heap_hash.result
help.result
im_daemon_life_cycle.result Fix of test suite in scope of fixing BUG#18023: IM: instance 2006-06-19 14:13:34 +04:00
im_life_cycle.result Fix of test suite in scope of fixing BUG#18023: IM: instance 2006-06-19 14:13:34 +04:00
im_options_set.result
im_options_unset.result
im_utils.result Fix of test suite in scope of fixing BUG#18023: IM: instance 2006-06-19 14:13:34 +04:00
index_merge.result
index_merge_bdb.result
index_merge_innodb.result
index_merge_innodb2.result
index_merge_ror.result
index_merge_ror_cpk.result
information_schema.result Bug#20230: routine_definition is not null 2006-06-30 00:21:55 +04:00
information_schema_chmod.result
information_schema_db.result Bug#17204 "second CALL to procedure crashes Server" 2006-05-30 10:45:23 +05:00
information_schema_inno.result
init_connect.result
init_file.result
innodb-big.result
innodb-deadlock.result
innodb-lock.result
innodb-replace.result
innodb.result
innodb_cache.result
innodb_gis.result
innodb_handler.result
innodb_mysql.result
innodb_notembedded.result
innodb_unsafe_binlog.result
insert.result Fix for bug#13479 "REPLACE activates UPDATE trigger, not the DELETE and 2006-06-16 20:21:25 +04:00
insert_select-binlog.result
insert_select.result merge of the changes for bug #18080 2006-06-21 13:03:06 +03:00
insert_update.result
is_debug_build.require
isam.result
join.result Bug #15355: Common natural join column not resolved in prepared statement nested 2006-06-08 13:34:03 +03:00
join_crash.result
join_nested.result
join_outer.result
key.result After merge fixes 2006-06-30 20:07:33 +03:00
key_cache.result Post-merge fixes 2006-05-31 22:55:45 -07:00
key_diff.result
key_primary.result
keywords.result
kill.result
limit.result
loaddata.result
lock.result
lock_multi.result Bug#16986 - Deadlock condition with MyISAM tables 2006-06-26 19:14:35 +02:00
lock_tables_lost_commit.result
lowercase0.require
lowercase2.require
lowercase_table.result
lowercase_table2.result Bug#17661 information_schema.SCHEMATA returns uppercase with lower_case_table_names = 1 2006-06-06 11:25:31 +05:00
lowercase_table3.result
lowercase_table_grant.result
lowercase_table_qcache.result
lowercase_view.result
merge.result Bug#19648 2006-05-30 17:10:53 -07:00
metadata.result
mix_innodb_myisam_binlog.result
multi_statement.result
multi_update.result item_cmpfunc.cc, func_in.result, multi_update.result: 2006-05-30 23:05:34 +04:00
myisam-blob.result
myisam.result Merge may.pils.ru:/home/svoj/devel/mysql/BUG20357/mysql-4.1 2006-06-21 19:41:09 +05:00
mysql.result
mysql_client_test.result
mysql_protocols.result
mysqlbinlog.result BUG#14157: utf8 encoding in binlog without set character_set_client 2006-05-31 12:51:21 +02:00
mysqlbinlog2.result
mysqlcheck.result
mysqldump-max.result
mysqldump.result Merge bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2006-06-26 16:15:41 +02:00
mysqlshow.result
mysqltest.result
ndb_alter_table.result
ndb_alter_table2.result
ndb_autodiscover.result
ndb_autodiscover2.result
ndb_autodiscover3.result
ndb_basic.result
ndb_bitfield.result
ndb_blob.result
ndb_cache.result
ndb_cache2.result
ndb_cache_multi.result
ndb_cache_multi2.result
ndb_charset.result
ndb_condition_pushdown.result ndb - bug#20406 multi-platform testing - not FIX 2006-06-14 00:38:34 +02:00
ndb_config.result
ndb_database.result
ndb_default_cluster.require Bug #20820 auto inc table not handled correctly when restored from cluster backup 2006-07-06 18:50:44 +02:00
ndb_gis.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_loaddatalocal.result Bug #19493 NDB does not ignore duplicate keys when using LOAD DATA LOCAL 2006-06-14 20:16:32 +02:00
ndb_lock.result Added order by 2006-06-12 15:36:12 +02:00
ndb_minmax.result
ndb_multi.result
ndb_read_multi_range.result
ndb_rename.result
ndb_replace.result Fix for Bug #19906 REPLACE doesn't update TEXT fields correctly 2006-06-21 09:36:50 +02:00
ndb_restore.result Bug #20820 auto inc table not handled correctly when restored from cluster backup 2006-07-06 18:50:44 +02:00
ndb_subquery.result
ndb_transaction.result
ndb_truncate.result Bug #18864 TRUNCATE TABLE doesn't reset AUTO_INCREMENT value on ndb table 2006-06-02 07:26:45 +02:00
ndb_types.result
ndb_update.result
negation_elimination.result
not_as_root.require
not_embedded.require
not_embedded_server.result
not_openssl.require
null.result
null_key.result
odbc.result
olap.result
openssl_1.result
openssl_2.result
order_by.result
order_fill_sortbuf.result
outfile.result
overflow.result
packet.result
preload.result Post-merge fixes 2006-05-31 22:55:45 -07:00
ps.result A fix and a test case for 2006-06-27 00:47:52 +04:00
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 Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
query_cache_merge.result
query_cache_notembedded.result
raid.result
range.result Post-merge fix 2006-07-01 09:28:41 +04:00
read_only.result
rename.result
repair.result
replace.result Fixed bug#19789: REPLACE was allowed for a VIEW with CHECK OPTION enabled. 2006-06-07 16:17:56 +04:00
rollback.result
row.result
rowid_order_bdb.result
rowid_order_innodb.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_auto_increment.result
rpl_auto_increment_11932.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 Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
rpl_heap.result
rpl_ignore_grant.result
rpl_ignore_revoke.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 Manually merged 2006-06-17 02:57:50 +04:00
rpl_log_pos.result
rpl_many_optimize.result
rpl_master_pos_wait.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
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_session_var.result
rpl_set_charset.result
rpl_skip_error.result
rpl_slave_status.result
rpl_sp.result
rpl_sp_effects.result
rpl_sporadic_master.result
rpl_start_stop_slave.result
rpl_temporary.result
rpl_timezone.result
rpl_trigger.result
rpl_trunc_temp.result
rpl_until.result
rpl_user_variables.result
rpl_variables.result
rpl_view.result
schema.result
select.result field.cc, field.h: 2006-06-21 01:14:53 +04:00
select_found.result
select_safe.result
server_id.require
server_id1.require
show_check.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
skip_grants.result
skip_name_resolve.result
slave-running.result
slave-stopped.result
sp-big.result
sp-code.result
sp-destruct.result
sp-dynamic.result
sp-error.result
sp-prelocking.result Fix for bug#19634 "Re-execution of multi-delete which involve trigger/stored 2006-06-21 01:50:20 +04:00
sp-security.result Bug#19857: When a user with CREATE ROUTINE priv creates a routine it results in NULL p/w 2006-06-28 12:40:17 +02:00
sp-threads.result
sp-vars.result Bug#17226: Variable set in cursor on first iteration is assigned 2006-06-30 18:14:22 +04:00
sp.result Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime 2006-06-27 00:52:56 +04:00
sp.result.orig
sp_notembedded.result Bug#15298 SHOW GRANTS FOR CURRENT_USER: Incorrect output in DEFINER context 2006-06-29 15:50:44 +05:00
sp_trans.result
sql_mode.result
ssl.result Post-merge fixes 2006-06-01 16:51:19 -07:00
ssl_compress.result Post-merge fixes 2006-06-01 16:51:19 -07:00
status.result
strict.result Fix for bug#13934 Silent truncation of table comments 2006-06-29 18:39:34 +05:00
subselect.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
subselect2.result
subselect_gis.result
subselect_innodb.result
subselect_notembedded.result
sum_distinct-big.result
sum_distinct.result
symlink.result Merge 2006-06-30 02:03:09 +04:00
synchronization.result
sysdate_is_now.result Post-merge fixes 2006-06-09 19:29:39 -07:00
system_mysql_db.result
system_mysql_db_refs.result
tablelock.result
temp_table.result
testdb_only.require
timezone.result
timezone2.result
timezone3.result
timezone_grant.result
trigger-compat.result
trigger-grant.result
trigger-trans.result
trigger.result Merge mysql.com:/home/tomash/src/mysql_ab/mysql-5.0 2006-06-28 23:54:18 +04:00
true.require
truncate.result
type_binary.result
type_bit.result
type_bit_innodb.result
type_blob.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
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 Fix for bug#19667 group by a decimal expression yields wrong result 2006-06-15 16:24:02 +05:00
type_ranges.result
type_set.result
type_time.result
type_timestamp.result #19409: Test 'func_timestamp' fails on Windows x64 2006-06-22 20:50:38 +02:00
type_uint.result
type_varchar.result
type_year.result
udf.result Bug#19904: UDF: not initialized *is_null per row 2006-06-08 13:25:28 -04:00
union.result Fixed bug#18175: The nest_level counter wasn't decremented for union parts which 2006-06-15 22:09:58 +04:00
update.result
user_limits.result
user_var-binlog.result
user_var.result
varbinary.result
variables.result Merge mysql.com:/opt/local/work/mysql-5.0-release 2006-06-29 15:25:03 +04:00
view.result Bug#17203: "sql_no_cache sql_cache" in views created from prepared statement 2006-06-27 21:28:32 +04:00
view_grant.result manual merge 2006-06-21 13:01:00 +03:00
view_query_cache.result
wait_timeout.result BUG#19951: Race conditions in test wait_timeout. 2006-07-06 23:49:09 +02:00
warnings.result
windows.result
xa.result