From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 4557E2BAD3 for ; Thu, 27 Sep 2018 08:39:24 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q30I3KjvvZdr for ; Thu, 27 Sep 2018 08:39:24 -0400 (EDT) Received: from smtp59.i.mail.ru (smtp59.i.mail.ru [217.69.128.39]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 88C982B3C7 for ; Thu, 27 Sep 2018 08:39:23 -0400 (EDT) From: AKhatskevich Subject: [tarantool-patches] [PATCH 1/2] sql: fix typo in MakeRecord memory hint Date: Thu, 27 Sep 2018 15:39:04 +0300 Message-Id: In-Reply-To: References: In-Reply-To: References: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: kyukhin@tarantool.org, tarantool-patches@freelists.org Part of: #2181 Related to: #3021 --- Issue: https://github.com/tarantool/tarantool/issues/3021 src/box/sql/update.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/sql/update.c b/src/box/sql/update.c index 730872fc6..1069f62cb 100644 --- a/src/box/sql/update.c +++ b/src/box/sql/update.c @@ -276,9 +276,9 @@ sqlite3Update(Parse * pParse, /* The parser context */ pPk->def); sqlite3VdbeAddOp4(v, OP_MakeRecord, iPk, pk_part_count, regKey, zAff, pk_part_count); - sqlite3VdbeAddOp2(v, OP_IdxInsert, iEph, regKey); /* Set flag to save memory allocating one by malloc. */ sqlite3VdbeChangeP5(v, 1); + sqlite3VdbeAddOp2(v, OP_IdxInsert, iEph, regKey); } /* End the database scan loop. */ -- 2.14.1