Skip to content

ENODATA under windows does not use the same errno as errno.ENODATA #13

@skinkie

Description

@skinkie

Very strange problem. Under Windows when a dupsort key is not found via SET_RANGE, GET_CURRENT, this currently triggers an errno=38, "Filename too long". Obviously it has nothing to do with a filename, and the same error, at the same position does not trigger under Linux.

It seems that https://github.com/wtdcode/mdbx-py/blob/master/mdbx/mdbx.py#L3065 at this point ret == 38 triggers a not found. But I fail to see why MDBX uses different errno's than specified in Python's errno.

https://github.com/wtdcode/mdbx-py/blob/master/mdbx/mdbx.py#L1045

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions