mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-30 11:29:19 +08:00
test: fix oom_callback() nasty bug.
This commit is contained in:
parent
f945e8a062
commit
9318e4cabb
@ -104,7 +104,7 @@ int testcase::oom_callback(MDBX_env *env, int pid, mdbx_tid_t tid, uint64_t txn,
|
||||
osal_yield();
|
||||
if (retry > 0)
|
||||
osal_udelay(retry * 100);
|
||||
return 1 /* always retry */;
|
||||
return 0 /* always retry */;
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user