[tarantool-patches] Re: [PATCH] sql: increment rowcount of FK alteration

Kirill Yukhin kyukhin at tarantool.org
Fri Apr 12 17:17:24 MSK 2019


Hello,

On 10 апр 16:27, Nikita Pettik wrote:
> Before this patch SQL statement which involves FK constraints creation
> or drop didn't increment rowcount:
> 
> box.execute("ALTER TABLE t ADD CONSTRAINT fk1 FOREIGN KEY (b) REFERENCES parent (a);")
> ---
> - rowcount: 0
> ...
> 
> This patch fixes this misbehaviour: accidentally VDBE was forgotten to
> enable counting changes during ALTER TABLE ADD/DROP constraint.
> 
> Closes #4130
> ---
> Branch: https://github.com/tarantool/tarantool/issues/4130
> Issue: https://github.com/tarantool/tarantool/tree/np/gh-4130-increment-row-count-on-fk-alteration

I've checked your patch into master & 2.1 branch.

--
Regards, Kirill Yukhin




More information about the Tarantool-patches mailing list