myisam_views-big.test 945 Bytes
Newer Older
1 2
#### suite/funcs_1/t/myisam_views.test

3
--source include/no_valgrind_without_big.inc
4 5 6
# because of a pair of slow Solaris Sparc machines in pb2,
# this test is marked as big:
--source include/big_test.inc
7

8 9 10
# MyISAM tables should be used
#
# Set $engine_type
11
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
12 13
let $engine_type= myisam;

14 15 16 17 18 19 20 21 22 23
# Create some objects needed in many testcases
USE test;
--source suite/funcs_1/include/myisam_tb2.inc
--disable_warnings
DROP DATABASE IF EXISTS test1;
--enable_warnings
CREATE DATABASE test1;
USE test1;
--source suite/funcs_1/include/myisam_tb2.inc
USE test;
24 25 26 27 28 29 30 31

let $message= Attention: The nesting level @max_level in Testcase 3.3.1.A6
              (Complicated nested VIEWs) has to be limited to 20 because of
              MyISAM(only) performance issues Bug#11948;
--source include/show_msg80.inc
SET @limit1 = 20;
--source suite/funcs_1/views/views_master.inc

32 33
DROP DATABASE test1;
DROP TABLE test.tb2;
34