I use the version SQLITE_VERSION "3.8.8.3" -----Original Message----- From: sqlite-users-bounces at mailinglists.sqlite.org [mailto:sqlite-users-boun...@mailinglists.sqlite.org] On Behalf Of Simon Davies Sent: Donnerstag, 16. April 2015 11:20 To: General Discussion of SQLite Database Subject: Re: [sqlite] Problems with pragma journal_mode
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 _______________________________________________ sqlite-users mailing list sqlite-users at mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users ________________________________ Firma: Capgemini Deutschland GmbH Aufsichtsratsvorsitzender: Antonio Schnieder ? Gesch?ftsf?hrer: Dr. Michael Schulte (Sprecher) ? Jost F?rster ? Dr. Peter Lempp ? Dr. Volkmar Varnhagen Amtsgericht Berlin-Charlottenburg, HRB 98814 This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.