[Tarantool-patches] [PATCH v1 2/2] sql: always show value in type mismatch error
Kirill Yukhin
kyukhin at tarantool.org
Fri Jun 25 10:27:24 MSK 2021
Hello,
On 24 Jun 13:30, Mergen Imeev via Tarantool-patches wrote:
> diff --git a/src/box/sql/vdbe.c b/src/box/sql/vdbe.c
> -- Check interaction of BOOLEAN and TEXT.
> @@ -5272,124 +5272,124 @@ SELECT a2, d, d OR a2 FROM t6, t9;
> SELECT true > 'abc';
> | ---
> | - null
> - | - 'Type mismatch: can not convert text to boolean'
> + | - 'Type mismatch: can not convert abc to boolean'
Is it possible to quote string values (like you do for varbinary)?
--
Regards, Kirill Yukhin
More information about the Tarantool-patches
mailing list