mdbx-windows: fix nasty clz() (i.e. using _BitScanReverse() bug.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev)
2022-09-21 14:32:18 +03:00
parent fe20de136c
commit beda291692
2 changed files with 15 additions and 3 deletions

View File

@@ -11,6 +11,7 @@ New:
Fixes:
- Fixed an extra check for `MDBX_APPENDDUP` inside `mdbx_cursor_put()` which could result in returning `MDBX_EKEYMISMATCH` for valid cases.
- Fixed nasty `clz()` bug (by using `_BitScanReverse()`, only MSVC builds affected).
Minors: