From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp48.i.mail.ru (smtp48.i.mail.ru [94.100.177.108]) (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 24C0345C304 for ; Fri, 11 Dec 2020 17:50:12 +0300 (MSK) From: Leonid Vasiliev Date: Fri, 11 Dec 2020 17:49:09 +0300 Message-Id: Subject: [Tarantool-patches] [PATCH v2 0/3] Fix working with temporary files in VDBE List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: v.shpilevoy@tarantool.org, imeevma@tarantool.org, korablev@tarantool.org, sergos@tarantool.org, m.semkin@corp.mail.ru Cc: tarantool-patches@dev.tarantool.org https://github.com/tarantool/tarantool/issues/5537 https://github.com/tarantool/tarantool/tree/lvasilev/gh-5537-sql-vdbe-sort-troubles @ChangeLog Fixed possible crash in SQL. A crash could have occurred when multiple instances of the tarantool were runs on the same node and executed a `SELECT` statement with `ORDER BY`, `GROUP BY` clauses with many results.(#5537) Changes in v2: -add common diag_set if sql_execute is failure. Leonid Vasiliev (2): sql: set an error to diag in sql_execute() on failure sql: update temporary file name format Mergen Imeev (1): sql: add missing diag_set on failure when working with files inside SQL module src/box/execute.c | 12 +++++++++++- src/box/sql/os_unix.c | 13 +++++++++---- 2 files changed, 20 insertions(+), 5 deletions(-) -- 2.7.4