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 645402C7F2 for ; Fri, 26 Apr 2019 08:23:22 -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 uTBgLZVgQpCu for ; Fri, 26 Apr 2019 08:23:22 -0400 (EDT) Received: from smtp44.i.mail.ru (smtp44.i.mail.ru [94.100.177.104]) (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 B911B2C7F1 for ; Fri, 26 Apr 2019 08:23:21 -0400 (EDT) From: imeevma@tarantool.org Subject: [tarantool-patches] [PATCH v1 0/3] sql: set errors in VDBE using diag_set() Date: Fri, 26 Apr 2019 15:23:18 +0300 Message-Id: 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: korablev@tarantool.org Cc: tarantool-patches@freelists.org The main purpose of this patch is to make sure that after executing VDBE with an error, diag will be set. https://github.com/tarantool/tarantool/issues/4074 https://github.com/tarantool/tarantool/tree/imeevma/gh-4074-diag_set-in-vdbe Mergen Imeev (3): sql: remove error SQL_INTERRUPT sql: remove error SQL_MISMATCH sql: set errors in VDBE using diag_set() src/box/execute.c | 23 +-- src/box/sql/main.c | 2 - src/box/sql/malloc.c | 4 - src/box/sql/sqlInt.h | 13 -- src/box/sql/tokenize.c | 3 - src/box/sql/vdbe.c | 419 +++++++++++++++--------------------------- src/box/sql/vdbeInt.h | 10 - src/box/sql/vdbeapi.c | 41 +---- src/box/sql/vdbeaux.c | 61 ++---- test/sql-tap/autoinc.test.lua | 2 +- 10 files changed, 171 insertions(+), 407 deletions(-) -- 2.7.4