[tarantool-patches] Re: [PATCH v3 4/6] sql: fix "PRAGMA case_sensitive_like" result

n.pettik korablev at tarantool.org
Wed Jan 16 18:35:17 MSK 2019


> diff --git a/test/sql/misc.test.lua b/test/sql/misc.test.lua
> index 994e64f..cc31a5d 100644
> --- a/test/sql/misc.test.lua
> +++ b/test/sql/misc.test.lua
> @@ -11,3 +11,16 @@ box.sql.execute(';')
> box.sql.execute('')
> box.sql.execute('     ;')
> box.sql.execute('\n\n\n\t\t\t   ')
> +
> +--
> +-- gh-3832: Some statements do not return column type
> +
> +-- Check that "PRAGMA case_sensitive_like" returns 0 or 1 if
> +-- called without parameter.
> +result = box.sql.execute('PRAGMA case_sensitive_like')
> +-- Should be nothing.
> +box.sql.execute('PRAGMA case_sensitive_like = 1')
> +-- Should be 1.
> +box.sql.execute('PRAGMA case_sensitive_like')
> +-- Should be nothing.

Again: useless comments.
The rest is OK.





More information about the Tarantool-patches mailing list