[Groonga-mysql-commit] mroonga/mroonga at a99fd33 [master] test: remove a needless condition

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Jul 17 22:28:40 JST 2015


Kouhei Sutou	2015-07-17 22:28:40 +0900 (Fri, 17 Jul 2015)

  New Revision: a99fd331e0b8c5354ccfbb8c192339a70184bf2a
  https://github.com/mroonga/mroonga/commit/a99fd331e0b8c5354ccfbb8c192339a70184bf2a

  Message:
    test: remove a needless condition

  Modified files:
    mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/r/less_than.result
    mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/t/less_than.test

  Modified: mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/r/less_than.result (+2 -1)
===================================================================
--- mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/r/less_than.result    2015-07-17 22:18:29 +0900 (80724a8)
+++ mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/r/less_than.result    2015-07-17 22:28:40 +0900 (2cdb3de)
@@ -22,8 +22,9 @@ INSERT INTO items (score1, score2, created_at) VALUES(2, 0, "2015-07-01 12:00:00
 INSERT INTO items (score1, score2, created_at) VALUES(2, 0, "2015-07-02 00:00:00");
 SELECT *
 FROM items
-WHERE score1 = 2 AND created_at < "2015-07-01 12:00:00"
+WHERE created_at < "2015-07-01 12:00:00"
        ORDER BY created_at DESC;
 id	score1	score2	created_at
 2	2	0	2015-07-01 00:00:00
+1	1	0	2015-07-01 00:00:00
 DROP TABLE items;

  Modified: mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/t/less_than.test (+1 -1)
===================================================================
--- mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/t/less_than.test    2015-07-17 22:18:29 +0900 (3ee54d2)
+++ mysql-test/mroonga/storage/index/multiple_column/range/partially_used/no_prefix/t/less_than.test    2015-07-17 22:28:40 +0900 (ebed347)
@@ -36,7 +36,7 @@ INSERT INTO items (score1, score2, created_at) VALUES(2, 0, "2015-07-02 00:00:00
 
 SELECT *
        FROM items
-       WHERE score1 = 2 AND created_at < "2015-07-01 12:00:00"
+       WHERE created_at < "2015-07-01 12:00:00"
        ORDER BY created_at DESC;
 
 DROP TABLE items;
-------------- next part --------------
HTML����������������������������...
Download 



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