Fix mismatch of int sizes; move calculation of maximum size of persistent pool to a better location.

This commit is contained in:
counterpoint
2015-07-09 08:37:20 +01:00
parent bccf3d27d6
commit 8376bbf3e6
3 changed files with 3 additions and 4 deletions

View File

@ -2971,6 +2971,7 @@ dcb_persistent_clean_count(DCB *dcb, bool cleanall)
}
persistentdcb = nextdcb;
}
server->persistmax = MAX(server->persistmax, count);
spinlock_release(&server->persistlock);
/** Call possible callback for this DCB in case of close */
while (disposals)