1
################################################################################
5
# Test replication of tables with virtual columns. #
7
#------------------------------------------------------------------------------#
8
# Original Author: Andrey Zhakov #
9
# Original Date: 2008-09-04 #
13
################################################################################
16
# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
17
# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
18
# THE SOURCED FILES ONLY.
21
#------------------------------------------------------------------------------#
23
--source suite/vcol/inc/vcol_cleanup.inc
25
#------------------------------------------------------------------------------#
26
# General not engine specific settings and requirements
27
--source suite/vcol/inc/vcol_init_vars.pre
29
#------------------------------------------------------------------------------#
30
# Engine specific settings and requirements
32
##### Storage engine to be tested
33
# Set the session storage engine
34
--source include/have_innodb.inc
35
SET @@session.storage_engine = 'InnoDB';
37
##### Workarounds for known open engine specific bugs
40
#------------------------------------------------------------------------------#
41
# Execute the tests to be applied to all storage engines
42
--source include/master-slave.inc
45
create table t1 (a int, b virtual int as (a+1));
47
insert into t1 values (1,default);
48
insert into t1 values (2,default);
63
#------------------------------------------------------------------------------#
64
# Execute storage engine specific tests
67
#------------------------------------------------------------------------------#
69
--source suite/vcol/inc/vcol_cleanup.inc