mariadb/mysql-test/suite/funcs_1/t/myisam_views.test
Davi Arnaut e66c574df9 Don't run funcs_1/myisam_views test case under valgrind, unless
the --big-test flag is supplied. Test is too resource intensive
under normal valgrind runs (takes more than 30min on powerful
hardware).

mysql-test/include/no_valgrind_without_big.inc:
  Add MTR prerequisite file by Matthias Leich.
mysql-test/suite/funcs_1/t/myisam_views.test:
  Test is too resource intensive under "Valgrind".
2009-06-09 11:36:14 -03:00

31 lines
826 B
Text

#### suite/funcs_1/t/myisam_views.test
--source include/no_valgrind_without_big.inc
# MyISAM tables should be used
#
# Set $engine_type
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
let $engine_type= myisam;
# 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;
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
DROP DATABASE test1;
DROP TABLE test.tb2;