mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 22:12:30 +01:00
7a22a8a965
Have changed the DATA/INDEX dir to not be a database dir. (and made some changes for better result files.) mysql-test/suite/parts/inc/partition_basic_symlink.inc: Bug#35306: partition_basic_symlink test failures after bug 32167 it is not allowed with DATA/INDEX DIR in any database directory. remade the inc-files to make better use of each other (less duplicate tests) mysql-test/suite/parts/inc/partition_directory.inc: Removed disable/enable_query_log for better result files mysql-test/suite/parts/inc/partition_layout_check1.inc: changed DATA/INDEX DIR mysql-test/suite/parts/inc/partition_layout_check2.inc: added check with_directories mysql-test/suite/parts/inc/partition_methods1.inc: Removed disable/enable_query_log for better result files mysql-test/suite/parts/inc/partition_methods2.inc: Removed disable/enable_query_log for better result files Added with_directories for testing of DATA/INDEX DIR mysql-test/suite/parts/r/partition_basic_innodb.result: Updated test result due to test case changes mysql-test/suite/parts/r/partition_basic_myisam.result: Updated test result due to test case changes mysql-test/suite/parts/r/partition_basic_symlink_innodb.result: Updated test result due to test case changes mysql-test/suite/parts/r/partition_basic_symlink_myisam.result: Updated test result due to test case changes mysql-test/suite/parts/t/disabled.def: Bug#35306: parts.partition_basic_symlink test failures Enable the test again since the have been fixed mysql-test/suite/parts/t/partition_basic_innodb.test: Added check for table files. mysql-test/suite/parts/t/partition_basic_myisam.test: removing dependency of symlink (test exists now in parts.partition_basic_symlink_myisam) mysql-test/suite/parts/t/partition_basic_symlink_innodb.test: Bug#35306: partition_basic_symlink test failures Removed old test (since DATA/INDEX DIRECTORY is not supported in InnoDB) and replaced it with a simple test that altering a partitioned innodb with DATA/INDEX DIR to MyISAM, would use the DATA/INDEX DIR.
44 lines
2.2 KiB
PHP
44 lines
2.2 KiB
PHP
################################################################################
|
|
# inc/partition_basic_symlink.inc #
|
|
# #
|
|
# Purpose: #
|
|
# Basic tests around create partitioned table with/without PRIMARY KEY and #
|
|
# /or UNIQUE INDEX #
|
|
# Also includes test for DATA/INDEX DIR which requires symlinked files #
|
|
# #
|
|
#------------------------------------------------------------------------------#
|
|
# Original Author: mleich #
|
|
# Original Date: 2006-03-05 #
|
|
# Change Author: mattiasj #
|
|
# Change Date: 2008-02-06 #
|
|
# Change: copied it from partition_basic.inc and kept DATA/INDEX DIR #
|
|
################################################################################
|
|
--enable_abort_on_error
|
|
|
|
--echo
|
|
let $unique= ;
|
|
|
|
# DATA DIRECTORY
|
|
# Make directory for partition data
|
|
let $data_dir_path= $MYSQLTEST_VARDIR/mysql-test-data-dir;
|
|
--mkdir $data_dir_path
|
|
let $data_directory= DATA DIRECTORY = '$data_dir_path';
|
|
|
|
#INDEX DIRECTORY
|
|
# Make directory for partition index
|
|
let $idx_dir_path= $MYSQLTEST_VARDIR/mysql-test-idx-dir;
|
|
--mkdir $idx_dir_path
|
|
let $index_directory= INDEX DIRECTORY = '$idx_dir_path';
|
|
|
|
let $with_directories= 1;
|
|
--echo #========================================================================
|
|
--echo # 0.5 use partition_basic with DATA/INDEX DIRECTORY
|
|
--echo #========================================================================
|
|
--source suite/parts/inc/partition_basic.inc
|
|
--echo #========================================================================
|
|
--echo # 5 use partition_directory with DATA/INDEX DIRECTORY
|
|
--echo #========================================================================
|
|
--source suite/parts/inc/partition_directory.inc
|
|
--rmdir $data_dir_path
|
|
--rmdir $idx_dir_path
|
|
let $with_directories= 0;
|