|
|
@ -1790,7 +1790,7 @@ mdb_page_alloc(MDB_cursor *mc, int num, MDB_page **mp) |
|
|
|
#else |
|
|
|
#else |
|
|
|
enum { Paranoid = 0, Max_retries = INT_MAX /*infinite*/ }; |
|
|
|
enum { Paranoid = 0, Max_retries = INT_MAX /*infinite*/ }; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
int rc, retry = num; |
|
|
|
int rc, retry = num * 20; |
|
|
|
MDB_txn *txn = mc->mc_txn; |
|
|
|
MDB_txn *txn = mc->mc_txn; |
|
|
|
MDB_env *env = txn->mt_env; |
|
|
|
MDB_env *env = txn->mt_env; |
|
|
|
pgno_t pgno, *mop = env->me_pghead; |
|
|
|
pgno_t pgno, *mop = env->me_pghead; |
|
|
|