Debian Codegraph @

mysql-test/suite/innodb/t/innodb_bug39438.test

raw
1 --source include/have_innodb.inc
2 #
3 # Bug#39438 Testcase for Bug#39436 crashes on 5.1 in fil_space_get_latch
4 # http://bugs.mysql.com/39438
5 #
6
7 SET default_storage_engine=InnoDB;
8
9 # we care only that the following SQL commands do not crash the server
10 -- disable_query_log
11 -- disable_result_log
12
13 DROP TABLE IF EXISTS bug39438;
14
15 CREATE TABLE bug39438 (id INT) ENGINE=INNODB;
16
17 # remove: XXX Uncomment the following ALTER and remove those lines after
18 # remove: applying the patch.
19 # remove: Obviously this test is useless without this ALTER command,
20 # remove: but it causes warnings to be printed by mysqld and the whole
21 # remove: mysql-test suite fails at the end (returns non-zero). Please
22 # remove: apply this patch to the mysql source tree, remove those lines
23 # remove: and uncomment the following ALTER. We do not care about the
24 # remove: warnings, this test is to ensure mysqld does not crash.
25 # remove: === modified file 'mysql-test/lib/mtr_report.pl'
26 # remove: --- mysql-test/lib/mtr_report.pl 2008-08-12 10:26:23 +0000
27 # remove: +++ mysql-test/lib/mtr_report.pl 2008-10-01 11:57:41 +0000
28 # remove: @@ -412,7 +412,10 @@
29 # remove:
30 # remove: # When trying to set lower_case_table_names = 2
31 # remove: # on a case sensitive file system. Bug#37402.
32 # remove: - /lower_case_table_names was set to 2, even though your the file system '.*' is case sensitive. Now setting lower_case_table_names to 0 to avoid future problems./
33 # remove: + /lower_case_table_names was set to 2, even though your the file system '.*' is case sensitive. Now setting lower_case_table_names to 0 to avoid future problems./ or
34 # remove: +
35 # remove: + # this test is expected to print warnings
36 # remove: + ($testname eq 'main.innodb_bug39438')
37 # remove: )
38 # remove: {
39 # remove: next; # Skip these lines
40 # remove:
41 #ALTER TABLE bug39438 DISCARD TABLESPACE;
42
43 # this crashes the server if the bug is present
44 SHOW TABLE STATUS;
45
46 DROP TABLE bug39438;