[tarantool-patches] [PATCH 0/3] sql: implement point where for DELETE stmts
Kirill Yukhin
kyukhin at tarantool.org
Fri Jun 1 18:16:09 MSK 2018
This patches consists of two preparational patches and the
main patch which enables DELETE's from spaces created w/ Lua.
Issue: https://github.com/tarantool/tarantool/issues/3235
Branch: https://github.com/tarantool/tarantool/tree/kyukhin/gh-3235-delete-with-where
Kirill Yukhin (3):
sql: fetch primary index for affinity only
sql: remove expressions from SQL indexes
sql: implement point where for DELETE stmts
src/box/field_def.c | 1 +
src/box/sql.c | 4 +-
src/box/sql/build.c | 63 ++++++-----
src/box/sql/delete.c | 103 +++++++++++------
src/box/sql/expr.c | 12 +-
src/box/sql/insert.c | 105 +++++++++---------
src/box/sql/sqliteInt.h | 63 +++++++++--
src/box/sql/where.c | 251 +++++++++++++++++++++++++++++++-----------
src/box/sql/whereInt.h | 2 +
src/box/sql/wherecode.c | 128 +++++++++++++++------
src/box/sql/whereexpr.c | 36 +-----
test/sql-tap/delete1.test.lua | 24 +++-
12 files changed, 527 insertions(+), 265 deletions(-)
--
2.16.2
More information about the Tarantool-patches
mailing list