Skip to content

[1pt] Seems that error can be ignored in some cases of crud.select  #144

@filonenko-mikhail

Description

@filonenko-mikhail

There is tuple iteration
And here we first check tuple and than error.

https://github.com/tarantool/crud/blob/master/crud/select/compat/select_old.lua#L211

In other places it's done better way:

        local tuple, err = iter:get()
        if err ~= nil then
            return nil, SelectError:new("Failed to get next object: %s", err)
        end

        if tuple == nil then
            break
        end

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions