Kouhei Sutou
null+****@clear*****
Sun Apr 14 22:52:23 JST 2013
Kouhei Sutou 2013-04-14 22:52:23 +0900 (Sun, 14 Apr 2013) New Revision: 033cd51619e1fe903f4c783815ad9be15f831b7d https://github.com/mroonga/mroonga/commit/033cd51619e1fe903f4c783815ad9be15f831b7d Message: test: split Windows check Added files: test/sql/include/check_windows.inc Modified files: test/sql/include/have_mroonga.inc Added: test/sql/include/check_windows.inc (+20 -0) 100644 =================================================================== --- /dev/null +++ test/sql/include/check_windows.inc 2013-04-14 22:52:23 +0900 (21e6100) @@ -0,0 +1,20 @@ +# Copyright(C) 2013 Kentoku SHIBA +# Copyright(C) 2013 Kouhei Sutou <kou �� clear-code.com> +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2.1 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + +--disable_query_log +let $VERSION_COMPILE_OS_WIN=`SELECT IF(@@version_compile_os like 'Win%', 1, 0)`; +--enable_query_log Modified: test/sql/include/have_mroonga.inc (+2 -2) =================================================================== --- test/sql/include/have_mroonga.inc 2013-04-14 15:56:36 +0900 (b6cd8f5) +++ test/sql/include/have_mroonga.inc 2013-04-14 22:52:23 +0900 (fbf3988) @@ -15,12 +15,12 @@ # 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/check_windows.inc + disable_query_log; if (!`SELECT 1 FROM information_schema.plugins WHERE plugin_name = "mroonga"`) { - let $VERSION_COMPILE_OS_WIN= - `SELECT IF(@@version_compile_os like 'Win%', 1, 0)`; if ($VERSION_COMPILE_OS_WIN) { INSTALL PLUGIN mroonga SONAME 'ha_mroonga.dll'; -------------- next part -------------- HTML����������������������������...Download