mirror of
https://github.com/isar/libmdbx.git
synced 2025-08-02 10:44:44 +08:00
mdbx-chk: report switching to non-exclusive/accede mode.
This commit is contained in:
parent
457564c498
commit
0cc52a3cc3
@ -604,8 +604,10 @@ int main(int argc, char *argv[]) {
|
||||
rc == EBUSY || rc == EAGAIN
|
||||
#endif
|
||||
)) {
|
||||
const size_t cookie = print(MDBX_chk_resolution, "Try open in non-exclusive mode...");
|
||||
env_flags &= ~MDBX_EXCLUSIVE;
|
||||
rc = mdbx_env_open(env, envname, env_flags | MDBX_ACCEDE, 0);
|
||||
suffix(cookie, rc ? "failed" : "done");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user