SQLite Forum

max page count doesn't return sqlite_full error when reaches the limit of page count
Login
Hi,

I am trying to limit the DB file size using max_page_count on an open connection. 
For the same, I tried the following configurations before the creation of the table:

page_size = 512
max_page_count = 1

Run the vacuum command also to make the changes effective.

As per my understanding, it should return error SQLITE_FULL once 512 bytes are written in DB and I try to insert another byte.

However, I am not getting any such result.
Can anybody help me with that why the page_count parameter is not working as expected?