Skip to content
Snippets Groups Projects
Commit 63f76a19 authored by TvoroG's avatar TvoroG Committed by Vladimir Davydov
Browse files

box: add iterator type checking

Return a more meaningful message about a malformed opts to
select, count and pairs methods of index object. Do not fail
with luajit error.

Also allow to pass specific iterator as a box.index.{ALL,...} directly.
For example, `s:pairs(nil, box.index.GT)`.

Fixes #6501

NO_DOC=bug fix

(cherry picked from commit 3a98e079)
parent 0a4554c6
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