[Groonga-commit] groonga/grnxx at 5cd4e38 [new_data_types] Fix a bug that LOGICAL_OR returns wrong results. (#106)

Back to archive index

susumu.yata null+****@clear*****
Thu Nov 13 20:00:45 JST 2014


susumu.yata	2014-11-13 20:00:45 +0900 (Thu, 13 Nov 2014)

  New Revision: 5cd4e383ca3f4930fa1c528d1677b00e4cd5dd28
  https://github.com/groonga/grnxx/commit/5cd4e383ca3f4930fa1c528d1677b00e4cd5dd28

  Message:
    Fix a bug that LOGICAL_OR returns wrong results. (#106)

  Modified files:
    lib/grnxx/impl/expression.cpp

  Modified: lib/grnxx/impl/expression.cpp (+1 -0)
===================================================================
--- lib/grnxx/impl/expression.cpp    2014-11-13 19:50:22 +0900 (5d6c875)
+++ lib/grnxx/impl/expression.cpp    2014-11-13 20:00:45 +0900 (3c87519)
@@ -855,6 +855,7 @@ void LogicalOrNode::filter(ArrayCRef<Record> input_records,
       ++count;
     }
   }
+  *output_records = output_records->ref(0, output_count);
 }
 
 void LogicalOrNode::evaluate(ArrayCRef<Record> records,
-------------- next part --------------
HTML����������������������������...
下載 



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