Kouhei Sutou
null+****@clear*****
Sun Oct 5 17:40:05 JST 2014
Kouhei Sutou 2014-10-05 17:40:05 +0900 (Sun, 05 Oct 2014) New Revision: 68cb48cb8d299d306fc21350c23f7c18b8fddda7 https://github.com/mroonga/mroonga/commit/68cb48cb8d299d306fc21350c23f7c18b8fddda7 Message: test: enable foreign key test for MariaDB 10.0 GitHub: #3095 It is crashed. Added files: mysql-test/mroonga/include/mroonga/skip_mysql_55.inc Modified files: mysql-test/mroonga/storage/foreign_key/t/create.test Added: mysql-test/mroonga/include/mroonga/skip_mysql_55.inc (+24 -0) 100644 =================================================================== --- /dev/null +++ mysql-test/mroonga/include/mroonga/skip_mysql_55.inc 2014-10-05 17:40:05 +0900 (86bb34f) @@ -0,0 +1,24 @@ +# Copyright(C) 2014 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 + +--source ../../include/mroonga/check_version.inc +--source ../../include/mroonga/check_mariadb.inc + +if ($version_55) { + if (!$mariadb) { + skip This test is not for MySQL 5.5.x; + } +} Modified: mysql-test/mroonga/storage/foreign_key/t/create.test (+2 -8) =================================================================== --- mysql-test/mroonga/storage/foreign_key/t/create.test 2014-10-05 11:37:23 +0900 (4b110ff) +++ mysql-test/mroonga/storage/foreign_key/t/create.test 2014-10-05 17:40:05 +0900 (39e3b66) @@ -14,14 +14,8 @@ # 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/mroonga/have_version_56.inc ---source ../../../include/mroonga/check_mariadb.inc - -if ($mariadb) -{ - skip This test is for MySQL version 5.6.x; -} - +--source ../../../include/mroonga/skip_mysql_55.inc +--source ../../../include/mroonga/skip_mariadb_55.inc --source ../../../include/mroonga/have_mroonga.inc --disable_warnings -------------- next part -------------- HTML����������������������������...Download