mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
mdbx: fix minor typo.
Change-Id: I02ab17d1867e8b1a0b9ef971c9922688eca9dc7c
This commit is contained in:
parent
1f301e7e6f
commit
ea353471d5
@ -16343,7 +16343,7 @@ static int mdbx_dbi_bind(MDBX_txn *txn, const MDBX_dbi dbi, unsigned user_flags,
|
||||
* = assume that a properly create request with custom flags;
|
||||
*/
|
||||
if ((user_flags ^ txn->mt_dbs[dbi].md_flags) & PERSISTENT_FLAGS) {
|
||||
/* flags ara differs, check other conditions */
|
||||
/* flags are differs, check other conditions */
|
||||
if ((!user_flags && (!keycmp || keycmp == txn->mt_dbxs[dbi].md_cmp) &&
|
||||
(!datacmp || datacmp == txn->mt_dbxs[dbi].md_dcmp)) ||
|
||||
user_flags == MDBX_ACCEDE) {
|
||||
|
Loading…
Reference in New Issue
Block a user