mariadb/mysql-test/t
Venkata Sidagam e7364ec29c Bug #11754178 45740: MYSQLDUMP DOESN'T DUMP GENERAL_LOG AND SLOW_QUERY
CAUSES RESTORE PROBLEM
Problem Statement:
------------------
mysqldump is not having the dump stmts for general_log and slow_log
tables. That is because of the fix for Bug#26121. Hence, after 
dropping the mysql database, and applying the dump by enabling the 
logging, "'general_log' table not found" errors are logged into the 
server log file.

Analysis:
---------
As part of the fix for Bug#26121, we skipped the dumping of tables 
for general_log and slow_log, because the data dump of those tables 
are taking LOCKS, which is not allowed for log tables.

Fix:
----
We came up with an approach that instead of taking both meta data 
and data dump information for those tables, take only the meta data 
dump which doesn't need LOCKS.
As part of fixing the issue we came up with below algorithm.
Design before fix:
1) mysql database is having tables like db, event,... general_log,
   ... slow_log...
2) Skip general_log and slow_log while preparing the tables list
3) Take the TL_READ lock on tables which are present in the table 
   list and do 'show create table'.
4) Release the lock.

Design with the fix:
1) mysql database is having tables like db, event,... general_log,
   ... slow_log...
2) Skip general_log and slow_log while preparing the tables list
3) Explicitly call the 'show create table' for general_log and 
   slow_log
3) Take the TL_READ lock on tables which are present in the table 
   list and do 'show create table'.
4) Release the lock.

While taking the meta data dump for general_log and slow_log the 
"CREATE TABLE" is replaced with "CREATE TABLE IF NOT EXISTS". 
This is because we skipped "DROP TABLE" for those tables, 
"DROP TABLE" fails for these tables if logging is enabled. 
Customer is applying the dump by enabling logging so, if the dump 
has "DROP TABLE" it will fail. Hence, removed the "DROP TABLE" 
stmts for those tables.
  
After the fix we could observe "Table 'mysql.general_log' 
doesn't exist" errors initially that is because in the customer 
scenario they are dropping the mysql database by enabling the 
logging, Hence, those errors are expected. Once we apply the 
dump which is taken before the "drop database mysql", the errors 
will not be there.

client/mysqldump.c:
  In get_table_structure() added code to skip the DROP TABLE stmts for general_log
  and slow_log tables, because when logging is enabled those stmts will fail. And
  replaced CREATE TABLE with CREATE IF NOT EXISTS for those tables, just to make 
  sure CREATE stmt for those tables doesn't fail since we removed DROP stmts for
  those tables.
  In dump_all_tables_in_db() added code to call get_table_structure() for 
  general_log and slow_log tables.
mysql-test/r/mysqldump.result:
  Added a test as part of fix for Bug #11754178
mysql-test/t/mysqldump.test:
  Added a test as part of fix for Bug #11754178
2012-05-07 16:46:44 +05:30
..
1st.test
alias.test
almost_full.test Bug #42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log 2009-08-25 15:56:50 +02:00
alter_table-big.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
alter_table.test Fix for bug #12652385 - "61493: REORDERING COLUMNS 2011-06-17 02:02:52 +04:00
analyse.test Bug#11756242 48137: PROCEDURE ANALYSE() LEAKS MEMORY WHEN RETURNING NULL 2011-04-14 12:11:57 +04:00
analyze.test
ansi.test
archive-big.test
archive.test BUG#11751793 - 42784: ARCHIVE TABLES CAUSE 100% CPU USAGE 2011-11-23 18:33:29 +05:30
archive_bitfield.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
archive_debug.test BUG#12402794 - 60976: CRASH, VALGRIND WARNING AND MEMORY 2011-05-18 14:01:43 +04:00
archive_gis.test
auto_increment.test Bug #50619 assert in handler::update_auto_increment 2011-01-04 14:36:37 +01:00
backup-master.sh
backup.test Merge 5.0 -> 5.1 2009-02-09 22:00:15 +01:00
bench_count_distinct.test
bigint.test Bug #45360: wrong results 2010-02-25 23:13:11 +04:00
binary.test
bool.test
bootstrap.test
bug39022.test A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
bug46080-master.opt Bug #46080: group_concat(... order by) crashes server when 2009-07-10 15:00:34 +03:00
bug46080.test fixed various pb2 test failures on windows. 2010-02-02 14:17:21 +02:00
bug46261-master.opt Bug#46261 Plugins can be installed with --skip-grant-tables 2010-04-22 15:52:00 +02:00
bug46261.test Bug#46261 Plugins can be installed with --skip-grant-tables 2010-04-22 15:52:00 +02:00
bug46760-master.opt Bug#46760: Fast ALTER TABLE no longer works for InnoDB 2009-09-18 16:01:18 +03:00
bug46760.test Bug#46760: Fast ALTER TABLE no longer works for InnoDB 2009-09-18 16:01:18 +03:00
bug47671-master.opt Fix for BUG#47671 - wrong character-set after upgrade from 5.1.34 to 5.1.39 2009-11-25 12:25:49 +05:30
bug47671.test Additional Fix for BUG#47671 - wrong character-set after upgrade from 5.1.34 to 5.1.39 2009-11-30 10:54:26 +05:30
bulk_replace.test
cache_innodb.test
case.test
cast.test Bug #11765023: 57934: DOS POSSIBLE SINCE BINARY CASTING DOESN'T 2011-03-15 13:19:30 +02:00
change_user-master.opt
change_user.test Assorted post-merge fixes, clean-up, integration, compat with 5.6. 2010-11-25 03:11:05 +00:00
check.test
client_xml.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
comments.test
commit_1innodb.test
compare.test
compress.test Merge 5.0 -> 5.1 2009-02-09 22:00:15 +01:00
concurrent_innodb_safelog-master.opt
concurrent_innodb_safelog.test
concurrent_innodb_unsafelog-master.opt
concurrent_innodb_unsafelog.test
connect.test Bug #49752: 2469.126.2 unintentionally breaks authentication against 2010-11-11 07:34:14 +00:00
consistent_snapshot.test Bug#44664: valgrind warning for COMMIT_AND_CHAIN and ROLLBACK_AND_CHAIN 2009-05-11 20:54:00 -03:00
constraints.test
contributors.test
count_distinct.test Bug#47371 reference by same column name 2009-12-22 13:52:23 +04:00
count_distinct2-master.opt
count_distinct2.test
count_distinct3.test Tag count_distinct3.test as a big test. 2009-06-08 20:03:01 -03:00
crash_commit_before-master.opt
crash_commit_before.test Bug #11762804 55442: MYSQLD DEBUG CRASHES WHILE RUNNING MYISAM_CRASH_BEFORE_FLUSH_KEYS.TEST 2011-03-15 16:06:59 +01:00
create-big.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
create.test BUG#47418 RBR fails, failure with mixup of base/temporary/view 2010-01-16 15:44:24 +08:00
create_not_windows.test
create_select_tmp.test
csv.test merge 45482 2010-03-09 16:09:32 +01:00
csv_alter_table.test
csv_not_null.test 2011-01-25 12:14:28 +05:30
ctype_ascii.test
ctype_big5.test
ctype_collate.test Bug#41627 Illegal mix of collations in LEAST / GREATEST / CASE 2009-03-19 12:20:28 +04:00
ctype_cp932_binlog_row.test
ctype_cp932_binlog_stm.test mtr: cleaned up some superfluos global warning suppressions 2011-03-30 14:33:53 +02:00
ctype_cp1250_ch.test Bug#48053 String::c_ptr has a race and/or does an invalid 2011-02-17 12:43:53 +01:00
ctype_cp1251.test Bug#48053 String::c_ptr has a race and/or does an invalid 2011-02-17 12:43:53 +01:00
ctype_create.test
ctype_eucjpms.test Bug#48053 String::c_ptr has a race and/or does an invalid 2011-02-17 12:43:53 +01:00
ctype_euckr.test Backporting "WL#3332 Korean Enhancements" and 2009-07-24 11:27:23 +05:00
ctype_filename.test
ctype_filesystem-master.opt
ctype_filesystem.test
ctype_gb2312.test
ctype_gbk.test
ctype_gbk_binlog.test Bug#46010 main.ctype_gbk_binlog fails sporadically : Table 't2' already exists 2009-09-07 13:42:54 +08:00
ctype_hebrew.test
ctype_latin1.test Bug#58022 ... like ... escape export_set ( ... ) crashes when export_set returns warnings 2010-11-18 11:53:08 +03:00
ctype_latin1_de-master.opt
ctype_latin1_de.test
ctype_latin2.test
ctype_latin2_ch.test
ctype_ldml-master.opt
ctype_ldml.test Bug #51976 LDML collations issue 2010-03-22 16:27:59 +04:00
ctype_many.test Bug#58371 Assertion failed: !s.uses_buffer_owned_by(this) with format string function 2011-01-17 15:11:33 +03:00
ctype_mb.test
ctype_recoding.test
ctype_sjis.test Bug 11766519 - 59648: MY_STRTOLL10_MB2: ASSERTION `(*ENDPTR - S) % 2 == 0' FAILED. 2011-03-03 18:39:26 +03:00
ctype_tis620.test
ctype_uca.test
ctype_ucs.test Bug 11766519 - 59648: MY_STRTOLL10_MB2: ASSERTION `(*ENDPTR - S) % 2 == 0' FAILED. 2011-03-03 18:39:26 +03:00
ctype_ucs2_def-master.opt
ctype_ucs2_def.test
ctype_ujis.test Bug#57257 Replace(ExtractValue(...)) causes MySQL crash 2010-11-11 13:25:23 +03:00
ctype_ujis_ucs2.test
ctype_utf8.test Bug#11752408 - 43593: DUMP/BACKUP/RESTORE/UPGRADE TOOLS FAILS BECAUSE OF UTF8_GENERAL_CI 2012-01-23 13:07:10 +04:00
date_formats-master.opt
date_formats.test Bug#58005 utf8 + get_format causes failed assertion: !str || str != Ptr' 2010-11-12 13:12:15 +03:00
ddl_i18n_koi8r.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
ddl_i18n_utf8.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
deadlock_innodb.test
debug_sync.test WL#4259 - Debug Sync Facility 2009-09-29 17:38:40 +02:00
default.test
delayed.test Postfix for Bug #47682 strange behaviour of INSERT DELAYED 2009-11-18 13:49:45 +01:00
delete.test Bug #53034: Multiple-table DELETE statements not accepting 2010-08-31 02:16:38 +04:00
derived.test Fixed following problems: 2010-12-14 12:33:03 +03:00
dirty_close.test Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default 2009-03-03 21:34:18 +01:00
disabled.def Disabling main.query_cache_28249.test since this test fails 2011-11-22 14:16:13 +01:00
distinct.test Bug #46159: simple query that never returns 2009-09-06 00:42:17 +04:00
drop.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
empty_table.test
endspace.test
error_simulation.test Bug#11747970 34660: CRASH WHEN FEDERATED TABLE LOSES CONNECTION DURING INSERT ... SELECT 2011-10-05 13:28:20 +04:00
errors.test
events_1.test Patch for Bug#12394306: the sever may crash if mysql.event is corrupted. 2011-05-04 16:59:24 +04:00
events_2.test
events_bugs-master.opt
events_bugs.test Follow-up for patch of bug#11764334. 2011-06-10 01:05:10 +07:00
events_embedded.test
events_grant.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
events_logs_tests-master.opt Bug #46322 Sporadic timeout in mysql_upgrade.test 2009-08-27 15:17:09 +02:00
events_logs_tests.test
events_microsec.test
events_restart-master.opt
events_restart.test Patch for Bug#12394306: the sever may crash if mysql.event is corrupted. 2011-05-04 16:59:24 +04:00
events_scheduling.test Backport from next-mr-bugfixing of tor.didriksen@sun.com-20100106140051-3j2iuag63eltsr2e 2010-05-19 11:18:59 +02:00
events_stress.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
events_time_zone.test
events_trans.test
events_trans_notembedded.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
exampledb.test
execution_constants.test
explain.test merge 5.0 => 5.1 : Bug#12329653 2011-05-04 17:12:45 +02:00
fix_priv_tables.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
flush.test Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
flush2-master.opt
flush2.test
flush_block_commit.test Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default 2009-03-03 21:34:18 +01:00
flush_block_commit_notembedded.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
flush_read_lock_kill-master.opt
flush_read_lock_kill.test manual merge of 28141 2009-10-20 11:00:07 -07:00
flush_table.test
foreign_key.test
fulltext.test Bug#54484 explain + prepared statement: crash and Got error -1 from storage engine 2010-10-18 14:47:26 +04:00
fulltext2.test
fulltext3.test
fulltext_cache.test
fulltext_distinct.test
fulltext_left_join.test
fulltext_multi.test
fulltext_order_by.test Bug #49734: Crash on EXPLAIN EXTENDED UNION ... ORDER BY <any non-const-function> 2009-12-22 17:52:15 +02:00
fulltext_plugin-master.opt
fulltext_plugin.test
fulltext_update.test
fulltext_var.test
func_compress.test Bug #32223 SETting max_allowed_packet variable 2009-06-19 11:27:19 +02:00
func_concat.test Bug #40625: Concat fails on DOUBLE values in a Stored 2010-04-03 00:30:22 +04:00
func_crypt.test Bug #44767: invalid memory reads in password() and 2009-05-27 14:20:57 +04:00
func_date_add.test
func_default.test
func_des_encrypt.test Bug #35087: Inserting duplicate values at one time with DES_ENCRYPT leads 2009-04-17 18:52:57 +03:00
func_encrypt-master.opt
func_encrypt.test ENCRYPT function always returns NULL on windows. 2009-04-27 15:05:01 +05:00
func_encrypt_nossl.test
func_encrypt_ucs2.test BUG#11766519 (bug#59648): MY_STRTOLL10_MB2: ASSERTION `(*ENDPTR - S) % 2 == 0' FAILED 2011-03-03 15:04:04 +03:00
func_equal.test
func_gconcat.test backport of bug #54476 fix from 5.1-bugteam to 5.0-bugteam. 2010-12-14 23:52:53 +03:00
func_group.test Bug#11766270 59343: YEAR(4): INCORRECT RESULT AND VALGRIND WARNINGS WITH MIN/MAX, UNION 2011-04-12 14:01:33 +04:00
func_group_innodb.test Bug#12713907:STRANGE OPTIMIZE & WRONG RESULT UNDER 2012-04-18 11:25:01 +05:30
func_if.test
func_in.test Bug#13012483:EXPLAIN EXTENDED, PREPARED STATEMENT, CRASH IN 2012-02-24 11:53:36 +05:30
func_isnull.test Bug#53933 crash when using uncacheable subquery in the having clause of outer query 2010-06-08 10:22:40 +04:00
func_like.test Bug#59149 valgrind warnings with "like .. escape .." function 2011-01-17 12:30:22 +03:00
func_math.test Bug#12392636 ASSERTION FAILED: SCALE >= 0 && PRECISION > 0 && SCALE <= PRECISION 2011-05-26 14:06:39 +04:00
func_misc.test backport of bug #54461 from 5.1-security to 5.0-security 2010-11-24 23:03:16 +03:00
func_op.test
func_regexp.test
func_rollback.test
func_sapdb.test
func_set.test Bug#45168: assertion with convert() and empty set value 2009-06-16 16:36:15 +02:00
func_str.test Bug#58165: "my_empty_string" gets modified and causes LOAD DATA to fail and 2011-01-13 08:57:15 +01:00
func_system.test
func_test.test
func_time.test BUG#13458237 - INCONSISTENT HANDLING OF INVALIDE DATES WITH ZERO DAY. SIMILAR TO '2009-10-00' 2012-01-24 13:00:13 +04:00
func_timestamp.test
gcc296.test
gis-rtree.test Bug#11764487: myisam corruption with insert ignore and invalid spatial data 2011-06-07 19:30:43 +04:00
gis.test Fix for bug#51875/#11759554 backported from mysql-5.1. 2011-03-21 09:21:14 +03:00
grant.test Merged fix for bug #36544 "DROP USER does not remove stored 2011-02-07 15:06:22 +03:00
grant2.test Bug#48319: Server crashes on "GRANT/REVOKE ... TO CURRENT_USER" 2009-10-29 22:06:10 -07:00
grant3-master.opt
grant3.test Follow up for bug#36742. Changed test case for bug#19828 2010-10-18 21:03:53 +07:00
grant_cache_no_prot.test
grant_cache_ps_prot.test
grant_lowercase_fs.test Bug#41049 does syntax "grant" case insensitive? 2009-10-27 12:09:19 +04:00
greedy_optimizer.test
group_by.test Bug#11765254 - 58200: ASSERTION FAILED: PARAM.SORT_LENGTH WHEN 2011-08-30 09:56:07 +02:00
group_min_max.test Bug#53859: Valgrind: opt_sum_query(TABLE_LIST*, List<Item>&, 2010-06-11 09:38:29 +02:00
group_min_max_innodb.test
handler_innodb.test
handler_myisam.test Fix for bug #54007: assert in ha_myisam::index_next, HANDLER 2010-06-09 14:45:04 +04:00
having.test Bug#11756928 48916: SERVER INCORRECTLY PROCESSING HAVING CLAUSES WITH AN ORDER BY CLAUSE 2011-04-22 11:20:55 +04:00
heap.test BUG#11759349 - 51655: CREATE TABLE IN MEMORY ENGINE DOESN'T STORE 2011-09-27 17:38:51 +05:30
heap_auto_increment.test
heap_btree.test merging with local fix. 2009-05-06 15:00:14 +05:30
heap_hash.test
help.test
implicit_char_to_num_conversion.test Adding bug scenario for data types in main suite 2011-05-14 21:44:49 +05:30
index_merge_innodb.test
index_merge_myisam.test @@optimizer_switch backport and change from no_xxx to xx=on|off: post-review fixes 2009-03-14 21:58:23 +03:00
information_schema.test Bug#54422 query with = 'variables' 2010-06-25 12:01:47 +04:00
information_schema_chmod.test
information_schema_db.test Bug#35996: SELECT + SHOW VIEW should be enough to display 2009-09-28 13:25:47 +02:00
information_schema_inno.test
information_schema_part.test
init_connect-master.opt
init_connect.test BUG#11755281/47032: ERROR 2006 / ERROR 2013 INSTEAD OF PROPER ERROR MESSAGE 2012-01-02 06:25:48 +00:00
init_file-master.opt
init_file.test BUG#49978: Replication tests don't clean up replication state at the end 2010-12-19 18:07:28 +01:00
innodb_ignore_builtin-master.opt
innodb_ignore_builtin.test
innodb_mysql_lock2.test A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
insert.test Bug #54106 assert in Protocol::end_statement, 2010-08-09 13:39:59 +02:00
insert_notembedded.test
insert_select.test Simple fix of suppress pattern in test insert_select 2011-02-16 21:43:12 +01:00
insert_update.test Fix for Bug#43546 Several 5.0 tests do not pass MTR's --check option 2009-04-28 20:12:18 +02:00
join.test backport: Bug #55568 from 5.1-security to 5.0-security 2010-11-23 00:29:47 +03:00
join_crash.test
join_nested.test
join_outer.test Bug #11765810 58813: SERVER THREAD HANGS WHEN JOIN + WHERE + GROUP BY 2012-02-07 14:16:09 +01:00
join_outer_innodb.test
key.test
key_cache-master.opt Bug #57840 MTR: parallel execution breaks with smart ordering of test cases 2010-11-05 15:26:38 +01:00
key_cache.test merge 2011-12-14 14:41:40 +01:00
key_diff.test
key_primary.test
keywords.test
kill.test manual merge of 28141 2009-10-20 11:00:07 -07:00
limit.test
loaddata.test Addendum 3 for bug #BUG#11764517 : expand secure_file_priv to the real 2011-05-05 12:10:49 +03:00
loaddata_autocom_innodb.test
locale.test Bug#43207 wrong LC_TIME names for romanian locale 2009-10-19 13:44:44 +05:00
lock.test Bug#39843 DELETE requires write access to table in subquery in where clause 2009-03-05 15:22:33 +01:00
lock_multi.test Bug#30331: Table_locks_waited shows inaccurate values 2009-12-18 18:32:55 -02:00
lock_multi_bug38499.test Reduce test case runtime. 2009-08-28 18:49:16 -03:00
lock_multi_bug38691.test Reduce test case runtime. 2009-08-28 18:49:16 -03:00
lock_sync.test Bug# 11763784 (former 56541) 2011-03-29 10:09:05 +02:00
lock_tables_lost_commit-master.opt
lock_tables_lost_commit.test
log_state-master.opt
log_state.test Bug #49756 Rows_examined is always 0 in the slow query log for 2010-05-12 13:19:12 +02:00
log_tables-big-master.opt
log_tables-big.test
log_tables-master.opt Bug #46322 Sporadic timeout in mysql_upgrade.test 2009-08-27 15:17:09 +02:00
log_tables.test A fix and a test case for Bug#47924 -main.log_tables times out 2010-11-07 23:42:54 +06:00
log_tables_debug.test Post-merge fix: modify regular expression to better handle 24 hour 2009-06-15 20:27:27 -03:00
log_tables_upgrade.test Bug#49823: mysql_upgrade fatal error due to general_log / slow_low CSV NULL 2010-02-26 09:22:48 -03:00
long_tmpdir-master.opt
long_tmpdir-master.sh
long_tmpdir.test
lowercase_fs_off.test 5.0-bugteam->5.1-bugteam merge 2009-10-27 14:09:36 +04:00
lowercase_mixed_tmpdir-master.opt
lowercase_mixed_tmpdir-master.sh
lowercase_mixed_tmpdir.test
lowercase_mixed_tmpdir_innodb-master.opt BUG#45638 - Create temporary table with engine innodb fails 2009-09-09 14:38:50 +05:00
lowercase_mixed_tmpdir_innodb-master.sh BUG#45638 - Create temporary table with engine innodb fails 2009-09-09 14:38:50 +05:00
lowercase_mixed_tmpdir_innodb.test BUG#45638 - Create temporary table with engine innodb fails 2009-09-09 14:38:50 +05:00
lowercase_table-master.opt
lowercase_table.test
lowercase_table2.test Bug #11758687: 50924: object names not resolved correctly 2011-04-04 16:04:15 +03:00
lowercase_table3-master.opt
lowercase_table3.test Bug #42408 Faulty regex for detecting [Warning] and [ERROR] in mysqld error log 2009-08-28 16:13:27 +02:00
lowercase_table4-master.opt Bug #46941 crash with lower_case_table_names=2 and foreign key 2010-10-19 12:27:09 +02:00
lowercase_table4.test Bug #46941 crash with lower_case_table_names=2 and foreign key 2010-10-19 12:27:09 +02:00
lowercase_table_grant-master.opt
lowercase_table_grant.test
lowercase_table_qcache-master.opt
lowercase_table_qcache.test
lowercase_utf8-master.opt Bug#25830 SHOW TABLE STATUS behaves differently depending on table name(for 5.0 only) 2009-02-17 18:22:48 +04:00
lowercase_utf8.test 5.0->bugteam->5.1-bugteam merge 2009-02-18 16:09:46 +04:00
lowercase_view-master.opt
lowercase_view.test Bug #53095: SELECT column_name FROM INFORMATION_SCHEMA.STATISTICS 2010-06-25 15:59:44 +03:00
merge-big.test
merge.test Post push fix for merge.test and mysqlcheck.test on windows 2011-12-15 16:59:18 +01:00
merge_innodb.test
metadata.test Bug#41788 mysql_fetch_field returns org_table == table by a view 2010-03-12 10:33:16 +04:00
mix2_myisam.test
mix2_myisam_ucs2.test
multi_statement-master.opt
multi_statement.test
multi_update-master.opt
multi_update.test Fixed following problems: 2010-12-14 12:33:03 +03:00
multi_update2-master.opt
multi_update2.test Test is very resource intensive under debug and valgrind runs. 2009-06-08 19:18:31 -03:00
multi_update_tiny_hash-master.opt
multi_update_tiny_hash.test
myisam-blob-master.opt
myisam-blob.test
myisam-system.test Bug#42364 SHOW ERRORS returns empty resultset after dropping non existent table 2009-09-17 16:33:23 +05:00
myisam.test BUG#11756869 - 48848: MYISAMCHK DOING SORT RECOVER IN CERTAIN 2012-02-02 14:19:38 +05:30
myisam_crash_before_flush_keys-master.opt merge 5.0-bugteam to 5.1-bugteam 2009-04-06 12:31:17 +05:30
myisam_crash_before_flush_keys.test Bug #11762804 55442: MYSQLD DEBUG CRASHES WHILE RUNNING MYISAM_CRASH_BEFORE_FLUSH_KEYS.TEST 2011-03-15 16:06:59 +01:00
myisam_debug.test Additional Fix for BUG#40827 - Killing insert-select to MyISAM can cause 2009-05-04 14:35:16 +05:30
myisampack.test BUG#11761180 - 53646: MYISAMPACK CORRUPTS TABLES WITH 2011-09-16 15:30:31 +04:00
mysql-bug41486.test Disabled embedded server in the test case for bug #41486. 2009-03-25 11:47:41 +03:00
mysql-bug45236.test Disabled embedded server for the test case for bug #45236. 2009-06-17 20:10:48 +04:00
mysql.test Fixed bug#57450 - mysql client enter in an infinite loop 2011-02-05 11:02:00 +06:00
mysql_client_test-master.opt
mysql_client_test.test Bug#54041: MySQL 5.0.92 fails when tests from Connector/C suite run 2010-07-30 09:17:10 -03:00
mysql_comments.sql
mysql_comments.test
mysql_cp932.test
mysql_delimiter.sql
mysql_delimiter_19799.sql
mysql_delimiter_source.sql
mysql_protocols.test
mysql_upgrade.test Bug #53613: mysql_upgrade incorrectly revokes TRIGGER privilege on given table 2010-07-01 12:05:09 +03:00
mysqladmin.test Bug#58221 : mysqladmin --sleep=x --count=x keeps looping 2011-01-16 02:04:08 +05:30
mysqlbinlog-cp932-master.opt
mysqlbinlog-cp932.test Bug#46010 main.ctype_gbk_binlog fails sporadically : Table 't2' already exists 2009-09-07 13:42:54 +08:00
mysqlbinlog-master.opt Bug #57840 MTR: parallel execution breaks with smart ordering of test cases 2010-11-05 15:26:38 +01:00
mysqlbinlog.test BUG#11766427, BUG#59539: Filter by server id in mysqlbinlog fails 2011-03-25 15:16:13 +01:00
mysqlbinlog2.test
mysqlbinlog_base64.test BUG#12354268: MYSQLBINLOG --BASE64-OUTPUT=DECODE-ROWS DOES NOT 2011-05-05 23:48:15 +01:00
mysqlbinlog_row.test
mysqlbinlog_row_big.test BUG#59177: mysqlbinlog_row_big fails on Windows with out of memory 2011-01-12 19:32:45 +00:00
mysqlbinlog_row_innodb.test
mysqlbinlog_row_myisam.test
mysqlbinlog_row_trans.test
mysqlcheck.test Post push fix for merge.test and mysqlcheck.test on windows 2011-12-15 16:59:18 +01:00
mysqldump-compat.opt
mysqldump-compat.test Prepared BUG#42711 for push 2009-03-02 11:03:13 +01:00
mysqldump-max.test
mysqldump-no-binlog-master.opt
mysqldump-no-binlog.test
mysqldump.test Bug #11754178 45740: MYSQLDUMP DOESN'T DUMP GENERAL_LOG AND SLOW_QUERY 2012-05-07 16:46:44 +05:30
mysqldump_restore.test Bug#40465 - mysqldump.test does no checking of dump or restore 2009-05-22 10:38:17 -04:00
mysqlhotcopy_archive.test Patch for bug#52913 including all review results and changes of date format. 2010-06-03 10:31:26 +02:00
mysqlhotcopy_myisam.test Patch for bug#52913 including all review results and changes of date format. 2010-06-03 10:31:26 +02:00
mysqlshow.test
mysqlslap.test Bug #11766072 59107: MYSQLSLAP CRASHES IF STARTED WITH NO ARGUMENTS ON WINDOWS 2012-04-09 16:42:41 +05:30
mysqltest.test Bug #12793118 MYSQLTEST: --ERROR AND --DISABLE_ABORT_ON_ERROR DO NOT WORK FOR SQL IN COMMANDS 2011-09-14 15:19:24 +02:00
named_pipe-master.opt
named_pipe.test Bug #47423 mtr connects to wrong database 2009-11-03 01:19:37 +01:00
negation_elimination.test
no-threads-master.opt
no-threads.test
no_binlog.test BUG#50780: 'show binary logs' debug assertion when binary 2010-02-07 00:12:04 +00:00
not_embedded_server-master.opt
not_embedded_server.test Fixed bug#58026 - massive recursion and crash in regular expression 2011-02-04 10:47:46 +06:00
not_partition.test second merge from main, with adaptions 2009-09-02 23:29:11 +02:00
null.test
null_key.test
odbc.test
olap.test Bug #48475: DISTINCT is ignored with GROUP BY WITH ROLLUP and 2009-11-06 09:44:01 +03:00
openssl_1.test merge 2010-01-29 16:54:27 +02:00
order_by.test Bug#11765255 - 58201: VALGRIND/CRASH WHEN ORDERING BY MULTIPLE AGGREGATE FUNCTIONS 2011-07-11 11:20:19 +02:00
order_fill_sortbuf-master.opt
order_fill_sortbuf.test
outfile.test
outfile_loaddata.test Bug #53088: mysqldump with -T & --default-character-set set 2010-05-07 00:41:37 +04:00
overflow.test
packet.test Bug #32223 SETting max_allowed_packet variable 2009-06-19 11:27:19 +02:00
parser.test Move test for bug 39559, which uses command-line mysql client 2009-04-17 16:00:53 -04:00
parser_bug21114_innodb.test
parser_not_embedded.test Move test for bug 39559, which uses command-line mysql client 2009-04-17 16:00:53 -04:00
parser_precedence.test
parser_stack.test Remove copyright header from parser_stack.test 2011-10-19 13:36:57 +02:00
partition-master.opt
partition.test Bug#13580775 ASSERTION FAILED: RECORD_LENGTH == M_RECORD_LENGTH 2012-01-27 11:13:13 +01:00
partition_archive.test
partition_binlog_stmt.test Bug#51851: Server with SBR locks mutex twice on 2010-10-01 13:39:04 +02:00
partition_blackhole.test
partition_bug18198.test Bug #42849: innodb crash with varying time_zone on partitioned 2009-12-13 23:29:50 +03:00
partition_cache.test Bug#11761296: 53775: QUERY ON PARTITIONED TABLE RETURNS CACHED 2012-02-20 22:59:11 +01:00
partition_charset.test
partition_csv.test A few suppression follow-ups 2009-09-03 08:38:06 +02:00
partition_datatype.test
partition_debug_sync.test Bug#42438: Crash ha_partition::change_table_ptr 2010-02-01 16:07:00 +01:00
partition_disabled-master.opt
partition_disabled.test manual merge 2009-08-12 12:03:05 +02:00
partition_error.test merge 2011-01-26 16:50:21 +01:00
partition_federated.test
partition_grant.test
partition_hash.test
partition_innodb-master.opt Bug#47343: InnoDB fails to clean-up after lock wait timeout on 2010-01-18 17:49:18 +01:00
partition_innodb.test merging. 2010-10-15 20:13:35 +05:00
partition_innodb_builtin.test Bug#32430: 'show innodb status' causes errors 2009-09-25 11:26:49 +02:00
partition_innodb_plugin.test auto-merge mysql-5.1->mysql-5.1-security 2011-10-12 14:34:44 +03:00
partition_innodb_semi_consistent-master.opt
partition_innodb_semi_consistent.test Bug #49269 mysqltest crashes on 'reap' if query executed after 'send' 2010-01-07 11:22:45 +01:00
partition_innodb_stmt.test
partition_list.test
partition_mgm.test Move test for bug 39559, which uses command-line mysql client 2009-04-17 16:00:53 -04:00
partition_mgm_err.test
partition_mgm_err2.test
partition_myisam.test Post push fix for bug#11766249 bug#59316 2011-04-27 17:51:06 +02:00
partition_not_blackhole-master.opt Bug#46086: crash when dropping a partitioned table 2010-07-08 14:36:55 +02:00
partition_not_blackhole.test post push test fix 2010-08-20 21:17:51 +02:00
partition_not_windows-master.opt
partition_not_windows.test
partition_open_files_limit-master.opt Bug#46922: crash when adding partitions and open_files_limit 2009-10-08 15:36:43 +02:00
partition_open_files_limit.test Bug#46922 post push update 2009-10-09 16:12:01 +02:00
partition_order.test
partition_pruning.test Bug#53806: Wrong estimates for range query in partitioned MyISAM table 2010-08-26 17:14:18 +02:00
partition_range.test Bug#54444: Do not run main.range test for products without partitioning 2010-08-11 14:13:59 +02:00
partition_rename_longfilename.test Bug #30102 rename table does corrupt tables with partition files on failure. 2009-07-27 16:50:43 +05:30
partition_symlink.test
partition_windows.test
perror-win.test
perror.test
plugin-master.opt
plugin.test Bug#47801 The plugin test fails with the Embedded Server on Windows 2009-10-08 10:39:15 +02:00
plugin_load-master.opt Backport WL#3653 to 5.1 to enable bundled innodb plugin. 2009-06-10 10:59:49 +02:00
plugin_load.test Bug#47801 The plugin test fails with the Embedded Server on Windows 2009-10-08 10:39:15 +02:00
plugin_not_embedded-master.opt Bug#51770: UNINSTALL PLUGIN requires no privileges 2010-03-09 09:16:17 -03:00
plugin_not_embedded.test BUG#58246: INSTALL PLUGIN not secure & crashable 2010-12-02 09:13:31 +01:00
preload.test
profiling.test Pull 5.1 treatment of community features into 5.0. 2009-05-05 17:03:23 -04:00
ps-master.opt Bug #46322 Sporadic timeout in mysql_upgrade.test 2009-08-27 15:17:09 +02:00
ps.test Backport 5.5=>5.1 Patch for Bug#13805127: 2012-04-18 13:14:05 +02:00
ps_1general.test Bug 43355 Prepared for commit on 5.1 gca 2009-04-01 10:58:55 +02:00
ps_2myisam.test
ps_3innodb.test Bug#38999 valgrind warnings for update statement in function compare_record() 2010-06-09 16:07:34 +04:00
ps_4heap.test
ps_5merge.test
ps_10nestset.test
ps_11bugs.test
ps_ddl.test BUG#47418 RBR fails, failure with mixup of base/temporary/view 2010-01-16 15:44:24 +08:00
ps_ddl1.test
ps_grant.test
ps_not_windows.test Bug#45605: ps_not_windows.test fails: 2009-09-04 17:02:17 -03:00
query_cache.test Moved test case for bug 31157 from query_cache.test to subselect.test 2009-11-03 17:18:43 +01:00
query_cache_28249.test Post-merge fix: test depends on feature not available under embedded. 2009-02-23 09:03:31 +01:00
query_cache_debug.test Bug#43758 Query cache can lock up threads in 'freeing items' state 2009-06-17 16:28:11 +02:00
query_cache_merge.test
query_cache_notembedded.test Remove test case for bug 40264. 2009-02-13 17:26:20 -02:00
query_cache_ps_no_prot.test
query_cache_ps_ps_prot.test
query_cache_with_views.test Bug#46615 Assertion in Query_cache::invalidate in INSERT in a VIEW of a MERGE table 2010-03-24 17:37:41 +01:00
range.test Fixes for: 2012-01-26 10:25:23 +01:00
read_many_rows_innodb.test
read_only.test Merge 5.0 -> 5.1 of fix for Bug#42003 and Bug#43114 2009-03-06 15:56:17 +01:00
read_only_innodb.test
rename.test Reviewed fix for bug#40882: Replaced "sleep 1" by wait_condition, added save/restore start values and closed open sessions. When trying to use "wait_for_query_to_succeed" a type has been fixed, also in "rename.test": Added session count and check and replaced error numbers. 2009-02-11 10:27:52 +01:00
renamedb.test Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
repair.test
replace.test
rollback.test
round.test
row.test Bug #54190: Comparison to row subquery produces incorrect 2010-09-09 16:46:13 +04:00
rowid_order_innodb.test
schema.test Bug #54360 Deadlock DROP/ALTER/CREATE DATABASE with open HANDLER 2010-06-26 19:36:00 +02:00
secure_file_priv_win-master.opt Bug #11764517: 57359: POSSIBLE TO CIRCUMVENT SECURE_FILE_PRIV 2011-04-28 12:22:41 +03:00
secure_file_priv_win.test Addendum to the fix for bug #11764517 : replaced an absolute path. 2011-05-04 15:47:29 +03:00
select.test Accidentally pushed test changes (#54459) removed. 2010-06-24 21:13:08 +04:00
select_found.test
select_safe.test
shm-master.opt
shm.test Bug#33899: Deadlock in mysql_real_query with shared memory connections 2009-03-26 20:17:27 -03:00
show_check-master.opt Bug #46322 Sporadic timeout in mysql_upgrade.test 2009-08-27 15:17:09 +02:00
show_check.test BUG#11759349 - 51655: CREATE TABLE IN MEMORY ENGINE DOESN'T STORE 2011-09-27 17:38:51 +05:30
skip_grants-master.opt
skip_grants.test
skip_log_bin-master.opt
skip_log_bin.test
skip_name_resolve-master.opt
skip_name_resolve.test Bug #37168: Missing variable - skip_name_resolve 2010-03-31 16:12:37 +03:00
sp-big.test
sp-bugs.test Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE 2012-03-28 12:05:31 +05:30
sp-code.test Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE 2012-03-28 12:05:31 +05:30
sp-destruct.test mtr: cleaned up some superfluos global warning suppressions 2011-03-30 14:33:53 +02:00
sp-dynamic.test
sp-error.test Fixed bug#11840395 (formerly known as bug#60347: THE STRING "VERSIONDATA" 2011-06-09 23:30:52 +07:00
sp-fib.test Bug#15866 Prepared for push on 5.0 2009-07-03 10:19:32 +02:00
sp-prelocking.test
sp-security.test Merge from mysql-5.0-security to mysql-5.1-security 2011-04-13 09:57:16 +02:00
sp-threads.test
sp-ucs2.test Bug#48766 SHOW CREATE FUNCTION returns extra data in return clause 2009-12-02 15:17:08 +04:00
sp-vars.test
sp.test Backport 5.5=>5.1 Patch for Bug#13805127: 2012-04-18 13:14:05 +02:00
sp_gis.test
sp_notembedded.test Bug#11763507 - 56224: FUNCTION NAME IS CASE-SENSITIVE 2012-03-28 12:05:31 +05:30
sp_stress_case.test
sp_sync.test Fixed Bug#11756013 (formerly known as bug#47870): 2011-06-23 20:41:04 +07:00
sp_trans.test Bug#11758414/Bug#50614: Default storage_engine not honored when set from within a stored procedure 2011-07-12 06:08:52 +01:00
sp_trans_log.test Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
sql_mode.test Bug#12601974 - STORED PROCEDURE SQL_MODE=NO_BACKSLASH_ESCAPES IGNORED AND BREAKS REPLICATION 2012-02-29 12:23:15 +05:30
ssl-big.test Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default 2009-03-03 21:34:18 +01:00
ssl.test Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default 2009-03-03 21:34:18 +01:00
ssl_8k_key-master.opt Bug#53463: YaSSL patch appears to be reverted 2010-07-28 12:59:19 -03:00
ssl_8k_key.test
ssl_cipher-master.opt BUG #11760210: 52596: SSL_CIPHER_LIST NOT SET OR RETURNED FOR "SHOW STATUS LIKE 'SSL_CIPHER_LIST'" 2011-03-11 16:16:34 +05:30
ssl_cipher.test BUG #11760210: 52596: SSL_CIPHER_LIST NOT SET OR RETURNED FOR "SHOW STATUS LIKE 'SSL_CIPHER_LIST'" 2011-03-11 16:16:34 +05:30
ssl_compress.test Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default 2009-03-03 21:34:18 +01:00
ssl_connect.test
status-master.opt Bug #46322 Sporadic timeout in mysql_upgrade.test 2009-08-27 15:17:09 +02:00
status.test Bug #29971 status.test fails 2009-06-10 11:58:36 +03:00
status2.test
strict.test Bug#41465: confusing error message when comment is too long 2009-03-05 08:20:01 -03:00
strict_autoinc_1myisam.test
strict_autoinc_2innodb.test
strict_autoinc_3heap.test
subselect.test Backport of fix for Bug#12763207 - ASSERT IN SUBSELECT::SINGLE_VALUE_TRANSFORMER 2012-03-27 14:39:27 +02:00
subselect2.test
subselect3.test Bug#48177 - SELECTs with NOT IN subqueries containing NULL 2009-11-03 13:48:59 +01:00
subselect4.test Bug#58207: invalid memory reads when using default column value and 2011-01-12 09:55:31 +01:00
subselect_debug.test
subselect_gis.test
subselect_innodb.test
subselect_notembedded.test
sum_distinct-big.test
sum_distinct.test
symlink.test BUG#40980 - Drop table can remove another MyISAM table's 2010-04-01 18:49:02 +04:00
synchronization.test
sysdate_is_now-master.opt
sysdate_is_now.test
system_mysql_db.test
system_mysql_db_fix30020-master.opt
system_mysql_db_fix30020.test
system_mysql_db_fix40123-master.opt
system_mysql_db_fix40123.test
system_mysql_db_fix50030-master.opt
system_mysql_db_fix50030.test
system_mysql_db_fix50117-master.opt
system_mysql_db_fix50117.test
system_mysql_db_refs.test
tablelock.test
temp_table-master.opt
temp_table.test
timezone-master.opt
timezone.test
timezone2.test Bug #55424: convert_tz crashes when fed invalid data 2010-08-06 23:29:37 +04:00
timezone3-master.opt
timezone3.test
timezone4-master.opt
timezone4.test
timezone_grant.test
trigger-compat.test Fixed bug#11753738 (formely known as bug#45235) - 5.1 DOES NOT SUPPORT 5.0-ONLY 2011-06-10 10:52:39 +07:00
trigger-trans.test
trigger.test Bug#50755: Crash if stored routine def contains version comments 2010-04-01 10:15:22 -03:00
trigger_notembedded.test Fixed bug #55421 - Protocol::end_statement(): Assertion `0' on 2010-09-07 15:53:46 +07:00
truncate.test
type_binary.test
type_bit.test Bug#50591 bit(31) causes Duplicate entry '1-NULL' for key 'group_key' 2010-02-16 13:13:49 +04:00
type_bit_innodb.test Bug #32625: Make test type_bit_innodb more robust 2009-03-11 14:54:57 -06:00
type_blob.test Bug #52160: crash and inconsistent results when grouping 2010-10-31 19:04:38 +03:00
type_date.test Bug#50918: Date columns treated differently in Views than in 2010-03-16 10:20:07 +01:00
type_datetime.test Bug#59173: Failure to handle DATE(TIME) values where Year, Month or Day is 2011-01-19 15:09:32 +01:00
type_decimal.test
type_enum.test
type_float.test Bug#12406055 post-push fix: ignore float output 2011-07-18 09:06:59 +02:00
type_nchar.test
type_newdecimal-big.test
type_newdecimal.test merge 5.0-security => 5.1 security 2011-10-14 10:44:27 +02:00
type_ranges.test
type_set.test
type_time.test Bug#53942 valgrind warnings with timestamp() function and incomplete datetime values 2010-05-31 13:25:11 +04:00
type_timestamp.test Bug 11758558 - 50774: WRONG RESULTSET WHEN TIMESTAMP VALUES ARE APPENDED WITH 2011-04-18 10:44:41 +02:00
type_uint.test
type_varchar.test
type_year.test Bug#59211: Select Returns Different Value for min(year) Function 2011-01-12 10:37:15 +01:00
udf-master.opt
udf.test Backport to 5.0: Fix for Bug#52060 - test udf fails on Snow Leopard. 2011-02-09 10:50:09 +01:00
udf_skip_grants-master.opt
udf_skip_grants.test
union-master.opt
union.test Bug#11765255 - 58201: VALGRIND/CRASH WHEN ORDERING BY MULTIPLE AGGREGATE FUNCTIONS 2011-07-11 11:20:19 +02:00
unsafe_binlog_innodb-master.opt
unsafe_binlog_innodb.test
update.test Bug #54734 assert in Diagnostics_area::set_ok_status 2010-07-19 11:03:52 +02:00
upgrade.test Bug #53804: serious flaws in the alter database .. upgrade 2010-05-21 22:47:32 +04:00
user_limits.test Last slice of fix for Bug#42003 tests missing the disconnect of connections <> default 2009-03-03 21:34:18 +01:00
user_var-binlog.test
user_var.test Bug #57187: more user variable fun with multiple 2010-12-06 23:38:31 +03:00
varbinary.test Fix for Bug#43546 Several 5.0 tests do not pass MTR's --check option 2009-04-28 20:12:18 +02:00
variables-big.test Bug#58197: main.variables-big fails on windows 2010-11-15 16:17:38 +01:00
variables-notembedded-master.opt Bug#43835: SHOW VARIABLES does not include 0 for slave_skip_errors 2009-04-06 13:42:33 +02:00
variables-notembedded.test Fixed a test failure in embedded because of the fix for BUG#11766769 2011-03-28 13:25:03 +03:00
variables.test Fixed a test failure in embedded because of the fix for BUG#11766769 2011-03-28 13:25:03 +03:00
variables_community.test renaming test variables+c to variables_community, + is problematic 2010-02-11 14:26:58 +01:00
variables_debug.test Bug #56709: Memory leaks at running the 5.1 test suite 2010-09-22 23:33:18 +04:00
view.test Bug #11829681 - 60295: ERROR 1356 ON VIEW THAT EXECUTES FINE AS A QUERY 2011-04-08 12:05:20 +04:00
view_alias.test Bug#40277: SHOW CREATE VIEW returns invalid SQL 2010-03-09 07:36:26 -03:00
view_grant.test manual merge 2011-09-29 10:56:21 +01:00
wait_timeout.test Test wait_timeout: do not fail by SQL syntax error, use die 2010-10-19 13:54:28 +02:00
warnings-master.opt
warnings.test Bug#42364 SHOW ERRORS returns empty resultset after dropping non existent table 2009-09-10 13:49:49 +05:00
warnings_engine_disabled-master.opt
warnings_engine_disabled.test
windows.test Bug#45498: Socket variable not available on Windows 2009-09-22 08:22:07 -03:00
xa.test Merge an addition to BUG51342 5.0-bugteam -> 5.1-bugteam. 2010-03-10 19:31:22 +04:00
xml.test Bug#11766725 (Bug#59901) EXTRACTVALUE STILL BROKEN AFTER FIX FOR BUG #44332 2011-03-01 15:30:18 +03:00