From 19d877635c9a9a25e1d3c32728c393a396621c32 Mon Sep 17 00:00:00 2001 From: Leo Yuriev Date: Mon, 24 Apr 2017 15:50:43 +0300 Subject: [PATCH] mdbx: alter db-file extensions. --- src/mdbx.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mdbx.c b/src/mdbx.c index 319804e5..8052b351 100644 --- a/src/mdbx.c +++ b/src/mdbx.c @@ -3900,11 +3900,11 @@ static int __cold mdbx_env_setup_locks(MDB_env *env, char *lpath, int mode, } /** The name of the lock file in the DB environment */ -#define LOCKNAME "/lock.mdb" +#define LOCKNAME "/mdbx.lck" /** The name of the data file in the DB environment */ -#define DATANAME "/data.mdb" +#define DATANAME "/mdbx.dat" /** The suffix of the lock file when no subdir is used */ -#define LOCKSUFF "-lock" +#define LOCKSUFF "-lck" /** Only a subset of the @ref mdbx_env flags can be changed * at runtime. Changing other flags requires closing the * environment and re-opening it with the new flags.