Kentaro Hayashi 2019-02-07 16:31:51 +0900 (Thu, 07 Feb 2019) Revision: f739272e9aa4719f10e730f80426d3459957653e https://github.com/mroonga/mroonga/commit/f739272e9aa4719f10e730f80426d3459957653e Merged d4945fb: Merge pull request #224 from kenhys/fix-travis-test Message: test: follow changed error message Now MariaDB 10.2 or later includes full name of object. See https://jira.mariadb.org/browse/MDEV-14576 Added files: mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/mariadb_10_2_or_later/r/out_of_range.result Copied files: mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/mariadb_10_2_or_later/t/out_of_range.test (from mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/t/out_of_range.test) Modified files: mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/t/out_of_range.test Added: mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/mariadb_10_2_or_later/r/out_of_range.result (+12 -0) 100644 =================================================================== --- /dev/null +++ mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/mariadb_10_2_or_later/r/out_of_range.result 2019-02-07 16:31:51 +0900 (2ed800fc) @@ -0,0 +1,12 @@ +DROP TABLE IF EXISTS diaries; +CREATE TABLE diaries ( +id INT PRIMARY KEY AUTO_INCREMENT, +title TEXT, +created_at DATETIME +) DEFAULT CHARSET UTF8MB4; +INSERT INTO diaries (title, created_at) +VALUES ('2012', '2012'); +ERROR 22007: Incorrect datetime value: '2012' for column `test`.`diaries`.`created_at` at row 1 +SELECT * FROM diaries; +id title created_at +DROP TABLE diaries; Copied: mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/mariadb_10_2_or_later/t/out_of_range.test (+5 -4) 78% =================================================================== --- mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/t/out_of_range.test 2019-02-07 14:40:58 +0900 (b4ef2a25) +++ mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/mariadb_10_2_or_later/t/out_of_range.test 2019-02-07 16:31:51 +0900 (4c9f4e5a) @@ -1,5 +1,6 @@ # Copyright(C) 2012 Kentoku SHIBA # Copyright(C) 2014 Kenji Maruyama <mmmar****@gmail*****> +# Copyright(C) 2019 Kentaro Hayashi <hayas****@clear*****> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public @@ -15,10 +16,10 @@ # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA ---source ../../../../../../include/mroonga/skip_freebsd.inc ---source ../../../../../../include/mroonga/have_signed_64bit_time_t.inc ---source ../../../../../../include/mroonga/have_strict_sql_mode.inc ---source ../../../../../../include/mroonga/have_mroonga.inc +--source ../../../../../../../include/mroonga/skip_freebsd.inc +--source ../../../../../../../include/mroonga/have_signed_64bit_time_t.inc +--source ../../../../../../../include/mroonga/have_mariadb_10_2_or_later.inc +--source ../../../../../../../include/mroonga/have_mroonga.inc --disable_warnings DROP TABLE IF EXISTS diaries; Modified: mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/t/out_of_range.test (+1 -0) =================================================================== --- mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/t/out_of_range.test 2019-02-07 14:40:58 +0900 (b4ef2a25) +++ mysql-test/mroonga/storage/column/datetime/64bit/strict_sql_mode/t/out_of_range.test 2019-02-07 16:31:51 +0900 (39b04f2f) @@ -16,6 +16,7 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA --source ../../../../../../include/mroonga/skip_freebsd.inc +--source ../../../../../../include/mroonga/skip_mariadb_10_2_or_later.inc --source ../../../../../../include/mroonga/have_signed_64bit_time_t.inc --source ../../../../../../include/mroonga/have_strict_sql_mode.inc --source ../../../../../../include/mroonga/have_mroonga.inc -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20190207/33f8b851/attachment-0001.html>