[Tarantool-patches] [PATCH v1 1/2] sql: fix comparison in IN with list of values

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Apr 28 01:53:34 MSK 2020


> diff --git a/test/sql-tap/gh-4692-comparison-in-IN-operator.test.lua b/test/sql-tap/gh-4692-comparison-in-IN-operator.test.lua
> new file mode 100755
> index 0000000..14ba7ad
> --- /dev/null
> +++ b/test/sql-tap/gh-4692-comparison-in-IN-operator.test.lua
> @@ -0,0 +1,32 @@
> +#!/usr/bin/env tarantool
> +test = require("sqltester")
> +test:plan(2)
> +
> +--
> +-- If left value of IN and NOT IN operators is not a vector with
> +-- length more that one, make sure that it cannot be compared to

that -> than.


More information about the Tarantool-patches mailing list