Closed TommyChangz closed 1 year ago
WCDB is configured with SQLITE_ENABLE_API_ARMOR. It will activate extra code that attempts to detect misuse of the SQLite API
YYKit中的YYKVStorage,崩溃在sqlite3_exec调用上,请问如何解决?
(BOOL)_dbExecute:(NSString *)sql { if (sql.length == 0) return NO; if (![self _dbCheck]) return NO;
char *error = NULL; int result = sqlite3_exec(_db, sql.UTF8String, NULL, NULL, &error); if (error) { if (_errorLogsEnabled) NSLog(@"%s line:%d sqlite exec error (%d): %s", FUNCTION, LINE, result, error); sqlite3_free(error); }
return result == SQLITE_OK; }
The language of WCDB
Objective-C
The version of WCDB
v1.1.0
The platform of WCDB
iOS
The installation of WCDB
Cocoapods,
What's the issue?