~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/suite/falcon_team/t/falcon_bug_31296.test

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--source include/have_falcon.inc
 
2
#
 
3
# Bug #31296: falcon does not remove associated tablespace file.
 
4
#
 
5
--echo *** Bug #31296 ***
 
6
 
 
7
# ----------------------------------------------------- #
 
8
# --- Initialisation                                --- #
 
9
# ----------------------------------------------------- #
 
10
let $engine = 'Falcon';
 
11
eval SET @@storage_engine = $engine;
 
12
 
 
13
--disable_warnings
 
14
DROP TABLE IF EXISTS t1;
 
15
--error 0,ER_NO_SUCH_TABLESPACE
 
16
eval DROP TABLESPACE ts1 ENGINE $engine;
 
17
--enable_warnings
 
18
 
 
19
eval CREATE TABLESPACE ts1 ADD DATAFILE 'ts1.fts' ENGINE $engine;
 
20
 
 
21
# ----------------------------------------------------- #
 
22
# --- Test                                          --- #
 
23
# ----------------------------------------------------- #
 
24
eval DROP TABLESPACE ts1 ENGINE $engine;
 
25
eval CREATE TABLESPACE ts1 ADD DATAFILE 'ts1.fts' ENGINE $engine;
 
26
 
 
27
# ----------------------------------------------------- #
 
28
# --- Check                                         --- #
 
29
# ----------------------------------------------------- #
 
30
# Check is not suitable here.
 
31
#SELECT count(*) FROM t1;
 
32
 
 
33
# ----------------------------------------------------- #
 
34
# --- Final cleanup                                 --- #
 
35
# ----------------------------------------------------- #
 
36
eval DROP TABLESPACE ts1 ENGINE $engine;