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 BE78E29E2F for ; Fri, 22 Mar 2019 11:42:07 -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 bydHOh9rYL3B for ; Fri, 22 Mar 2019 11:42:07 -0400 (EDT) Received: from smtp18.mail.ru (smtp18.mail.ru [94.100.176.155]) (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 7551B29AD2 for ; Fri, 22 Mar 2019 11:42:07 -0400 (EDT) Date: Fri, 22 Mar 2019 18:42:00 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH v9 1/7] sql: add column name to SQL change counter Message-ID: <20190322154200.GC6548@chai> References: <91377288d30073890542a444ae00dfe00200971d.1553251042.git.imeevma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <91377288d30073890542a444ae00dfe00200971d.1553251042.git.imeevma@gmail.com> 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: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org * imeevma@tarantool.org [19/03/22 13:57]: The patch is OK to push. > +cn:execute("INSERT INTO t1 VALUES (1), (2), (3);") > +--- > +- metadata: > + - name: rows inserted > + type: INTEGER > + rows: > + - [3] > +... > +cn:execute("REPLACE INTO t1 VALUES (2), (3), (4), (5);") > +--- > +- metadata: > + - name: rows inserted Why rows inserted, not rows replaced? > + type: INTEGER > + rows: > + - [4] > +... > +cn:execute("UPDATE t1 SET id = id + 100 WHERE id > 10;") > +--- > +- metadata: > + - name: rows updated > + type: INTEGER > + rows: > + - [0] > +... -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov