Re: [sqlite] how to set pragma page size before the database has not yet created ?

2010-11-22 Thread Vander Clock Stephane
thanks ! On 11/22/2010 4:23 PM, Igor Tandetnik wrote: > Vander Clock Stephane wrote: >> i want to use the pragma command to setup the page size. however they say : >> "The page size may only be set if the database has not yet been created." >> >> but how to do because as

Re: [sqlite] how to set pragma page size before the database has not yet created ?

2010-11-22 Thread Igor Tandetnik
Vander Clock Stephane wrote: > i want to use the pragma command to setup the page size. however they say : > "The page size may only be set if the database has not yet been created." > > but how to do because as soon as i do sqlite3_open_v2 then the database > is created ?

[sqlite] how to set pragma page size before the database has not yet created ?

2010-11-22 Thread Vander Clock Stephane
Hello, i want to use the pragma command to setup the page size. however they say : "The page size may only be set if the database has not yet been created." but how to do because as soon as i do sqlite3_open_v2 then the database is created ? and to execute the pragma i need connection to the