From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp21.mail.ru (smtp21.mail.ru [94.100.179.250]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id BF7A742F4AD for ; Fri, 19 Jun 2020 11:51:11 +0300 (MSK) Date: Fri, 19 Jun 2020 11:50:23 +0300 From: Alexander Turenko Message-ID: <20200619085023.oskyxfjp6i2atjzo@tkn_work_nb> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Subject: Re: [Tarantool-patches] [PATCH v2 2/3] merger: clean fiber-local Lua stack after next() List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vladislav Shpilevoy , Igor Munkin Cc: tarantool-patches@dev.tarantool.org > diff --git a/test/box-tap/check_merge_source.c b/test/box-tap/check_merge_source.c > new file mode 100644 > index 000000000..8247f9df3 > --- /dev/null > +++ b/test/box-tap/check_merge_source.c > @@ -0,0 +1,108 @@ > +#include /* lua_*() */ > +#include /* struct luaL_Reg */ > +#include "lib/core/diag.h" /* struct error, diag_*() */ > +#include "fiber.h" /* fiber_self() */ > +#include "lua/utils.h" /* luaL_checkcdata() */ > +#include "box/merger.h" /* struct merge_source, > + * merge_source_next(), > + * struct tuple (opaque) > + */ Dropped those comments after offline discussion with teammates.