[Groonga-mysql-commit] mroonga/mroonga [master] change test for windows. refs #1691

Back to archive index

Kentoku null+****@clear*****
Sun Mar 31 23:33:18 JST 2013


Kentoku	2013-03-31 23:33:18 +0900 (Sun, 31 Mar 2013)

  New Revision: 0c33da8785c50dabb8da829c1d532b24695d32a2
  https://github.com/mroonga/mroonga/commit/0c33da8785c50dabb8da829c1d532b24695d32a2

  Message:
    change test for windows. refs #1691

  Modified files:
    test/sql/suite/mroonga/storage/column/datetime/32bit/r/2038.result
    test/sql/suite/mroonga/storage/column/set/r/64_with_index.result
    test/sql/suite/mroonga/wrapper/function/r/last_insert_grn_id.result
    test/sql/suite/mroonga/wrapper/function/t/last_insert_grn_id.test

  Modified: test/sql/suite/mroonga/storage/column/datetime/32bit/r/2038.result (+1 -1)
===================================================================
--- test/sql/suite/mroonga/storage/column/datetime/32bit/r/2038.result    2013-03-31 05:43:18 +0900 (c89df1d)
+++ test/sql/suite/mroonga/storage/column/datetime/32bit/r/2038.result    2013-03-31 23:33:18 +0900 (3fea50e)
@@ -19,5 +19,5 @@ VALUES ('2038-01-19 03:14:08', '2038-01-19 03:14:08');
 SELECT * FROM diaries;
 id	title	created_at
 1	2038-01-19 03:14:07	2038-01-19 03:14:07
-2	2038-01-19 03:14:08	1970-01-01 00:00:00
+2	2038-01-19 03:14:08	2038-01-19 03:14:08
 DROP TABLE diaries;

  Modified: test/sql/suite/mroonga/storage/column/set/r/64_with_index.result (+1 -1)
===================================================================
--- test/sql/suite/mroonga/storage/column/set/r/64_with_index.result    2013-03-31 05:43:18 +0900 (5f82a2c)
+++ test/sql/suite/mroonga/storage/column/set/r/64_with_index.result    2013-03-31 23:33:18 +0900 (b4b7468)
@@ -81,7 +81,7 @@ SELECT * FROM items;
 name	colors
 t-shart	black,white,lawn green,dark violet
 hat	white,dark violet,yellow green
-parka	green,brown,lime green
+parka	red,green,brown,lime green
 SELECT * FROM items WHERE colors = "white,dark violet,yellow green";
 name	colors
 hat	white,dark violet,yellow green

  Modified: test/sql/suite/mroonga/wrapper/function/r/last_insert_grn_id.result (+0 -1)
===================================================================
--- test/sql/suite/mroonga/wrapper/function/r/last_insert_grn_id.result    2013-03-31 05:43:18 +0900 (594c33e)
+++ test/sql/suite/mroonga/wrapper/function/r/last_insert_grn_id.result    2013-03-31 23:33:18 +0900 (9edbd3c)
@@ -1,6 +1,5 @@
 DROP TABLE IF EXISTS ids;
 DROP FUNCTION IF EXISTS last_insert_grn_id;
-CREATE FUNCTION last_insert_grn_id RETURNS integer SONAME 'ha_mroonga.so';
 CREATE TABLE ids (
 id int AUTO_INCREMENT PRIMARY KEY
 ) COMMENT='ENGINE "InnoDB"';

  Modified: test/sql/suite/mroonga/wrapper/function/t/last_insert_grn_id.test (+11 -1)
===================================================================
--- test/sql/suite/mroonga/wrapper/function/t/last_insert_grn_id.test    2013-03-31 05:43:18 +0900 (8ec09bd)
+++ test/sql/suite/mroonga/wrapper/function/t/last_insert_grn_id.test    2013-03-31 23:33:18 +0900 (46c60e7)
@@ -1,4 +1,5 @@
 # Copyright(C) 2012 Kouhei Sutou <kou �� clear-code.com>
+# Copyright(C) 2013 Kentoku SHIBA
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -22,7 +23,16 @@ DROP TABLE IF EXISTS ids;
 DROP FUNCTION IF EXISTS last_insert_grn_id;
 --enable_warnings
 
-CREATE FUNCTION last_insert_grn_id RETURNS integer SONAME 'ha_mroonga.so';
+--disable_query_log
+if ($VERSION_COMPILE_OS_WIN)
+{
+  CREATE FUNCTION last_insert_grn_id RETURNS integer SONAME 'ha_mroonga.dll';
+}
+if (!$VERSION_COMPILE_OS_WIN)
+{
+  CREATE FUNCTION last_insert_grn_id RETURNS integer SONAME 'ha_mroonga.so';
+}
+--enable_query_log
 
 CREATE TABLE ids (
   id int AUTO_INCREMENT PRIMARY KEY
-------------- next part --------------
HTML����������������������������...
下載 



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