[tarantool-patches] Re[2]: [tarantool-patches] [PATCH v5 0/3] sql: refactor SQL Parser structures

Kirill Shcherbatov kshcherbatov at tarantool.org
Fri May 11 22:40:11 MSK 2018


>On 11/05/2018 11:49, Kirill Shcherbatov wrote:
>> Branch:  http://github.com/tarantool/tarantool/tree/gh-3272-no-sql-names
>> Issue:  https://github.com/tarantool/tarantool/issues/3272
>
>Hello. Describe the changes here, and why they are needed.

Refactored SQL Column and Table structures to use space_def instead of native fields.
All temporal memory is allocated on region to prevent memory leaks and easely manage memory
with frequent insertions on SQL expression parsing.
Introduced space_def pointer in Expr instead of Table pointer.
The ResolveSelfReference function requires Table pointer to refer to, but it doesn't exist in our scenarios yet.
With correctly-initialized consistent space_def structure this would no problem.
This preliminary tasks should make able to move SQL Checks in Server code.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20180511/f14eaf1e/attachment.html>


More information about the Tarantool-patches mailing list