mariadb/mysql-test/r
unknown da9c659c81 Bug#26464 - insert delayed + update + merge = corruption
Using INSERT DELAYED on MERGE tables could lead to table
corruptions.

The manual lists a couple of storage engines, which can be
used with INSERT DELAYED. MERGE is not in this list.

The attempt to try it anyway has not been rejected yet.
This bug was not detected earlier as it can work under
special circumstances. Most notable is low concurrency.

To be safe, this patch rejects any attempt to use INSERT
DELAYED on MERGE tables.


mysql-test/r/merge.result:
  Bug#26464 - insert delayed + update + merge = corruption
  Added test result.
mysql-test/t/merge.test:
  Bug#26464 - insert delayed + update + merge = corruption
  Added test.
sql/ha_myisammrg.h:
  Bug#26464 - insert delayed + update + merge = corruption
  Removed HA_CAN_INSERT_DELAYED flag from table_flags().
  The insert delayed thread upgrades the lock from the first
  entry in MYSQL_LOCK::locks only. Hence it is incapable to
  handle MERGE tables, which have as many entries in this
  array as they have MyISAM sub-tables.
2007-03-05 11:52:28 +01:00
..
alias.result
alter_table.result Merge svojtovich@bk-internal.mysql.com:/home/bk/mysql-4.1-engines 2006-12-13 15:53:37 +04:00
analyse.result Bug#20305: PROCEDURE ANALYSE() returns wrong M for FLOAT(M, D) and DOUBLE(M, D) 2006-09-28 14:30:20 -04:00
analyze.result
ansi.result
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 Cset exclude: kaa@polly.local|ChangeSet|20060912122540|09861 2006-09-13 14:41:28 +04:00
case_sensitive_file_system.require
cast.result fix for bug #23938: ISNULL on DATE AND CAST AS DATE returns false for null values 2006-12-04 17:06:25 +04:00
check.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
check_var_limit.require
comments.result
compare.result
connect.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
consistent_snapshot.result
constraints.result
count_distinct.result
count_distinct2.result
count_distinct3.result
create.result
create_select_tmp.result
csv.result Add missing semicolon in test file 2006-10-13 08:48:47 +02:00
ctype_big5.result
ctype_collate.result
ctype_cp932.result
ctype_cp932_binlog.result
ctype_cp1250_ch.result Bug#19741 segfault with cp1250 charset + like + primary key + 64bit os 2006-07-25 17:27:53 +05:00
ctype_cp1251.result
ctype_create.result
ctype_euckr.result
ctype_gb2312.result
ctype_gbk.result
ctype_hebrew.result Fix for the bug #24037 "Lossy Hebrew to Unicode conversion". 2006-12-22 15:30:37 +03:00
ctype_latin1.result
ctype_latin1_de.result
ctype_latin2.result
ctype_latin2_ch.result
ctype_many.result
ctype_mb.result
ctype_recoding.result Fix for bug #20695: Charset introducer overrides charset definition for column. 2006-08-15 15:24:07 +05:00
ctype_sjis.result
ctype_tis620.result
ctype_uca.result
ctype_ucs.result Bug#22052 Trailing spaces are not removed from UNICODE fields in an index 2006-10-03 14:11:57 +05:00
ctype_ucs2_def.result mysqld --collation-server=xxx --character-set-server=yyy 2006-08-11 13:19:44 +05:00
ctype_ucs_binlog.result
ctype_ujis.result
ctype_utf8.result Bug#22646 LC_TIME_NAMES: Assignment to non-UTF8 target fails 2006-11-08 15:37:54 +04:00
date_formats.result Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1-maint 2006-11-22 14:06:37 +04:00
delayed.result
delete.result Bug#17711: DELETE doesn't use index when ORDER BY, LIMIT and non-restricting 2007-01-11 16:05:03 +03:00
derived.result
dirty_close.result
distinct.result Bug#20836 Selecting into variables results in wrong results being returned 2006-11-28 17:21:39 -05:00
drop.result
drop_temp_table.result
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 Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
flush_block_commit.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
flush_table.result
foreign_key.result
fulltext.result
fulltext2.result
fulltext_cache.result
fulltext_distinct.result
fulltext_left_join.result Fixed bug #25637: LEFT JOIN with BOOLEAN FULLTEXT loses left table matches. 2007-01-22 14:23:53 -08:00
fulltext_multi.result
fulltext_order_by.result
fulltext_update.result
fulltext_var.result
func_compress.result Fix for bug #23254: COMPRESS(NULL) makes all futher COMPRESS() calls on same Item return NULL 2006-10-13 19:05:54 +05:00
func_concat.result Fixed bug#16716: subselect in concat() may lead to a wrong result. 2006-05-26 01:24:14 +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 Bug#23451 GROUP_CONCAT truncates a multibyte utf8 character 2006-11-07 12:45:48 +04:00
func_group.result Bug #16792 query with subselect, join, and group not returning proper values 2006-08-10 16:45:02 +03:00
func_if.result Cset exclude: kaa@polly.local|ChangeSet|20060912122540|09861 2006-09-13 14:41:28 +04:00
func_in.result BUG#17047: CHAR() and IN() can return NULL without signaling NULL result 2006-11-16 13:21:38 +03:00
func_isnull.result
func_like.result
func_math.result
func_misc.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
func_op.result
func_regexp.result
func_sapdb.result Fixes a number of problems with time/datetime <-> string conversion functions: 2006-10-04 17:13:32 +04:00
func_set.result
func_str.result Bug#23409: Arguments of the ENCODE() and the DECODE() functions were not printed 2007-01-11 16:45:38 +03:00
func_system.result
func_test.result Bug#23411: ... MOD-ing zero returns strange result 2006-11-06 17:13:19 -05:00
func_time.result Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1 2006-11-24 12:12:25 +01:00
func_timestamp.result
gcc296.result
gis-rtree.result bug #21888 (Query on GEOMETRY field crashes the server) 2006-09-29 17:56:02 +05:00
gis.result bug #22372 (LOAD DATA crashes the table with the geometry field) 2006-12-06 21:45:57 +04:00
grant.result BUG#7391 - Cross-database multi-table UPDATE uses active database 2006-08-03 14:03:08 +05:00
grant2.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
grant_cache.result
group_by.result BUG#14019 : group by converts literal string to column name 2006-10-16 13:10:25 +03:00
handler.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
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
heap.result
heap_auto_increment.result
heap_btree.result Make the heap_btree test repeatable. 2006-08-14 12:59:54 +05:00
heap_hash.result
help.result
init_connect.result
init_file.result Add two new result files 2006-10-03 15:48:41 +02:00
innodb-deadlock.result
innodb-lock.result
innodb-replace.result
innodb.result
innodb_cache.result
innodb_handler.result
innodb_mysql.result Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2006-11-02 17:27:42 -05:00
insert.result
insert_select-binlog.result
insert_select.result * Bug #9676: INSERT INTO x SELECT .. FROM x LIMIT 1; slows down with big 2006-06-19 13:22:42 +03:00
insert_update.result Bug#21555: incorrect behavior with INSERT ... ON DUPL KEY UPDATE and VALUES 2006-09-08 10:24:14 +03:00
isam.result
join.result
join_crash.result
join_outer.result
key.result Reverted wrong bug fix (Bug#11228) 2006-06-30 18:29:27 +03:00
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 Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
limit.result Fix for BUG#21787: COUNT(*) + ORDER BY + LIMIT returns wrong result 2006-09-01 15:07:04 +03:00
loaddata.result
lock.result
lock_multi.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
lock_tables_lost_commit.result
lowercase0.require
lowercase2.require
lowercase_fs_off.result
lowercase_table.result
lowercase_table2.result
lowercase_table3.result Fix a test case according to fix for bug#10974. 2006-09-29 19:00:52 +05:00
lowercase_table_grant.result
lowercase_table_qcache.result
merge.result Bug#26464 - insert delayed + update + merge = corruption 2007-03-05 11:52:28 +01:00
metadata.result
mix_innodb_myisam_binlog.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
multi_statement.result
multi_update.result Fixed bug#19225: unchecked error results in server crash 2006-05-29 00:32:59 +04:00
myisam-blob.result
myisam.result Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2007-01-29 17:20:18 +01:00
mysql_client.result Bug#17583: mysql drops connection when stdout is not writable 2006-10-09 18:28:06 -04:00
mysql_client_test.result Add two new result files 2006-10-03 15:48:41 +02:00
mysql_protocols.result
mysqladmin.result Bug#10608 mysqladmin breaks on "database" variable in my.cnf 2006-11-10 13:25:10 +01:00
mysqlbinlog.result
mysqlbinlog2.result
mysqldump.result BUG#13926: --order-by-primary fails if PKEY contains quote character. 2006-11-21 11:09:33 +04:00
mysqltest.result Add "chmod" command to mysqltest 2006-11-30 10:54:50 +01:00
ndb_alter_table.result
ndb_autodiscover.result
ndb_autodiscover2.result
ndb_autodiscover3.result
ndb_basic.result
ndb_blob.result
ndb_cache.result
ndb_charset.result Bug #21072 Duplicate key error in NDB references wrong key: use MAX_KEY to signal unknown key 2006-09-21 16:49:07 +02:00
ndb_config.result
ndb_database.result
ndb_grant.result
ndb_index.result
ndb_index_ordered.result
ndb_index_unique.result Bug#24818 CREATE UNIQUE INDEX (...) USING HASH on a NDB table crashes mysqld: Added test case 2006-12-07 15:49:59 +01:00
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 ndb_lock.test, ndb_lock.result: 2006-08-15 13:12:27 +02:00
ndb_minmax.result
ndb_multi.result Bug #21378 Alter table from X storage engine to NDB could cause data loss: updated results 2006-09-13 19:56:02 +02:00
ndb_rename.result
ndb_replace.result
ndb_restore.result
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_types.test: sleep a bit longer, to ensure that timestamp > @now 2007-01-18 13:26:26 -07:00
ndb_update.result Per discussion with pekka removed non-deterministic test case for bug#21381. 2006-10-06 14:47:58 +05:00
negation_elimination.result
not_embedded.require
not_embedded_server.result
not_openssl.require
null.result
null_key.result
odbc.result BUG#14553: NULL in WHERE resets LAST_INSERT_ID 2006-07-10 16:27:03 +03:00
olap.result Fixed bug#20825: rollup puts non-equal values together 2006-09-29 20:02:53 +04:00
openssl_1.result
openssl_2.result
order_by.result Fixed bug #25427. 2007-01-10 00:27:11 -08:00
order_fill_sortbuf.result
outfile.result
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 Valgrind error fixes 2007-02-01 18:00:24 +04:00
ps_1general.result bug 20317 (test fails in embedded for different number of threads is 2006-07-03 14:54:09 +05:00
ps_2myisam.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
ps_3innodb.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
ps_4heap.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
ps_5merge.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
ps_6bdb.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
ps_7ndb.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
ps_10nestset.result
ps_11bugs.result
ps_grant.result
query_cache.result item_cmpfunc.cc: 2006-09-12 19:06:26 +04:00
query_cache_merge.result
query_cache_notembedded.result
raid.result
range.result Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2007-01-31 16:23:10 -05:00
rename.result Merge pchardin@bk-internal.mysql.com:/home/bk/mysql-4.1 2006-11-10 15:05:38 +03:00
repair.result Merge mysql.com:/home/svoj/devel/mysql/BUG23175/mysql-4.1-engines 2006-10-19 17:35:09 +05:00
replace.result
rollback.result
row.result
rpl000001.a.result
rpl000001.b.result
rpl000001.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
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 Backport test cases fixes from 5.0 2006-10-19 10:54:23 +02:00
rpl000017.result
rpl_alter.result
rpl_change_master.result Backport test cases fixes from 5.0 2006-10-19 10:54:23 +02:00
rpl_charset.result Use replace_regex to mask the output of file_id= in "show binlog events" that depends on previous tests 2006-10-04 22:52:44 +02:00
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 Backport test cases fixes from 5.0 2006-10-19 10:54:23 +02:00
rpl_failed_optimize.result
rpl_flush_log_loop.result
rpl_flush_tables.result
rpl_free_items.result
rpl_get_lock.result
rpl_ignore_grant.result
rpl_ignore_table.result
rpl_init_slave.result
rpl_innodb.result
rpl_insert_id.result BUG#21726: Incorrect result with multiple invocations of LAST_INSERT_ID. 2006-10-06 13:34:07 +04:00
rpl_insert_ignore.result
rpl_insert_select.result
rpl_loaddata.result Backport test cases fixes from 5.0 2006-10-19 10:54:23 +02:00
rpl_loaddata_rule_m.result
rpl_loaddata_rule_s.result
rpl_loaddatalocal.result Use same --slave-load-tmpdir in all versions(backport from 5.0) 2006-10-05 18:29:59 +02:00
rpl_locale.result Bug#22645 LC_TIME_NAMES: Statement not replicated 2006-12-05 13:45:21 +04:00
rpl_log.result Backport test cases fixes from 5.0 2006-10-19 10:54:23 +02:00
rpl_log_pos.result
rpl_many_optimize.result
rpl_master_pos_wait.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
rpl_max_relay_size.result Backport test cases fixes from 5.0 2006-10-19 10:54:23 +02:00
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_packet.result bug#19402 SQL close to the size of the max_allowed_packet fails on the slave 2006-11-15 12:53:07 +02:00
rpl_ps.result
rpl_redirect.result
rpl_relayrotate.result
rpl_relayspace.result
rpl_replicate_do.result Backport test cases fixes from 5.0 2006-10-19 10:54:23 +02:00
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
rpl_timezone.result
rpl_trunc_binlog.result
rpl_trunc_temp.result
rpl_until.result
rpl_user_variables.result
rpl_variables.result
select.result Fix for bug #22533: Traditional: Too-long bit value not rejected. 2006-12-06 16:32:12 +04: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 Fixed bug #24653. 2007-01-25 18:44:35 -08:00
subselect2.result * Bug #20792: Incorrect results from aggregate subquery 2006-07-26 19:19:30 +03:00
subselect_gis.result
subselect_innodb.result
symlink.result Valgrind error fixes 2007-02-01 18:00:24 +04:00
synchronization.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
system_mysql_db.result
system_mysql_db_refs.result
tablelock.result
temp_table.result BUG#21096: locking issue ; temporary table conflicts. 2006-08-29 16:59:20 +04:00
timezone.result Fix Bug #9191 "TIMESTAMP/from_unixtime() no longer accepts 2^31-1" 2006-11-01 16:47:40 +03:00
timezone2.result Fix Bug #9191 "TIMESTAMP/from_unixtime() no longer accepts 2^31-1" 2006-11-01 16:47:40 +03:00
timezone3.result
timezone4.result Fix Bug #9191 "TIMESTAMP/from_unixtime() no longer accepts 2^31-1" 2006-11-01 16:47:40 +03:00
timezone_grant.result
true.require
truncate.result
type_blob.result Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
type_date.result type_date.test, type_date.result: 2006-09-14 18:45:23 +04:00
type_datetime.result
type_decimal.result
type_enum.result Bug#24660: "enum" field type definition problem 2007-02-12 14:31:44 +01:00
type_float.result fix for bug #19690: ORDER BY eliminates rows from the result 2007-01-31 09:51:05 +04:00
type_nchar.result
type_ranges.result Fix for bug #22377: iNCONSISTENCY WITH null 2006-10-05 17:29:50 +05:00
type_set.result
type_time.result
type_timestamp.result Fix for bug #22377: iNCONSISTENCY WITH null 2006-10-05 17:29:50 +05:00
type_uint.result
type_year.result
union.result
update.result
user_var-binlog.result
user_var.result Cset exclude: kaa@polly.local|ChangeSet|20060912122540|09861 2006-09-13 14:41:28 +04:00
varbinary.result
variables.result Bug#22645 LC_TIME_NAMES: Statement not replicated 2006-12-05 13:45:21 +04:00
wait_timeout.result
warnings.result --{skip-}merge option added which allows the user to disable merge engine and 2006-07-14 16:26:58 +05:00
windows.result Bug#17498 failed to put data file in custom directory use "data directory" option 2006-12-07 17:01:00 +01:00