[tarantool-patches] Re: [PATCH 2/2] sql: rework 'DROP INDEX' and 'DROP TABLE' handling

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Thu Apr 5 14:20:52 MSK 2018


LGTM.

04.04.2018 21:11, n.pettik пишет:
>
>> On 3 Apr 2018, at 21:27, Vladislav Shpilevoy 
>> <v.shpilevoy at tarantool.org <mailto:v.shpilevoy at tarantool.org>> wrote:
>>
>> See 6 comments below.
>>
>> 03.04.2018 19:14, Nikita Pettik пишет:
>>> As a part of SQL data dictionary integration, 'DROP INDEX' and
>>> 'DROP TABLE' statements proccessing has been refactored in order
>>> to avoid using SQL specific internal structures.
>>> However, triggers still aren't transfered to server, so to drop them
>>> it is required to lookup SQL table and emit apporpriate opcodes.
>>> Also, added comments and fixed codestyle for functions processing
>>> 'DROP' routine.
>>>
>>> Part of #3222.
>>> ---
>>>  src/box/sql/build.c     | 241 
>>> ++++++++++++++++++++++++++----------------------
>>>  src/box/sql/parse.c     |   6 +-
>>>  src/box/sql/parse.y     |   6 +-
>>>  src/box/sql/sqliteInt.h |   6 +-
>>>  4 files changed, 140 insertions(+), 119 deletions(-)





More information about the Tarantool-patches mailing list