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

Back to archive index

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


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

  New Revision: 606c9ce1196da88b18fb88c10c0f1408efcf999e
  https://github.com/mroonga/mroonga/commit/606c9ce1196da88b18fb88c10c0f1408efcf999e

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

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

  Copied: test/sql/suite/mroonga/storage/index/multiple_column/unique/year/32bit/r/equal.result (+1 -1) 97%
===================================================================
--- test/sql/suite/mroonga/storage/index/multiple_column/unique/year/r/equal.result    2012-10-25 00:14:11 +0900 (e96754e)
+++ test/sql/suite/mroonga/storage/index/multiple_column/unique/year/32bit/r/equal.result    2012-10-25 00:15:25 +0900 (f2cbd26)
@@ -12,5 +12,5 @@ INSERT INTO ranges VALUES (4, 2155, 1901);
 SELECT * FROM ranges FORCE INDEX(range_key)
 WHERE start = 1901 AND end = 2155;
 id	start	end
-2	1901	2155
+2	1970	2155
 DROP TABLE ranges;

  Copied: test/sql/suite/mroonga/storage/index/multiple_column/unique/year/32bit/t/equal.test (+1 -0) 97%
===================================================================
--- test/sql/suite/mroonga/storage/index/multiple_column/unique/year/t/equal.test    2012-10-25 00:14:11 +0900 (bab0105)
+++ test/sql/suite/mroonga/storage/index/multiple_column/unique/year/32bit/t/equal.test    2012-10-25 00:15:25 +0900 (a3bb488)
@@ -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/year/64bit/r/equal.result (+0 -0) 100%
===================================================================

  Renamed: test/sql/suite/mroonga/storage/index/multiple_column/unique/year/64bit/t/equal.test (+1 -0) 97%
===================================================================
--- test/sql/suite/mroonga/storage/index/multiple_column/unique/year/t/equal.test    2012-10-25 00:14:11 +0900 (bab0105)
+++ test/sql/suite/mroonga/storage/index/multiple_column/unique/year/64bit/t/equal.test    2012-10-25 00:15:25 +0900 (3a92189)
@@ -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