Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: Mergen Imeev <imeevma@tarantool.org>,
	tsafin@tarantool.org, tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 4/6] sql: remove mem_apply_type() from OP_MustBeInt
Date: Wed, 10 Jun 2020 00:28:17 +0200	[thread overview]
Message-ID: <c4733a22-9ba5-fb00-9b02-28e11c80f6de@tarantool.org> (raw)
In-Reply-To: <ba928c0c-1781-21d5-d182-30d069f5c2ee@tarantool.org>

Thanks for the patch!

See 2 comments below.

> diff --git a/test/sql-tap/join.test.lua b/test/sql-tap/join.test.lua
> index 840b780a3..51e0ecb79 100755
> --- a/test/sql-tap/join.test.lua
> +++ b/test/sql-tap/join.test.lua
> @@ -1034,7 +1034,6 @@ test:do_execsql_test(
>          SELECT * FROM t1 NATURAL JOIN t2
>      ]], {
>          -- <join-11.9>
> -        "one", "1", "two", "2"
>          -- </join-11.9>
>      })

1. Why does "join-11.10" still work? I see it started failing
in the next commits, but why not here?

> diff --git a/test/sql-tap/tkt-9a8b09f8e6.test.lua b/test/sql-tap/tkt-9a8b09f8e6.test.lua
> index cb5348ab4..854ed774f 100755
> --- a/test/sql-tap/tkt-9a8b09f8e6.test.lua
> +++ b/test/sql-tap/tkt-9a8b09f8e6.test.lua
> @@ -189,7 +189,6 @@ test:do_execsql_test(
>          SELECT x FROM t2 WHERE x IN ('1');
>      ]], {
>          -- <3.3>
> -        1
>          -- </3.3>
>      })
> 
> @@ -199,7 +198,6 @@ test:do_execsql_test(
>          SELECT x FROM t2 WHERE x IN ('1');
>      ]], {
>          -- <3.4>
> -        1
>          -- </3.4>
>      })
> 
> @@ -229,7 +227,6 @@ test:do_execsql_test(
>          SELECT x FROM t2 WHERE '1' IN (x);
>      ]], {
>          -- <3.7>
> -        1
>          -- </3.7>
>      })
> 
> @@ -239,7 +236,6 @@ test:do_execsql_test(
>          SELECT x FROM t2 WHERE '1' IN (x);
>      ]], {
>          -- <3.8>
> -        1
>          -- </3.8>

2. 3.7 and 3.8 are absolutely the same. Maybe better to drop
one of them. The same about 3.4 <-> 3.3.

  reply	other threads:[~2020-06-09 22:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-28 14:17 [Tarantool-patches] [PATCH 0/6] Remove implicit cast Mergen Imeev
2020-05-28 14:17 ` [Tarantool-patches] [PATCH 1/6] sql: remove implicit cast for assignment Mergen Imeev
2020-06-01 17:03   ` Vladislav Shpilevoy
2020-06-09 11:41     ` Mergen Imeev
2020-06-09 22:28       ` Vladislav Shpilevoy
2020-05-28 14:17 ` [Tarantool-patches] [PATCH 2/6] sql: remove mem_apply_type() from OP_MakeRecord Mergen Imeev
2020-06-01 17:03   ` Vladislav Shpilevoy
2020-06-09 11:43     ` Mergen Imeev
2020-05-28 14:17 ` [Tarantool-patches] [PATCH 3/6] sql: replace ApplyType by CheckType for IN operator Mergen Imeev
2020-05-28 14:17 ` [Tarantool-patches] [PATCH 4/6] sql: remove mem_apply_type() from OP_MustBeInt Mergen Imeev
2020-06-01 17:04   ` Vladislav Shpilevoy
2020-06-09 11:47     ` Mergen Imeev
2020-06-09 22:28       ` Vladislav Shpilevoy [this message]
2020-05-28 14:17 ` [Tarantool-patches] [PATCH 5/6] sql: remove implicit cast from string for comparison Mergen Imeev
2020-06-01 17:04   ` Vladislav Shpilevoy
2020-06-09 11:51     ` Mergen Imeev
2020-06-09 22:29       ` Vladislav Shpilevoy
2020-05-28 14:17 ` [Tarantool-patches] [PATCH 6/6] sql: remove OP_ApplyType Mergen Imeev
2020-06-09 22:29   ` Vladislav Shpilevoy
2020-06-01 17:03 ` [Tarantool-patches] [PATCH 0/6] Remove implicit cast Vladislav Shpilevoy
2020-06-09 11:25   ` Mergen Imeev

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=c4733a22-9ba5-fb00-9b02-28e11c80f6de@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=imeevma@tarantool.org \
    --cc=tarantool-patches@dev.tarantool.org \
    --cc=tsafin@tarantool.org \
    --subject='Re: [Tarantool-patches] [PATCH 4/6] sql: remove mem_apply_type() from OP_MustBeInt' \
    /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