Hiroshi Hatake
null+****@clear*****
Mon Oct 27 21:03:40 JST 2014
Hiroshi Hatake 2014-10-27 21:03:40 +0900 (Mon, 27 Oct 2014) New Revision: cfc9a4de4e9c2c4f217bfc59f28a23a2df77b641 https://github.com/ranguba/rroonga/commit/cfc9a4de4e9c2c4f217bfc59f28a23a2df77b641 Message: contest: support_lzo? always return false Because Groonga >= 4.0.7 does not support LZO compression. Modified files: ext/groonga/rb-grn-context.c Modified: ext/groonga/rb-grn-context.c (+2 -11) =================================================================== --- ext/groonga/rb-grn-context.c 2014-10-28 23:46:10 +0900 (58f011b) +++ ext/groonga/rb-grn-context.c 2014-10-27 21:03:40 +0900 (9d205ab) @@ -673,22 +673,13 @@ rb_grn_context_support_zlib_p (VALUE self) * groongaがLZOサポート付きでビルドされていれば +true+ 、そう * でなければ +false+ を返す。 * + * Groonga >= 4.0.7 ではLZOサポートがなくなった。常にfalseを返す。 * @overload support_lzo? */ static VALUE rb_grn_context_support_lzo_p (VALUE self) { - VALUE rb_support_p; - grn_ctx *context; - grn_obj support_p; - - context = SELF(self); - GRN_BOOL_INIT(&support_p, 0); - grn_obj_get_info(context, NULL, GRN_INFO_SUPPORT_LZO, &support_p); - rb_support_p = CBOOL2RVAL(GRN_BOOL_VALUE(&support_p)); - GRN_OBJ_FIN(context, &support_p); - - return rb_support_p; + return Qfalse; } /* -------------- next part -------------- HTML����������������������������...Télécharger