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 0F4AF203E1 for ; Mon, 16 Jul 2018 10:45:47 -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 EnWi1ikJftLN for ; Mon, 16 Jul 2018 10:45:46 -0400 (EDT) Received: from smtp61.i.mail.ru (smtp61.i.mail.ru [217.69.128.41]) (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 6BC4420072 for ; Mon, 16 Jul 2018 10:45:46 -0400 (EDT) Date: Mon, 16 Jul 2018 17:45:44 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH v1 1/1] sql: disallow division by zero Message-ID: <20180716144543.kzzbnk22bvhbjphk@tarantool.org> References: <2635b57f7537de386915fcac4d3fa6e10255f87a.1531394137.git.kshcherbatov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2635b57f7537de386915fcac4d3fa6e10255f87a.1531394137.git.kshcherbatov@tarantool.org> 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, Kirill Shcherbatov Hello, On 12 июл 14:16, Kirill Shcherbatov wrote: > Dissallowed division by zero in SQL to follow ANSI standard. > This also affects some unobvious scenarios when divider indirectly > casts to zero like > SELECT 'word1' / 'word2'; > > Closes #2135. > --- > https://github.com/tarantool/tarantool/compare/kshch/gh-2135-dissallow-div-by-zero > https://github.com/tarantool/tarantool/issues/2135 I've checked the patch into 2.0 branch. -- Thanks, Kirill Yukhin