Although I limit the sqlite database to 32768 (32K), the db file which
retrieved is equal to 470K.

What regrading the operations sequence ? Is it correct to first
initialize the sqlite database and then to execute the PRAGMA
max_page_count command or not?

What can cause this problem?

-Raviv.



-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Igor Tandetnik
Sent: Thursday, February 21, 2008 4:22 PM
To: sqlite-users@sqlite.org
Subject: Re: [sqlite] Execute PRAGMA max_page_count command

"Raviv Shasha" <[EMAIL PROTECTED]> wrote
in message
news:[EMAIL PROTECTED]
> The problem is although I got the zero value (->SQLITE_OK), the sqlite
> database wasn't limited to 32768.

How do you determine this?

Be aware that max_page_count is not persistent, it's a per-connection 
option. Once set, queries executed over the same connection will make 
sure the database doesn't grow over the limit. But other connections, 
unless they also set the pragma, are not so restricted.

Igor Tandetnik 



_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to