Skip to content
Snippets Groups Projects
Commit 808839c7 authored by Stanislav Zudin's avatar Stanislav Zudin Committed by Kirill Yukhin
Browse files

sql: allows only positive integer values in the LIMIT clause

VDBE returns an error if LIMIT or OFFSET expressions are casted to
the negative integer value.
If expression in the LIMIT clause can't be converted into integer
without data loss the VDBE instead of SQLITE_MISMATCH returns
SQL_TARANTOOL_ERROR with message "Only positive integers are allowed
in the LIMIT clause". The same for OFFSET clause.

Closes #3467
parent 3313009d
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment