[Groonga-mysql-commit] mroonga/mroonga [master] test: add tests for overflowed DATE value on 32bit environment

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 25 00:14:11 JST 2012


Kouhei Sutou	2012-10-25 00:14:11 +0900 (Thu, 25 Oct 2012)

  New Revision: 38fdb10532dc77ea7ed98d50abf8a2a09d62391d
  https://github.com/mroonga/mroonga/commit/38fdb10532dc77ea7ed98d50abf8a2a09d62391d

  Log:
    test: add tests for overflowed DATE value on 32bit environment

  Copied files:
    test/sql/suite/mroonga/storage/index/multiple_column/unique/date/32bit/r/equal.result
      (from test/sql/suite/mroonga/storage/index/multiple_column/unique/date/r/equal.result)
    test/sql/suite/mroonga/storage/index/multiple_column/unique/date/32bit/t/equal.test
      (from test/sql/suite/mroonga/storage/index/multiple_column/unique/date/t/equal.test)
  Renamed files:
    test/sql/suite/mroonga/storage/index/multiple_column/unique/date/64bit/r/equal.result
      (from test/sql/suite/mroonga/storage/index/multiple_column/unique/date/r/equal.result)
    test/sql/suite/mroonga/storage/index/multiple_column/unique/date/64bit/t/equal.test
      (from test/sql/suite/mroonga/storage/index/multiple_column/unique/date/t/equal.test)

  Copied: test/sql/suite/mroonga/storage/index/multiple_column/unique/date/32bit/r/equal.result (+2 -1) 87%
===================================================================
--- test/sql/suite/mroonga/storage/index/multiple_column/unique/date/r/equal.result    2012-10-25 00:10:56 +0900 (869ced0)
+++ test/sql/suite/mroonga/storage/index/multiple_column/unique/date/32bit/r/equal.result    2012-10-25 00:14:11 +0900 (15c6237)
@@ -12,5 +12,6 @@ INSERT INTO ranges VALUES (4, "9999-12-31", "1000-01-01");
 SELECT * FROM ranges FORCE INDEX(range_key)
 WHERE start = "1000-01-01" AND end = "9999-12-31";
 id	start	end
-2	1000-01-01	9999-12-31
+2	1970-01-01	1970-01-01
+SELECT * FROM ranges FORCE INDEX(range_key)
 DROP TABLE ranges;

  Copied: test/sql/suite/mroonga/storage/index/multiple_column/unique/date/32bit/t/equal.test (+1 -0) 97%
===================================================================
--- test/sql/suite/mroonga/storage/index/multiple_column/unique/date/t/equal.test    2012-10-25 00:10:56 +0900 (bc6f674)
+++ test/sql/suite/mroonga/storage/index/multiple_column/unique/date/32bit/t/equal.test    2012-10-25 00:14:11 +0900 (e4c85ff)
@@ -15,6 +15,7 @@
 # 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/have_32bit.inc
 --source include/have_mroonga.inc
 
 --disable_warnings

  Renamed: test/sql/suite/mroonga/storage/index/multiple_column/unique/date/64bit/r/equal.result (+0 -0) 100%
===================================================================

  Renamed: test/sql/suite/mroonga/storage/index/multiple_column/unique/date/64bit/t/equal.test (+1 -0) 97%
===================================================================
--- test/sql/suite/mroonga/storage/index/multiple_column/unique/date/t/equal.test    2012-10-25 00:10:56 +0900 (bc6f674)
+++ test/sql/suite/mroonga/storage/index/multiple_column/unique/date/64bit/t/equal.test    2012-10-25 00:14:11 +0900 (a71d1d8)
@@ -15,6 +15,7 @@
 # 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/have_64bit.inc
 --source include/have_mroonga.inc
 
 --disable_warnings
-------------- next part --------------
HTML����������������������������...
Download 



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