[Groonga-commit] groonga/groonga [master] Fixed wrong length count get_identifier().

Back to archive index

null+****@clear***** null+****@clear*****
2010年 8月 2日 (月) 21:22:29 JST


Daijiro MORI	2010-08-02 12:22:29 +0000 (Mon, 02 Aug 2010)

  New Revision: e9aac3eb15c55037c1af58bd2b0464d62100cd17

  Log:
    Fixed wrong length count get_identifier().

  Modified files:
    lib/expr.c

  Modified: lib/expr.c (+1 -0)
===================================================================
--- lib/expr.c    2010-08-02 11:14:44 +0000 (6092b4c)
+++ lib/expr.c    2010-08-02 12:22:29 +0000 (2649c1b)
@@ -4870,6 +4870,7 @@ get_identifier(grn_ctx *ctx, efs_info *q)
     }
   }
 done :
+  len = s - q->cur;
   switch (*q->cur) {
   case 'd' :
     if (len == 6 && !memcmp(q->cur, "delete", 6)) {




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