[tarantool-patches] Re: [PATCH v1 1/1] sql: introduce TRUNCATE TABLE operation
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Wed Jul 18 11:31:33 MSK 2018
Hello. I do not see, where do you call box_truncate, and where is a
test that it is called.
On 18/07/2018 11:22, Kirill Shcherbatov wrote:
> As sql_table_delete_from already support OP_Clear fast cleanup
> for non-complex requests we only need to introduce new words
> to parser that call DELETE with NULL conditions.
>
> Closes #2201.
> ---
> Branch: http://github.com/tarantool/tarantool/tree/kshch/gh-2201-truncate-table
> Issue: https://github.com/tarantool/tarantool/issues/2201
>
> extra/mkkeywordhash.c | 1 +
> src/box/sql/parse.y | 9 +++++++++
> test/sql/delete.result | 10 ++++++++++
> test/sql/delete.test.lua | 6 ++++++
> 4 files changed, 26 insertions(+)
>
More information about the Tarantool-patches
mailing list