Kouhei Sutou
null+****@clear*****
Mon Aug 19 14:20:25 JST 2013
Kouhei Sutou 2013-08-19 14:20:25 +0900 (Mon, 19 Aug 2013) New Revision: 0752992f80829f09105e46edbfde5433e7eef67f https://github.com/mroonga/mroonga/commit/0752992f80829f09105e46edbfde5433e7eef67f Message: test: don't create a directory in data directory It counfuses INFORMATION_SCHEMA. test/sql/suite/mroonga/storage/information_schema/tables/t/data_length.test was failed by the reason. Modified files: test/sql/suite/mroonga/storage/variable/r/database_path_prefix.result test/sql/suite/mroonga/storage/variable/t/database_path_prefix.test Modified: test/sql/suite/mroonga/storage/variable/r/database_path_prefix.result (+3 -2) =================================================================== --- test/sql/suite/mroonga/storage/variable/r/database_path_prefix.result 2013-08-19 12:22:02 +0900 (5bc6cd3) +++ test/sql/suite/mroonga/storage/variable/r/database_path_prefix.result 2013-08-19 14:20:25 +0900 (2c021b6) @@ -1,7 +1,7 @@ -SET GLOBAL mroonga_database_path_prefix = "mroonga.data/"; +SET GLOBAL mroonga_database_path_prefix = "test/mroonga.data/"; SHOW GLOBAL VARIABLES LIKE 'mroonga_database_path_prefix'; Variable_name Value -mroonga_database_path_prefix mroonga.data/ +mroonga_database_path_prefix test/mroonga.data/ CREATE TABLE counts ( id INT PRIMARY KEY AUTO_INCREMENT ); @@ -10,3 +10,4 @@ SELECT * FROM counts; id 1 DROP TABLE counts; +SET GLOBAL mroonga_database_path_prefix = NULL; Modified: test/sql/suite/mroonga/storage/variable/t/database_path_prefix.test (+4 -2) =================================================================== --- test/sql/suite/mroonga/storage/variable/t/database_path_prefix.test 2013-08-19 12:22:02 +0900 (0928e6a) +++ test/sql/suite/mroonga/storage/variable/t/database_path_prefix.test 2013-08-19 14:20:25 +0900 (baefe83) @@ -17,14 +17,14 @@ --source include/mroonga/have_mroonga.inc --source include/mroonga/have_mroonga_helper.inc -SET GLOBAL mroonga_database_path_prefix = "mroonga.data/"; +SET GLOBAL mroonga_database_path_prefix = "test/mroonga.data/"; SHOW GLOBAL VARIABLES LIKE 'mroonga_database_path_prefix'; CREATE TABLE counts ( id INT PRIMARY KEY AUTO_INCREMENT ); ---file_exists $MYSQLD_DATADIR/mroonga.data/test.mrn +--file_exists $MYSQLD_DATADIR/test/mroonga.data/test.mrn INSERT INTO counts VALUES (NULL); @@ -32,4 +32,6 @@ SELECT * FROM counts; DROP TABLE counts; +SET GLOBAL mroonga_database_path_prefix = NULL; + --source include/mroonga/have_mroonga_deinit.inc -------------- next part -------------- HTML����������������������������...Download