From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 8 Jul 2019 15:26:26 +0300 From: Konstantin Osipov Subject: Re: [PATCH 5/5] Allow to execute non-yielding DDL statements in transactions Message-ID: <20190708122626.GD11062@atlas> References: <2f4db121e3afe9599172b9a3abf8a48ab47e524b.1562357452.git.vdavydov.dev@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2f4db121e3afe9599172b9a3abf8a48ab47e524b.1562357452.git.vdavydov.dev@gmail.com> To: Vladimir Davydov Cc: tarantool-patches@freelists.org List-ID: * Vladimir Davydov [19/07/05 23:27]: > +box.begin() s:insert{4, 4} s:create_index('sk', {parts = {2, 'unsigned'}}) -- error > +--- > +- error: DDL does not support yielding statements in transactions this message is rather obscure. Let's try to explain it in more plain English. "Even if your engine allows a yield in transaction, yielding in a transaction that has a DDL statement in it is not uspported unless it's the first statement". Is it what you wanted to say? -- Konstantin Osipov, Moscow, Russia