On 5/18/19, Gravis <[email protected]> wrote: > So would this pseudocode yield the correct address for cell number > "x"? (assuming cell x exists) > > ((page_number - 1) * page_size) + cell_pointer_array[x]
Yes. You seem to be thinking in terms of overall file offsets. We tend to think in terms of offsets within a single page. You should get the same answer in either case, but just know that you are looking at this from a different angle. -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

