Disable an outdated hack

This commit is contained in:
François Grisez 2017-03-10 11:00:34 +01:00
parent 2ae611838a
commit caad3e4693

View file

@ -102,7 +102,10 @@ int _linphone_sqlite3_open(const char *db_file, sqlite3 **db) {
ms_error("Cannot set sqlite3 temporary store to memory: %s.", errmsg);
sqlite3_free(errmsg);
}
#if TARGET_OS_IPHONE
/* the lines below have been disabled because they are likely an
* outdated hack */
#if 0 && TARGET_OS_IPHONE
ret = sqlite3_exec(*db, "PRAGMA journal_mode = OFF", NULL, NULL, &errmsg);
if (ret != SQLITE_OK) {
ms_error("Cannot set sqlite3 journal_mode to off: %s.", errmsg);