Skip to content

Conversation

@jdarwood007
Copy link
Member

Due to the journal mode changes, it seems that the table doesn't always get created because the file size can be larger than 0. But it still seems to be exactly 4096. Changed the check and added an exists to trying to create the table/index.

Due to the journal mode changes, it seems that the table doesn't always get created because the file size can be larger than 0.  But it still seems to be exactly 4096.
Changed the check and added an exists to trying to create the table/index.
@jdarwood007 jdarwood007 added this to the 3.0 Alpha 5 milestone Nov 22, 2025
@sbulen
Copy link
Contributor

sbulen commented Nov 22, 2025

Looks like mine is 16K...
image

@jdarwood007
Copy link
Member Author

Is that the initial empty file with no tables?

I would have the file created, but no tables, and the file size was reported at 4096. That was the minimum file size, empty with no tables. Its possible this is tied into the block size on the disk, but my linux system says that 512 kb. The sqlite documentation says 512 as well. I'm not sure why I hit this.

You can test by deleting the cache file and see what it recreates to, then check its contents to see if it contains the table and index.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants