[PATCH 5/5] Allow to execute non-yielding DDL statements in transactions
Konstantin Osipov
kostja at tarantool.org
Mon Jul 8 15:26:26 MSK 2019
* Vladimir Davydov <vdavydov.dev at gmail.com> [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
More information about the Tarantool-patches
mailing list