|
|
@@ -46,9 +46,7 @@ static int sqlite_init_multithreaded(void) {
|
|
|
|
|
|
if (sqlite3_threadsafe() > 0) {
|
|
|
int retCode = sqlite3_config(SQLITE_CONFIG_SERIALIZED);
|
|
|
- if (retCode == SQLITE_OK) {
|
|
|
- TURN_LOG_FUNC(TURN_LOG_LEVEL_INFO, "Can now use sqlite on multiple threads, using the same connection\n");
|
|
|
- } else {
|
|
|
+ if (retCode != SQLITE_OK) {
|
|
|
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "setting sqlite thread safe mode to serialized failed!!! return code: %d\n", retCode);
|
|
|
return -1;
|
|
|
}
|