Kouhei Sutou
null+****@clear*****
Mon Nov 19 22:13:12 JST 2012
Kouhei Sutou 2012-11-19 22:13:12 +0900 (Mon, 19 Nov 2012) New Revision: fc3eec8a10e28bf77ae3358f398a27db6446c884 https://github.com/mroonga/mroonga/commit/fc3eec8a10e28bf77ae3358f398a27db6446c884 Log: test: Use "check_" prefix for just define variable include have_mariadb -> check_mariadb have_*.inc should determine whether skip or not. Modified files: test/sql/include/have_fractional_seconds.inc Renamed files: test/sql/include/check_mariadb.inc (from test/sql/include/have_mariadb.inc) Renamed: test/sql/include/check_mariadb.inc (+1 -1) 92% =================================================================== --- test/sql/include/have_mariadb.inc 2012-11-19 22:11:17 +0900 (f36b525) +++ test/sql/include/check_mariadb.inc 2012-11-19 22:13:12 +0900 (13b2f34) @@ -15,5 +15,5 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA --disable_query_log -let $have_mariadb = `SELECT LOCATE('MariaDB', @@global.version) > 0`; +let $mariadb = `SELECT LOCATE('MariaDB', @@global.version) > 0`; --enable_query_log Modified: test/sql/include/have_fractional_seconds.inc (+3 -3) =================================================================== --- test/sql/include/have_fractional_seconds.inc 2012-11-19 22:11:17 +0900 (035848e) +++ test/sql/include/have_fractional_seconds.inc 2012-11-19 22:13:12 +0900 (e9b267c) @@ -14,14 +14,14 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ---source include/have_mariadb.inc +--source include/check_mariadb.inc --source include/check_version.inc -if ($have_mariadb) { +if ($mariadb) { let $fractional_seconds = 1; } -if (!$have_mariadb) { +if (!$mariadb) { if ($version_56) { let $fractional_seconds = `SELECT @@global.version >= '5.6'`; } -------------- next part -------------- HTML����������������������������... ダウンロード