mariadb/mysql-test/include
Chad MILLER 6d6b9ffec8 Bug#21579 - innodb_concurrent random failures with varying differences
Due to unknown changes the test failed in some ways.

Fixed by checking the test case in detail, commenting the expected behavior,
and fixing error directives.

In the course of the analyze unneeded get_lock()/release_lock() use,
unneeded send/reap use, and unneeded sleeps were removed. The lock wait
timeout was reduced to 1 second, so that this is no big-test any more.

The test was split into two parts, one running the tests with
--innodb_locks_unsafe_for_binlog, the other part without.
The main part (include/concurrent.inc) conditionally expects
lock wait timeouts based on the value of the system variable
innodb_locks_unsafe_for_binlog.

The major part of the patch comes from Kristofer Pettersson.

(Chad queues this patch on demand by Trudy/Davi.)
2008-08-15 14:48:14 -04:00
..
add_anonymous_users.inc Bug#20166 mysql-test-run.pl does not test system privilege tables creation 2007-02-26 11:49:24 +01:00
analyze_failure_sync_with_master.test Add analyze_testcase_failure which is called when mysqltest has failed 2006-10-24 17:36:46 +02:00
big_test.inc Moved some old test and added a new test to only be run with mysql-test-run --big 2005-04-07 19:24:14 +03:00
charset_basic.inc Third set of fixes for bug#35988. 2008-04-15 15:44:11 +02:00
check-testcase.test Print names of testcases that failed check_testcase, this makes it easier 2006-10-08 17:48:01 +02:00
check_var_limit.inc Add detection of in_addr_t 2003-08-28 06:08:17 +03:00
collation_basic.inc Third set of fixes for bug#35988. 2008-04-15 15:44:11 +02:00
commit.inc Updating commit.inc since the number of commits done for non-transactional 2008-03-31 11:29:03 +02:00
common-tests.inc Added --pipe option for faster compile 2006-06-06 20:21:36 +03:00
concurrent.inc Bug#21579 - innodb_concurrent random failures with varying differences 2008-08-15 14:48:14 -04:00
connect2.inc Avoid races in connect.test. 2008-03-17 14:26:00 +03:00
ctype_common.inc Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b27580 2008-03-06 08:41:05 +04:00
ctype_filesort.inc bug#7284: strnxfrm returns different results for equal strings 2005-01-13 18:12:04 +04:00
ctype_german.inc Bug#27877 incorrect german order in utf8_general_ci 2008-02-11 16:28:33 +04:00
ctype_innodb_like.inc ctype_innodb_like.inc: 2005-07-06 17:16:22 +05:00
ctype_like_escape.inc Add printout of file in which warning was detected 2006-10-06 00:57:10 +02:00
ctype_like_range_f1f2.inc Bug#32510 LIKE search fails with indexed 'eucjpms' and 'ujis' char column 2008-02-04 11:10:40 +04:00
ctype_regex.inc Bug#31081 server crash in regexp function 2007-10-05 12:15:11 +05:00
ddl_i18n.check_events.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_sp.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_triggers.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_views.inc Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
deadlock.inc Merge moksha.local:/Users/davi/mysql/push/bugs/25164-5.0 2007-08-27 10:19:58 -03:00
delete_anonymous_users.inc Masking out some more errors and warnings that are benign. 2008-02-04 07:15:14 +01:00
diff_tables.inc BUG#31168: @@hostname does not replicate 2008-03-07 13:59:36 +01:00
endspace.inc Move common trailing space checks into an include file. 2004-12-01 19:25:05 +04:00
federated.inc Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-5.0-build-work-nn 2007-05-15 11:33:19 +02:00
federated_cleanup.inc Fixed federated and some replication tests to not stop slave until it's up and running. 2007-04-17 14:41:16 +03:00
get_binlog_dump_thread_id.inc Workaround non portable use of "grep" and "cut" by loading the whole processlist 2007-02-26 09:16:22 +01:00
gis_generic.inc Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 2007-03-29 12:00:32 +02:00
gis_keys.inc Bug#31909 - New gis.test creates warnings files 2007-11-01 15:03:09 +01:00
grant_cache.inc This changeset belongs to the fix of Bug#735 Prepared Statements: there is no support for Query Cache 2007-05-24 22:13:49 +02:00
handler.inc Bug#31397 Inconsistent drop table behavior of handler tables. 2007-11-20 15:17:53 -02:00
have_32bit.inc Fixes for bug#36522. 2008-05-08 20:13:39 +02:00
have_64bit.inc Fixes for bug#36522. 2008-05-08 20:13:39 +02:00
have_archive.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_big5.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_binlog_format_mixed.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_mixed_or_row.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_mixed_or_statement.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_row.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_row_or_statement.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_statement.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_blackhole.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_bug25714.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_case_insensitive_file_system.inc Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
have_case_sensitive_file_system.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_community_features.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_compress.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_cp866.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_cp932.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_cp1250_ch.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_cp1251.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_crypt.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_csv.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_debug.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_eucjpms.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_euckr.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_example_plugin.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_exampledb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_federated_db.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_gb2312.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_gbk.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_geometry.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_innodb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_koi8r.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_latin2_ch.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_local_infile.inc Changes to fix tests in pushbuild. 2008-01-31 12:17:40 +01:00
have_log_bin.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_lowercase0.inc Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
have_lowercase1.inc Bug #27653: Temp table can't be created if lower_case_table_names=1 and 2007-04-30 23:16:46 +02:00
have_lowercase2.inc Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
have_multi_ndb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ndb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ndb_extra.inc wl2325 wl2324 2006-01-12 19:51:02 +01:00
have_ndbapi_examples.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_outfile.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_partition.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_query_cache.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_sjis.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ssl.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_symlink.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_tis620.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ucs2.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_udf.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_ujis.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_utf8.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
index_merge1.inc Merge magare.gmz:/home/kgeorge/mysql/work/mysql-5.0-opt 2007-07-18 15:56:29 +03:00
index_merge2.inc Merge chilla.local:/home/mydev/mysql-5.1--main 2006-09-14 21:44:17 +02:00
index_merge_2sweeps.inc This changeset belongs to 2006-08-16 14:58:49 +02:00
index_merge_ror.inc Merge mysql.com:/home/svoj/devel/mysql/BUG25048/mysql-5.0-engines 2006-12-26 18:04:31 +04:00
index_merge_ror_cpk.inc This changeset belongs to 2006-08-16 14:58:49 +02:00
innodb_rollback_on_timeout.inc Bug#32754 - InnoDB tests do not prepare or clean up correctly 2007-11-27 09:25:45 +01:00
innodb_trx_weight.inc Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
is_embedded.inc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 10:26:06 +02:00
linux_sys_vars.inc System variable tests delivered by Folio3 (see WL4288). 2008-04-10 15:14:28 +02:00
load_sysvars.inc Fixes for bug#36522. 2008-05-08 20:13:39 +02:00
loaddata_autocom.inc Post-merge fixes: 2006-09-13 15:37:35 -06:00
master-slave-end.inc new files 2006-04-12 15:56:29 +02:00
master-slave-reset.inc Fixes to eliminate some race conditions in tests. 2008-04-01 14:40:23 +02:00
master-slave.inc Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint 2007-06-07 20:27:19 +02:00
mix1.inc merge of bug #37830 to 5.1 2008-07-17 18:51:24 +03:00
mix2.inc Bug #28842 Different 'duplicate key' error code between 5.0 and 5.1 2007-06-06 10:57:07 -07:00
mix2_ucs2.inc 5.1-specific fix for bug #18743. 2007-02-19 15:31:55 +03:00
mysqltest-x.inc Bug#12959 mysqltest crashes if testcase passed with -x option 2005-09-05 16:50:32 +02:00
ndb_backup.inc Bug#26899 ndb_restore cannot restore selected tables and databases 2007-03-07 13:19:37 +07:00
ndb_backup_print.inc Bug#26899 ndb_restore cannot restore selected tables and databases 2007-03-07 13:19:37 +07:00
ndb_default_cluster.inc Bug #20820 auto inc table not handled correctly when restored from cluster backup 2006-07-06 18:50:44 +02:00
ndb_master-slave.inc correct include file 2007-09-05 18:02:46 +02:00
ndb_not_readonly.inc corrected typo 2007-06-19 11:38:07 +02:00
ndb_restore_master.inc Test updates 2006-02-16 16:33:46 +01:00
ndb_restore_slave_eoption.inc New test to satisfy some of the 5.1 CR test plan 2006-03-09 03:37:25 +01:00
ndb_setup_slave.inc Changed mysql.apply_status, mysql.binlog_index, and mysql.schema to mysql.ndb_apply_status, mysql.ndb_binlog_index, and mysql.ndb_schema 2006-12-01 15:49:07 +01:00
ndb_wait_connected.inc Bug#32025 ndb_waiter does too many roundtrips to ndb_mgmd 2008-02-21 13:23:58 +01:00
not_as_root.inc Use "eval select" when evaluating the environment variable "$MYSQL_TEST_ROOT" 2006-04-24 12:01:16 +02:00
not_embedded.inc Small fixes for merge. 2007-04-10 18:01:29 +03:00
not_ndb.inc wl2325 wl2324 2006-01-12 19:51:02 +01:00
not_ndb_default.inc Update 'abort_not_supported_test' to print a reason why the test was aborted 2006-07-19 14:25:52 +02:00
not_openssl.inc BUG#10589: des_encrypt functionality always return NULL 2005-06-17 18:07:46 +02:00
not_valgrind.inc WL#3337 (Events new architecture) 2006-07-17 16:52:45 +02:00
not_windows.inc Update 'abort_not_supported_test' to print a reason why the test was aborted 2006-07-19 14:25:52 +02:00
one_thread_per_connection.inc Fixed compiler warnings 2007-02-23 13:13:55 +02:00
parser_bug21114.inc Bug#21114 (Foreign key creation fails to table with name format) 2006-11-02 11:01:53 -07:00
ps_conv.inc Bug#27590: Wrong DATE/DATETIME comparison. 2007-04-27 00:12:09 +04:00
ps_create.inc bug#10466: Datatype "timestamp" displays "YYYYMMDDHHMMSS" irrespective of display sizes. 2005-06-20 12:09:00 +02:00
ps_ddl_1.inc Improve the testcases for Bug 12093 in ps_ddl.test 2008-08-13 21:42:21 +02:00
ps_modify.inc Bug#33699: The UPDATE statement allows NULL as new value on a NOT NULL 2008-01-11 05:06:08 +04:00
ps_modify1.inc Small bug fix 2004-12-13 21:00:43 +01:00
ps_query.inc Bug #32400: Complex SELECT query returns correct result 2007-11-20 19:18:21 +02:00
ps_renew.inc Results of WL#1856 "Conversion of client_test.c tests cases to mysqltest 2004-09-25 19:08:02 +04:00
query_cache.inc Bug #28842 Different 'duplicate key' error code between 5.0 and 5.1 2007-06-06 10:57:07 -07:00
query_cache_sql_prepare.inc Fix for BUG#25843: changing default database between PREPARE and EXECUTE 2007-08-31 20:42:14 +04:00
read_many_rows.inc Merge 50 -> 51 (-opt changesets) 2007-08-01 18:59:41 -06:00
report-features.test add --report-features to mysql-test-run.pl 2006-11-10 13:12:08 +01:00
reset_master_and_slave.inc BUG#12092 (FOUND_ROWS() not replicated): 2007-11-06 17:51:32 +01:00
rowid_order.inc This changeset belongs to 2006-08-16 19:29:49 +02:00
rpl_events.inc Bug #36435 rpl_events uses non-deterministic check 2008-04-30 21:41:50 +03:00
rpl_multi_engine.inc WL#1012: All changes as one single changeset. 2005-12-22 06:39:02 +01:00
rpl_multi_engine2.inc BUG#21842 (Cluster fails to replicate to innodb or myisam with err 134 2007-08-26 14:31:10 +02:00
rpl_multi_engine3.inc Removing sleeps; rpl_row_basic_8partition falls from 2 minutes 2006-09-07 18:01:42 +02:00
rpl_stmt_seq.inc Bug#18946 Test case rpl_ndb_ddl disabled 2007-03-06 18:15:31 +01:00
rpl_udf.inc Added ORDER BY to udf select so that results are ordered. 2007-08-29 14:36:08 -07:00
safe_set_to_maybe_ro_var.inc Bug#22067 rpl_rbr_to_sbr and some other fail if NDB is default storage 2006-09-15 17:25:13 +03:00
select_ndb_apply_status.inc select_ndb_apply_status.inc: 2007-06-21 23:29:14 +02:00
set_binlog_format_mixed.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
set_binlog_format_row.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
set_binlog_format_statement.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
show_binary_logs.inc Bug #18199 PURGE BINARY LOGS fails silently with missing logs; 2008-03-17 20:19:04 +02:00
show_binlog_events.inc BUG#38178: rpl_loaddata_map fails sporadically in pushbuild 2008-07-18 13:34:19 +02:00
show_binlog_events2.inc Fixes to make tests pass on pushbuild. 2008-01-31 15:53:47 +01:00
show_binlog_using_logname.inc Many files: 2007-06-21 21:58:59 +02:00
show_master_logs.inc Fix for versional test 2008-01-14 15:38:02 +08:00
show_master_status.inc Fix for versional test 2008-01-14 15:38:02 +08:00
show_msg.inc Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
show_msg80.inc Update mysqltest to latest version 2006-10-03 15:33:44 +02:00
show_slave_status.inc BUG#24954 (Last_errno and Last_error not set after master_retry_count has 2007-06-11 22:15:39 +02:00
show_slave_status2.inc Fix for versional test 2008-01-14 15:38:02 +08:00
sp-vars.inc Remove compiler warnings 2006-11-20 22:42:06 +02:00
strict_autoinc.inc Bug#18908: ERROR 1406 (22001): Data too long for column :: using utf8 2006-10-30 10:14:03 +04:00
system_db_struct.inc WL #3031 2006-12-11 11:44:03 -05:00
test_fieldsize.inc BUG#22086 : Extra Slave Col: Char(5) on slave and Char(10) on master cause mysqld crash 2007-08-10 12:48:01 -04:00
test_outfile.inc Make it possible to run mysql-test-run.pl with default test suite in different vardir. 2006-01-24 08:30:54 +01:00
testdb_only.inc WL#1420 convert NIST test for mysql 2005-01-26 10:19:28 +01:00
tpcb.inc Many files: 2007-06-21 21:58:59 +02:00
tpcb_disk_data.inc Many files: 2007-06-21 21:58:59 +02:00
unsafe_binlog.inc Bug #28757 Test program / embedded server crash in test "unsafe_binlog_innodb" 2007-06-12 17:53:16 +05:00
uses_vardir.inc Bug#28718 Running backup testcase fails in mysql testsuite of MySQL-enterprise-5.0.40 2007-06-07 23:18:19 +02:00
varchar.inc Bug #28842 Different 'duplicate key' error code between 5.0 and 5.1 2007-06-06 10:57:07 -07:00
wait_condition.inc Fix for 2008-06-25 16:59:38 +02:00
wait_condition.inc.moved Upmerge 5.0 -> 5.1 2008-06-25 19:01:17 +02:00
wait_for_binlog_event.inc WL#4091, replace sleeps 2008-02-28 14:36:14 +03:00
wait_for_query_to_suceed.inc Bug#18654 Test is timing-dependent and fails from scheduling effects (?) 2006-10-30 14:42:28 +01:00
wait_for_slave_io_to_stop.inc Fix for bug #28772: rpl_row_until fails in pushbuild 2007-06-19 16:06:11 +05:00
wait_for_slave_param.inc Fix for bug #28144: "Slave_IO_Running" differs in replication tests 2007-06-15 16:09:28 +05:00
wait_for_slave_sql_error.inc BUG#29046: rpl_stm_mystery22 unstable 2007-10-10 18:10:54 +02:00
wait_for_slave_sql_to_start.inc Merge magare.gmz:/home/kgeorge/mysql/work/B36011-take2-5.0-bugteam 2008-05-16 19:03:50 +03:00
wait_for_slave_sql_to_stop.inc BUG#13861 - START SLAVE UNTIL may stop 1 evnt too late if 2008-02-27 21:46:06 +04:00
wait_for_slave_to_start.inc Fix for bug #28772: rpl_row_until fails in pushbuild 2007-06-19 16:06:11 +05:00
wait_for_slave_to_stop.inc WL#3228 (RBR using different table defs on slave/master): 2007-07-30 13:32:15 +02:00
wait_show_pattern.inc Fix for bug #25044 "ALTER TABLE ... ENABLE KEYS acquires global 'opening 2007-01-19 23:15:59 +03:00
wait_slave_status.inc Fix for bug #25044 "ALTER TABLE ... ENABLE KEYS acquires global 'opening 2007-01-19 23:15:59 +03:00
wait_until_connected_again.inc Increase time to wait for mysqld to get restarted(it will take some time when running in valgrind) 2006-09-28 11:53:42 +02:00
wait_until_rows_count.inc BUG#25211: events_bugs.test fails on sapsrv1 2007-01-19 18:33:48 +03:00
windows.inc Add test for named pipes on windows 2007-09-24 12:42:44 +02:00
windows_sys_vars.inc System variable tests delivered by Folio3 (see WL4288). 2008-04-10 15:14:28 +02:00