mirror of
https://github.com/isar/libmdbx.git
synced 2025-01-04 18:54:13 +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();
|
osal_yield();
|
||||||
if (retry > 0)
|
if (retry > 0)
|
||||||
osal_udelay(retry * 100);
|
osal_udelay(retry * 100);
|
||||||
return 1 /* always retry */;
|
return 0 /* always retry */;
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user