Tarantool development patches archive
 help / color / mirror / Atom feed
From: Kirill Yukhin <kyukhin@tarantool.org>
To: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 1/1] fk: fix wrong sizeof() in fk_constraint_def_sizeof()
Date: Thu, 28 May 2020 10:24:19 +0300	[thread overview]
Message-ID: <20200528072419.ruhexorkw76shs34@tarantool.org> (raw)
In-Reply-To: <e5d37cd5cb5c73992ba15d4de15f2eeddffbe3ed.1590621912.git.v.shpilevoy@tarantool.org>

Hello,

On 28 май 01:25, Vladislav Shpilevoy wrote:
> The function returns a number of bytes needed to store
> an fk_constraint_def object with its name and links.
> However it used sizeof(struct fk_constraint) instead
> of sizeof(struct fk_constraint_def) to calculate
> base object size. This worked only because
> fk_constraint is bigger than fk_constraint_def.
> ---
> Branch: http://github.com/tarantool/tarantool/tree/gerold103/fk_constraint_sizeof

Checked into 2.3, 2.4 and master as obvious.

--
Regards, Kirill Yukhin

      reply	other threads:[~2020-05-28  7:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-27 23:25 Vladislav Shpilevoy
2020-05-28  7:24 ` Kirill Yukhin [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=20200528072419.ruhexorkw76shs34@tarantool.org \
    --to=kyukhin@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 1/1] fk: fix wrong sizeof() in fk_constraint_def_sizeof()' \
    /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