mdbx-windows: устранение регресса ERROR_SHARING_VIOLATION в режиме MDBX_EXCLUSIVE.

Спасибо maxc0d3r@protonmail.com за сообщение о проблеме.
This commit is contained in:
Leonid Yuriev
2023-01-11 21:09:50 +03:00
committed by Леонид Юрьев (Leonid Yuriev)
parent 0159f97e94
commit 9e15bd9b29
3 changed files with 17 additions and 3 deletions

View File

@@ -1160,7 +1160,7 @@ MDBX_INTERNAL_FUNC void osal_ioring_destroy(osal_ioring_t *ior) {
#else
osal_free(ior->pool);
#endif
memset(ior, -1, sizeof(osal_ioring_t));
memset(ior, 0, sizeof(osal_ioring_t));
}
/*----------------------------------------------------------------------------*/