Tarantool development patches archive
 help / color / mirror / Atom feed
From: "i.koptelov" <ivan.koptelov@tarantool.org>
To: tarantool-patches@freelists.org
Cc: "n.pettik" <korablev@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH] sql: remove struct Table
Date: Tue, 12 Feb 2019 16:55:14 +0300	[thread overview]
Message-ID: <FD4FD0DA-DA15-4410-8A8C-BCF3ACC344E3@tarantool.org> (raw)
In-Reply-To: <7CB3BC6E-B4CF-4EE0-BFB7-F5E7CFF89947@tarantool.org>



> On 11 Feb 2019, at 20:58, n.pettik <korablev@tarantool.org> wrote:
> 
> 
>> On 6 Feb 2019, at 20:17, i.koptelov <ivan.koptelov@tarantool.org> wrote:
>> 
>>>> On 1 Feb 2019, at 14:05, Ivan Koptelov<ivan.koptelov@tarantool.org>  wrote:
>>>> 
>>>> Thank you for the review! Sorry for all these code style errors.
>>>> I consider review changes minor, so I put diff b/w first and
>>>> second version of patch at the end of the letter.
>>>> (second commit on the branch 'review fixes' would be squashed)
>>> Don’t do it next time, pls. Instead, inline fixes as an answers to comments,
>>> especially when it comes for huge diff ( 209 insertions(+), 259 deletions(-))
>>> Otherwise, it takes a while to track fixed chunks of code in a whole diff.
>> Sorry for this. All review fixes below is inlined.
> 
> Well, thank you. But don’t put fixes in a separate commit, at least when
> you push your branch to the remote repository. You may *accidentally*
> fail during final commit squashing and no-one will notice that.
> 
> Travis status was entirely negative: It can’t be compiled. 
> You forgot to add forward declaration of space_def.
> I fixed that and a couple of minor issues more. Here is a diff
> (I’ve squashed your commits and pushed on top of your branch).
> 
> Please, check it out. If it is OK, squash them and then patch LGTM.
Thank you for the fixes! Ok, I would not put my fixes in separate commit in future.
I checked out the diff, it’s ok for me except one small issue. I’ve marked
it below.
> 
> diff --git a/src/box/sql/sqliteInt.h b/src/box/sql/sqliteInt.h
> index 874fd682f..1352f6efe 100644
> --- a/src/box/sql/sqliteInt.h
> +++ b/src/box/sql/sqliteInt.h
> @@ -2759,6 +2760,9 @@ struct Parse {
>        TriggerPrg *pTriggerPrg;        /* Linked list of coded triggers */
>        With *pWith;            /* Current WITH clause, or NULL */
>        With *pWithToFree;      /* Free this WITH object at the end of the parse */
> +       /** Space triggers are being coded for. */
> +       struct space *triggered_space;
> +       /** A space being constructed by CREATE TABLE */
Are you sure that this comment (last line) should be here? Is it about all lines below?

>        /**
>         * Number of FK constraints declared within
>         * CREATE TABLE statement.

  reply	other threads:[~2019-02-12 13:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-28  9:54 [tarantool-patches] " Ivan Koptelov
2019-01-29 14:59 ` [tarantool-patches] " n.pettik
2019-02-01 11:05   ` Ivan Koptelov
2019-02-04 19:22     ` n.pettik
2019-02-06 17:17       ` [tarantool-patches] " i.koptelov
2019-02-11 17:58         ` [tarantool-patches] " n.pettik
2019-02-12 13:55           ` i.koptelov [this message]
2019-02-12 14:56             ` n.pettik
2019-02-12 15:07               ` i.koptelov
2019-02-15 14:47 ` Kirill Yukhin

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=FD4FD0DA-DA15-4410-8A8C-BCF3ACC344E3@tarantool.org \
    --to=ivan.koptelov@tarantool.org \
    --cc=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='[tarantool-patches] Re: [PATCH] sql: remove struct Table' \
    /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