[tarantool-patches] Re: [PATCH] sql: refactor SQL cursor to remove write ones
kyukhin at tarantool.org
Thu Oct 4 15:00:35 MSK 2018
On 01 окт 13:31, Kirill Yukhin wrote:
> In Tarantool opening and positioning cursor for writing
> have no sense. So refactor SQL code, to perform:
> - Creation of ephemeral table w/o any cursors machinery.
> No op-code returns register which contains plain pointer
> to the ephemeral space.
> - OpenRead/OpenWrite opcodes were replaced with single
> CursorOpen op-code, which establishes new cursor w/
> intention to sebsequent read from the space. This opcode
> accepts both plain pointer (in P4 operand) and register
> which contains pointer (inn P3) to the ephemeral space.
> This query scheduler and DML routines thoroughly.
> Closes #3182
> Part of #2362
> Branch: https://github.com/tarantool/tarantool/commits/kyukhin/gh-3182-repair-cursors-2
> Issue: https://github.com/tarantool/tarantool/issues/3182
Patch was checked into 2.0 branch.
Regards, Kirill Yukhin
More information about the Tarantool-patches