From 316ddf9e01ff6c360b5d2b46ddbf63d02c1ace63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D0=B5=D0=BE=D0=BD=D0=B8=D0=B4=20=D0=AE=D1=80=D1=8C?= =?UTF-8?q?=D0=B5=D0=B2=20=28Leonid=20Yuriev=29?= Date: Tue, 16 Aug 2022 11:08:04 +0300 Subject: [PATCH] mdbx: fix typo in `MDBX_EINVAL` which breaks MingGW builds with CLANG. --- src/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core.c b/src/core.c index 164be24b..a8d57100 100644 --- a/src/core.c +++ b/src/core.c @@ -15253,7 +15253,7 @@ int mdbx_cursor_get_batch(MDBX_cursor *mc, size_t *count, MDBX_val *pairs, break; default: mdbx_debug("unhandled/unimplemented cursor operation %u", op); - rc = EINVAL; + rc = MDBX_EINVAL; break; }