On 16 April 2015 at 10:10, Janke, Julian <julian.janke at capgemini.com> wrote:
> Hi everyone,
>
> I'm relatively new to SQLite and currently I'm experimenting a little bit 
> with the SQLite database on an embedded system.
> I want to change the journal mode of a database to WAL. So I did the 
> following:
>
> rc = sqlite3_open(dbPath, &db);
> rc = sqlite3_exec(db, "PRAGMA journal_mode=WAL;", testCallbackPrint, 0, 
> &zErrMsg);
> [?]
> sqlite3_close(db);
>
> Unfortunately, after these lines, the journal mode is not changed. The 
> sqlite3_exec function returns SQLITE_OK (0),
> testCallbackPrint is never called and the error message is empty.
> Also reading the value of journal mode with ?PRAGMA journal_mode;? leads to 
> the same result (rc=0, callback noch called and error message is empty).

What version of SQLite?

...
>
> Thanks.

Regards,
Smon

Reply via email to