[Groonga-mysql-commit] mroonga/mroonga [master] Add have_32bit.inc and have_64bit.inc for MariaDB. refs #1644

Back to archive index

Kentoku null+****@clear*****
Fri Mar 22 03:22:50 JST 2013


Kentoku	2013-03-22 03:22:50 +0900 (Fri, 22 Mar 2013)

  New Revision: d738df40be7ab0d11c58860558ddc2fa9f72c4d1
  https://github.com/mroonga/mroonga/commit/d738df40be7ab0d11c58860558ddc2fa9f72c4d1

  Message:
    Add have_32bit.inc and have_64bit.inc for MariaDB. refs #1644

  Added files:
    test/sql/include/have_32bit.inc
    test/sql/include/have_64bit.inc

  Added: test/sql/include/have_32bit.inc (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/sql/include/have_32bit.inc    2013-03-22 03:22:50 +0900 (44908d8)
@@ -0,0 +1,26 @@
+# Copyright(C) 2013 Kentoku SHIBA
+#
+# 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;
+disable_warnings;
+let $VERSION_COMPILE_64BIT=
+  `SELECT IF(@@version_compile_machine like '%64%', 1, 0)`;
+enable_warnings;
+enable_query_log;
+if ($VERSION_COMPILE_64BIT)
+{
+  skip Need a 32 bit machine/binary;
+}

  Added: test/sql/include/have_64bit.inc (+26 -0) 100644
===================================================================
--- /dev/null
+++ test/sql/include/have_64bit.inc    2013-03-22 03:22:50 +0900 (9485a20)
@@ -0,0 +1,26 @@
+# Copyright(C) 2013 Kentoku SHIBA
+#
+# 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;
+disable_warnings;
+let $VERSION_COMPILE_64BIT=
+  `SELECT IF(@@version_compile_machine like '%64%', 1, 0)`;
+enable_warnings;
+enable_query_log;
+if (!$VERSION_COMPILE_64BIT)
+{
+  skip Need a 64 binary;
+}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index