mirror of
https://github.com/MariaDB/server.git
synced 2025-04-12 02:05:34 +02:00
MDEV-9363 - Mroonga tests with datetime field fail on Solaris in buildbot
On Solaris mktime() adds one extra day to tm_mday field and returns appropriate value for dates 1600-01-01 and earlier. That is 1600-01-01 becomes 1600-01-02. Solaris mktime manual excerpts: ... The tm_year member must be for year 1901 or later. Calendar times before 20:45:52 UTC, December 13, 1901 or after 03:14:07 UTC, January 19, 2038 cannot be represented. Port- able applications should not try to create dates before 00:00:00 UTC, January 1, 1970 or after 00:00:00 UTC, January 1, 2038. ... The mktime() function assumes Gregorian dates. Times before the adoption of the Gregorian calendar will not match his- torial records. ... According to manual Mroonga only supports dates and datetimes after 1900: https://mariadb.com/kb/en/mariadb/about-mroonga/ Technically these tests cover unsupported values and should fail on all platforms. Disable tests until the problem is fixed upstream.
This commit is contained in:
parent
ecb27d2650
commit
ae511cbe38
8 changed files with 10 additions and 0 deletions
storage/mroonga/mysql-test/mroonga
include/mroonga
storage/t
column_datetime_64bit_before_unix_epoch.testindex_multiple_column_unique_date_64bit_equal.testindex_multiple_column_unique_date_order_64bit_asc.testindex_multiple_column_unique_date_order_64bit_desc.testindex_multiple_column_unique_datetime_index_read.testindex_multiple_column_unique_datetime_order_asc.testindex_multiple_column_unique_datetime_order_desc.test
|
@ -0,0 +1,3 @@
|
|||
if (`SELECT @@version_compile_os='solaris10'`) {
|
||||
skip This test is not for Solaris 10;
|
||||
}
|
|
@ -17,6 +17,7 @@
|
|||
|
||||
--source ../../include/mroonga/skip_freebsd.inc
|
||||
--source ../../include/mroonga/skip_osx.inc
|
||||
--source ../../include/mroonga/skip_solaris10.inc
|
||||
--source ../../include/mroonga/have_64bit.inc
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
--source ../../include/mroonga/skip_freebsd.inc
|
||||
--source ../../include/mroonga/skip_osx.inc
|
||||
--source ../../include/mroonga/skip_solaris10.inc
|
||||
--source ../../include/mroonga/have_64bit.inc
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
--source ../../include/mroonga/skip_freebsd.inc
|
||||
--source ../../include/mroonga/skip_osx.inc
|
||||
--source ../../include/mroonga/skip_solaris10.inc
|
||||
--source ../../include/mroonga/have_64bit.inc
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
--source ../../include/mroonga/skip_freebsd.inc
|
||||
--source ../../include/mroonga/skip_osx.inc
|
||||
--source ../../include/mroonga/skip_solaris10.inc
|
||||
--source ../../include/mroonga/have_64bit.inc
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
--source ../../include/mroonga/have_64bit.inc
|
||||
--source ../../include/mroonga/skip_freebsd.inc
|
||||
--source ../../include/mroonga/skip_osx.inc
|
||||
--source ../../include/mroonga/skip_solaris10.inc
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
--disable_warnings
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
--source ../../include/mroonga/skip_freebsd.inc
|
||||
--source ../../include/mroonga/skip_osx.inc
|
||||
--source ../../include/mroonga/skip_solaris10.inc
|
||||
--source ../../include/mroonga/have_64bit.inc
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
--source ../../include/mroonga/skip_freebsd.inc
|
||||
--source ../../include/mroonga/skip_osx.inc
|
||||
--source ../../include/mroonga/skip_solaris10.inc
|
||||
--source ../../include/mroonga/have_64bit.inc
|
||||
--source ../../include/mroonga/have_mroonga.inc
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue