Debian Codegraph @

mysql-test/suite/vcol/t/vcol_view_innodb.test

raw
1 ################################################################################
2 # t/vcol_view_innodb.test #
3 # #
4 # Purpose: #
5 # Testing views defined on tables with virtual columns. #
6 # #
7 # InnoDB branch #
8 # #
9 #------------------------------------------------------------------------------#
10 # Original Author: Andrey Zhakov #
11 # Original Date: 2008-09-04 #
12 # Change Author: #
13 # Change Date: #
14 # Change: #
15 ################################################################################
16
17 #
18 # NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
19 # TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
20 # THE SOURCED FILES ONLY.
21 #
22
23 #------------------------------------------------------------------------------#
24 # General not engine specific settings and requirements
25 --source suite/vcol/inc/vcol_init_vars.pre
26
27 #------------------------------------------------------------------------------#
28 # Cleanup
29 --source suite/vcol/inc/vcol_cleanup.inc
30
31 #------------------------------------------------------------------------------#
32 # Engine specific settings and requirements
33
34 ##### Storage engine to be tested
35 # Set the session storage engine
36 --source include/have_innodb.inc
37 eval SET @@session.default_storage_engine = 'InnoDB';
38 SET @save_innodb_stats_persistent=@@GLOBAL.innodb_stats_persistent;
39 SET GLOBAL innodb_stats_persistent=0;
40
41 ##### Workarounds for known open engine specific bugs
42 # none
43
44 #------------------------------------------------------------------------------#
45 # Execute the tests to be applied to all storage engines
46 --source suite/vcol/inc/vcol_view.inc
47
48 #------------------------------------------------------------------------------#
49 # Execute storage engine specific tests
50
51 SET GLOBAL innodb_stats_persistent=@save_innodb_stats_persistent;
52
53 #------------------------------------------------------------------------------#
54 # Cleanup
55 --source suite/vcol/inc/vcol_cleanup.inc