[Groonga-commit] groonga/groonga [master] fix wrong OP_GET_VALUE n-args: 2 -> 1. but is it OK???

Back to archive index

null+****@clear***** null+****@clear*****
2011年 3月 13日 (日) 17:52:50 JST


Kouhei Sutou	2011-03-13 08:52:50 +0000 (Sun, 13 Mar 2011)

  New Revision: c325606b9b567937f67598e730f72109ea6a896d

  Log:
    fix wrong OP_GET_VALUE n-args: 2 -> 1. but is it OK???

  Modified files:
    test/unit/core/test-table-select.c

  Modified: test/unit/core/test-table-select.c (+2 -2)
===================================================================
--- test/unit/core/test-table-select.c    2011-03-13 08:50:31 +0000 (b91e4ee)
+++ test/unit/core/test-table-select.c    2011-03-13 08:52:50 +0000 (6d2bdbb)
@@ -244,7 +244,7 @@ test_equal_indexed(void)
   GRN_RECORD_INIT(v, 0, grn_obj_id(&context, docs));
   grn_expr_append_obj(&context, cond, v, GRN_OP_PUSH, 1);
   GRN_TEXT_SETS(&context, &textbuf, "body");
-  grn_expr_append_const(&context, cond, &textbuf, GRN_OP_GET_VALUE, 2);
+  grn_expr_append_const(&context, cond, &textbuf, GRN_OP_GET_VALUE, 1);
   GRN_TEXT_SETS(&context, &textbuf, "hoge");
   grn_expr_append_const(&context, cond, &textbuf, GRN_OP_PUSH, 1);
   grn_expr_append_op(&context, cond, GRN_OP_EQUAL, 2);
@@ -574,7 +574,7 @@ test_match_without_index(void)
   grn_expr_append_obj(&context, cond, v, GRN_OP_PUSH, 1);
   GRN_TEXT_SETS(&context, &textbuf, "body");
   grn_expr_append_const(&context, cond, &textbuf, GRN_OP_PUSH, 1);
-  grn_expr_append_op(&context, cond, GRN_OP_GET_VALUE, 2);
+  grn_expr_append_op(&context, cond, GRN_OP_GET_VALUE, 1);
   GRN_TEXT_SETS(&context, &textbuf, "moge");
   grn_expr_append_const(&context, cond, &textbuf, GRN_OP_PUSH, 1);
   grn_expr_append_op(&context, cond, GRN_OP_MATCH, 2);




Groonga-commit メーリングリストの案内
Back to archive index