Tarantool development patches archive
 help / color / mirror / Atom feed
From: Konstantin Osipov <kostja.osipov@gmail.com>
To: Chris Sosnin <k.sosnin@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH] sql: fix update of a self-referenced table
Date: Tue, 18 Feb 2020 22:11:25 +0300	[thread overview]
Message-ID: <20200218191125.GD20569@atlas> (raw)
In-Reply-To: <20200218175511.55344-1-k.sosnin@tarantool.org>

* Chris Sosnin <k.sosnin@tarantool.org> [20/02/18 20:56]:
> An update of a self-referenced table is not handled correctly:
> if a new row doesn't reference itself, it is considered to violate
> the constraint. This patch makes vdbe to inspect the table on updates
> too with a little change: the row we find should be different from the
> one we are updating.

How is tarantool different from upstream that it needs this fix? 
Why is the bug not present in the upstream (I assume it isn't,
it's quite obvious)?

Did you file a bug in the upstream if it's present in it?


-- 
Konstantin Osipov, Moscow, Russia

      reply	other threads:[~2020-02-18 19:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-18 17:55 Chris Sosnin
2020-02-18 19:11 ` Konstantin Osipov [this message]

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=20200218191125.GD20569@atlas \
    --to=kostja.osipov@gmail.com \
    --cc=k.sosnin@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH] sql: fix update of a self-referenced 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