From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from f275.i.mail.ru (f275.i.mail.ru [217.69.128.243]) (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 92405452566 for ; Sun, 10 Nov 2019 01:52:20 +0300 (MSK) From: =?UTF-8?B?SWx5YSBLb3NhcmV2?= MIME-Version: 1.0 Date: Sun, 10 Nov 2019 01:52:19 +0300 Reply-To: =?UTF-8?B?SWx5YSBLb3NhcmV2?= Message-ID: <1573339939.692166871@f275.i.mail.ru> Content-Type: multipart/alternative; boundary="--ALT--YxVQRhvkma2HSya4DWzm2ydtgKInx6KV1573339939" In-Reply-To: <1573329671.649762688@f148.i.mail.ru> References: <1573329671.649762688@f148.i.mail.ru> Subject: Re: [Tarantool-patches] =?utf-8?q?=5Btarantool-patches=5D_=5BPATCH_v4?= =?utf-8?q?_11/20=5D_refactoring=3A_use_non_=5Fxc_version_of_functions_in_?= =?utf-8?q?triggers?= List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?B?U2VyZ2V5IE9zdGFuZXZpY2g=?= Cc: =?UTF-8?B?dGFyYW50b29sLXBhdGNoZXM=?= , =?UTF-8?B?dGFyYW50b29sLXBhdGNoZXM=?= ----ALT--YxVQRhvkma2HSya4DWzm2ydtgKInx6KV1573339939 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 CkhpIQoKVGhhbmtzIGZvciB5b3VyIHJldmlldy4KWWVzLCBpIGRlZmluaXRlbHkgbWlzc2VkIGRp YWdfc2V0IHdpdGggc2VxdWVuY2VfYnlfaWQuIFdpbGwgYmUgZml4ZWQgaW4gdjUuwqAKCkFsc28g aSB3aWxsIHJlY29uc2lkZXIgY29tYmluaW5nIGNoaWxkICYgcGFyZW50IHNwYWNlIHNlYXJjaC4K U2luY2VyZWx5LApJbHlhIEtvc2FyZXYKCgo+0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