Skip to content

Commit b727905

Browse files
authored
removing sqlite config, because it was crashing sqlite connections from other libs/frameworks (#436)
1 parent 4b4d5b1 commit b727905

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Leanplum-SDK/Classes/Utilities/LPDatabase.m

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ - (sqlite3 *)initSQLite
5151
{
5252
const char *sqliteFilePath = [[LPDatabase sqliteFilePath] UTF8String];
5353

54-
sqlite3_shutdown();
55-
sqlite3_config(SQLITE_CONFIG_SERIALIZED);
56-
sqlite3_initialize();
57-
5854
int result = sqlite3_open_v2(sqliteFilePath, &sqlite, SQLITE_OPEN_CREATE | SQLITE_OPEN_READWRITE | SQLITE_OPEN_FULLMUTEX, NULL);
5955
if (result != SQLITE_OK) {
6056
[self handleSQLiteError:@"SQLite fail to open" errorResult:result query:nil];

0 commit comments

Comments
 (0)