Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: imeevma@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH v1 1/1] sql: allow to bind DECIMAL values
Date: Thu, 26 Aug 2021 22:51:07 +0200	[thread overview]
Message-ID: <fc33b120-f52a-5629-e38b-d20aa53fe25a@tarantool.org> (raw)
In-Reply-To: <1d3ddbfe02f20123aada9b0e252368310f742bf0.1629989915.git.imeevma@gmail.com>

Thanks for the patch!

See 3 comments below.

> diff --git a/changelogs/unreleased/gh-4717-binding-for-decimal.md b/changelogs/unreleased/gh-4717-binding-for-decimal.md
> new file mode 100644
> index 000000000..9ffd64272
> --- /dev/null
> +++ b/changelogs/unreleased/gh-4717-binding-for-decimal.md
> @@ -0,0 +1,4 @@
> +## feature/sql
> +
> +* Now DECIMAL values can be binded in SQL (gh-4717).

1. binded -> bound.

> diff --git a/src/box/bind.h b/src/box/bind.h
> index 143f010ce..a88cc105b 100644
> --- a/src/box/bind.h
> +++ b/src/box/bind.h
> @@ -40,6 +40,7 @@ extern "C" {
>  #include <stdlib.h>
>  
>  #include "msgpuck.h"
> +#include "lua/decimal.h"

2. Why do you need Lua in the non-Lua folder?

>  #include "uuid/tt_uuid.h"
>  #include "mp_extension_types.h"
>  
> diff --git a/src/box/sql/sqlInt.h b/src/box/sql/sqlInt.h
> index d78076868..5d622bfad 100644
> --- a/src/box/sql/sqlInt.h
> +++ b/src/box/sql/sqlInt.h
> @@ -75,6 +75,7 @@
>  #include "box/sql.h"
>  #include "box/txn.h"
>  #include "trivia/util.h"
> +#include "lua/decimal.h"

3. Ditto.

  reply	other threads:[~2021-08-26 20:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-26 14:59 Mergen Imeev via Tarantool-patches
2021-08-26 20:51 ` Vladislav Shpilevoy via Tarantool-patches [this message]
2021-08-27  8:47   ` Mergen Imeev via Tarantool-patches
2021-08-27 21:32     ` Vladislav Shpilevoy via Tarantool-patches
2021-08-30  5:37       ` Mergen Imeev via Tarantool-patches
2021-08-30 21:26         ` Vladislav Shpilevoy via Tarantool-patches
2021-08-31  8:24 Mergen Imeev via Tarantool-patches
2021-08-31 19:52 ` Timur Safin via Tarantool-patches
2021-09-01  7:11 ` Kirill Yukhin via Tarantool-patches

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=fc33b120-f52a-5629-e38b-d20aa53fe25a@tarantool.org \
    --to=tarantool-patches@dev.tarantool.org \
    --cc=imeevma@tarantool.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH v1 1/1] sql: allow to bind DECIMAL values' \
    /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