[Groonga-commit] groonga/grnxx at fb8df38 [master] Fix a bug of BITWISE_NOT operator. (#37)

Zurück zum Archiv-Index

susumu.yata null+****@clear*****
Mon Aug 18 16:09:22 JST 2014


susumu.yata	2014-08-18 16:09:22 +0900 (Mon, 18 Aug 2014)

  New Revision: fb8df3833258283518414704c67a9d81be2d74fe
  https://github.com/groonga/grnxx/commit/fb8df3833258283518414704c67a9d81be2d74fe

  Message:
    Fix a bug of BITWISE_NOT operator. (#37)

  Modified files:
    lib/grnxx/expression.cpp

  Modified: lib/grnxx/expression.cpp (+1 -1)
===================================================================
--- lib/grnxx/expression.cpp    2014-08-18 15:55:40 +0900 (81f8fba)
+++ lib/grnxx/expression.cpp    2014-08-18 16:09:22 +0900 (4a4a7e0)
@@ -743,7 +743,7 @@ bool BitwiseNotNode<Bool>::filter(Error *error,
   }
   Int count = 0;
   for (Int i = 0; i < input_records.size(); ++i) {
-    if (arg_values_[i]) {
+    if (!arg_values_[i]) {
       output_records->set(count, input_records.get(i));
       ++count;
     }
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index