mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-25 15:18:11 +00:00
Fix compilation error
This commit is contained in:
parent
5a629de3de
commit
2cdedebd81
1 changed files with 1 additions and 1 deletions
|
|
@ -635,7 +635,7 @@ static int _linphone_sqlite3_open(const char *db_file, sqlite3 **db) {
|
|||
// Some platforms do not provide a way to create temporary files which are needed
|
||||
// for transactions... so we work in memory only
|
||||
// see http ://www.sqlite.org/compile.html#temp_store
|
||||
ret = sqlite3_exec(db, "PRAGMA temp_store=MEMORY", NULL, NULL, &errmsg);
|
||||
ret = sqlite3_exec(*db, "PRAGMA temp_store=MEMORY", NULL, NULL, &errmsg);
|
||||
if (ret != SQLITE_OK) {
|
||||
ms_error("Cannot set sqlite3 temporary store to memory: %s.", errmsg);
|
||||
sqlite3_free(errmsg);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue