mirror of
https://github.com/appy-one/acebase.git
synced 2026-05-24 22:01:13 -06:00
[GH-ISSUE #110] Max storage recordSize and/or pageSize (65536) not working #61
Labels
No labels
IndexedDB
browser
bug
dependencies
documentation
duplicate
enhancement
feature request
indexes
indexes
invalid
pull-request
query
question
transaction logging
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @appy-one on GitHub (May 25, 2022).
Original GitHub issue: https://github.com/appy-one/acebase/issues/110
Originally assigned to: @appy-one on GitHub.
When setting the
recordSizeorpageSizeto the max of 65536 (216) in thestoragesettings, the created db doesn't work. Because the value 216 requires a 17th bit to store 1 followed by 16 zeroes, the settings written to the file are 16 bit and become 0. Because a recordSize of 0 does not store any data, this is a very quick dead end.To fix this I will be treating a recordSize and/or pageSize of 0 in the file as the max of 65536.
@appy-one commented on GitHub (May 26, 2022):
Fix has been published in v1.20.0