From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Thu, 29 Nov 2018 13:45:42 +0300 From: Vladimir Davydov Subject: Re: [tarantool-patches] [PATCH v3 1/7] box: store sql text and length in sql_request Message-ID: <20181129104542.dz5cg4xxbfdgotw6@esperanza> References: <58aa507b0bcb6bb884c1247c0b1ee52ffc0938b2.1543344471.git.imeevma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <58aa507b0bcb6bb884c1247c0b1ee52ffc0938b2.1543344471.git.imeevma@gmail.com> To: imeevma@tarantool.org Cc: v.shpilevoy@tarantool.org, tarantool-patches@freelists.org List-ID: On Tue, Nov 27, 2018 at 10:25:18PM +0300, imeevma@tarantool.org wrote: > Refactored sql_request structure to store pointer to sql string > data and it's length instead of pointer to msgpack > representation. > This is required to use this structure in sql.c where the query > has a different semantics and can be obtained from stack as a C > string. > > Needed for #3505. > --- > src/box/execute.c | 6 +++--- > src/box/execute.h | 2 ++ > 2 files changed, 5 insertions(+), 3 deletions(-) This one is trivial, pushed to 2.1.