| 1 |
#### suite/funcs_1/t/myisam_views.test |
| 2 |
# Valgrind is to slow for this test |
| 3 |
--source include/not_valgrind.inc |
| 4 |
# because of a pair of slow Solaris Sparc machines in pb2, |
| 5 |
# this test is marked as big: |
| 6 |
--source include/big_test.inc |
| 7 |
--source include/not_msan_with_debug.inc |
| 8 |
|
| 9 |
# MyISAM tables should be used |
| 10 |
# |
| 11 |
# Set $engine_type |
| 12 |
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION'; |
| 13 |
--enable_prepare_warnings |
| 14 |
let $engine_type= myisam; |
| 15 |
|
| 16 |
--source include/test_db_charset_latin1.inc |
| 17 |
|
| 18 |
# Create some objects needed in many testcases |
| 19 |
USE test; |
| 20 |
--source suite/funcs_1/include/myisam_tb2.inc |
| 21 |
--disable_warnings |
| 22 |
DROP DATABASE IF EXISTS test1; |
| 23 |
--enable_warnings |
| 24 |
CREATE DATABASE test1; |
| 25 |
USE test1; |
| 26 |
--source suite/funcs_1/include/myisam_tb2.inc |
| 27 |
USE test; |
| 28 |
|
| 29 |
let $message= Attention: The nesting level @max_level in Testcase 3.3.1.A6 |
| 30 |
(Complicated nested VIEWs) has to be limited to 20 because of |
| 31 |
MyISAM(only) performance issues Bug#11948; |
| 32 |
--source include/show_msg80.inc |
| 33 |
SET @limit1 = 20; |
| 34 |
--disable_prepare_warnings |
| 35 |
--source suite/funcs_1/views/views_master.inc |
| 36 |
|
| 37 |
DROP DATABASE test1; |
| 38 |
DROP TABLE test.tb2; |
| 39 |
|
| 40 |
--source include/test_db_charset_restore.inc |