[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#9017) Improving performance of commit sync in Windows



Howard Chu wrote:
> There should be an off64_t type instead.


> But it looks to me like only the env->me_size field could ever overflow,
> and using size_t for that should be fine. The other uses are for the meta page, which is always either offset 0 or
> offset 4096 (with 4KB pagesize), and the lockfile, which is always smaller than 2GB.

Ignore that, I was looking at the 0.9 branch when I wrote that.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/