SQLite Forum

pending lock macro
Login
I believe it's still the same byte, and that when you say to the OS "lock byte 1 billion" and the file is less than that size, then the OS just shrugs and says "ok. If you ever get there it's locked." It does not expand the file out on disk or in memory to be 1 billion bytes just so it can lock byte 1 billion.