Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org
Cc: Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH 1/3] sql: remove usless #ifdef directives
Date: Tue, 3 Apr 2018 20:23:21 +0300	[thread overview]
Message-ID: <f0ca3f25-2c4f-c357-0f1e-2eccf8116acb@tarantool.org> (raw)
In-Reply-To: <36f222edde4edcd81e544a2c3e83c5b0aef721bd.1522763649.git.korablev@tarantool.org>

Hello. Please consider a single comment: remove SQLITE_OMIT_VIEW from 
mkkeywordhash.c.

Other comments I will give to a next patch version, as we discussed 
verbally.


03.04.2018 17:54, Nikita Pettik пишет:
> Since in our SQL implemetation triggers, foreign keys and views are
> always available, there is no need in #ifdef directives which
> turn them off.
> Removed: SQLITE_OMIT_VIEW, SQLITE_OMIT_TRIGGER, SQLITE_OMIT_FOREIGN_KEY
> defines. Also, removed obsolete compelete.c source file.
> ---
>   src/box/sql/CMakeLists.txt |   1 -
>   src/box/sql/alter.c        |   2 -
>   src/box/sql/attach.c       |   6 -
>   src/box/sql/build.c        |  20 ---
>   src/box/sql/complete.c     | 333 ---------------------------------------------
>   src/box/sql/delete.c       |  18 ---
>   src/box/sql/expr.c         |   5 +-
>   src/box/sql/fkey.c         |   8 --
>   src/box/sql/insert.c       |  15 --
>   src/box/sql/parse.c        | 320 +++++++++++++++++++++----------------------
>   src/box/sql/parse.y        |   7 -
>   src/box/sql/pragma.c       |   8 --
>   src/box/sql/pragma.h       |   8 --
>   src/box/sql/resolve.c      |   3 -
>   src/box/sql/select.c       |  20 ++-
>   src/box/sql/sqliteInt.h    |  39 ------
>   src/box/sql/treeview.c     |   2 -
>   src/box/sql/trigger.c      |   3 -
>   src/box/sql/update.c       |  15 --
>   src/box/sql/vdbe.c         |   5 -
>   src/box/sql/vdbe.h         |   2 -
>   src/box/sql/vdbeInt.h      |   4 -
>   src/box/sql/vdbeaux.c      |   4 -
>   23 files changed, 169 insertions(+), 679 deletions(-)
>   delete mode 100644 src/box/sql/complete.c
>

  reply	other threads:[~2018-04-03 17:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-03 14:54 [tarantool-patches] [PATCH 0/3] Rework VIEW processing Nikita Pettik
2018-04-03 14:54 ` [tarantool-patches] [PATCH 1/3] sql: remove usless #ifdef directives Nikita Pettik
2018-04-03 17:23   ` Vladislav Shpilevoy [this message]
2018-04-03 14:54 ` [tarantool-patches] [PATCH 2/3] sql: add view column aliases to space format Nikita Pettik
2018-04-03 14:54 ` [tarantool-patches] [PATCH 3/3] sql: load SELECT from 'CREATE VIEW ...' string Nikita Pettik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f0ca3f25-2c4f-c357-0f1e-2eccf8116acb@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH 1/3] sql: remove usless #ifdef directives' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox