Kouhei Sutou
null+****@clear*****
Fri Feb 16 17:42:59 JST 2018
Kouhei Sutou 2018-02-16 17:42:59 +0900 (Fri, 16 Feb 2018) New Revision: 63e363980ae9eef8fed591d9fd667f9fe2294183 https://github.com/groonga/groonga/commit/63e363980ae9eef8fed591d9fd667f9fe2294183 Message: Stop to expire cache on database close Modified files: lib/db.c Modified: lib/db.c (+0 -5) =================================================================== --- lib/db.c 2018-02-16 17:26:52 +0900 (6ec22588d) +++ lib/db.c 2018-02-16 17:42:59 +0900 (a77011ff7) @@ -492,11 +492,6 @@ grn_db_close(grn_ctx *ctx, grn_obj *db) GRN_FREE(s); if (ctx_used_db) { - grn_cache *cache; - cache = grn_cache_current_get(ctx); - if (cache) { - grn_cache_expire(cache, -1); - } ctx->impl->db = NULL; } -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180216/8cc6e541/attachment.htm