We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a54b1d1 commit a67d90eCopy full SHA for a67d90e
Leanplum-SDK/Classes/LPDatabase.m
@@ -165,6 +165,11 @@ - (void)runQuery:(NSString *)query bindObjects:(NSArray *)objectsToBind
165
if (!statement) {
166
return;
167
}
168
+ int result = sqlite3_step(statement);
169
+ if (result != SQLITE_DONE) {
170
+ LPLog(LPError, @"SQLite fail to run query.");
171
+ }
172
+ sqlite3_finalize(statement);
173
} @catch (NSException *e) {
174
LPLog(LPError, @"SQLite operation failed.");
175
// TODO: Make sure to catch this when new logging is in place,
0 commit comments