Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
AskAlexSharov committed Dec 22, 2024
1 parent 3b6fa1f commit 0127830
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdbx/error_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func operrno(op string, ret C.int) error {
if ret == C.MDBX_SUCCESS || ret == C.MDBX_RESULT_TRUE {
return nil
}
if ret == C.MDBX_NOTFOUND || int(ret) == int(syscall.ENODATA) {
if ret == C.MDBX_NOTFOUND {
return ErrNotFound
}
if minErrno <= ret && ret <= maxErrno {
Expand Down

0 comments on commit 0127830

Please sign in to comment.