mirror of
https://github.com/coturn/coturn.git
synced 2025-10-27 04:51:28 +01:00
a log message removed
This commit is contained in:
parent
21723a221b
commit
cf93f38218
@ -46,9 +46,7 @@ static int sqlite_init_multithreaded(void) {
|
|||||||
|
|
||||||
if (sqlite3_threadsafe() > 0) {
|
if (sqlite3_threadsafe() > 0) {
|
||||||
int retCode = sqlite3_config(SQLITE_CONFIG_SERIALIZED);
|
int retCode = sqlite3_config(SQLITE_CONFIG_SERIALIZED);
|
||||||
if (retCode == SQLITE_OK) {
|
if (retCode != SQLITE_OK) {
|
||||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_INFO, "Can now use sqlite on multiple threads, using the same connection\n");
|
|
||||||
} else {
|
|
||||||
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "setting sqlite thread safe mode to serialized failed!!! return code: %d\n", retCode);
|
TURN_LOG_FUNC(TURN_LOG_LEVEL_ERROR, "setting sqlite thread safe mode to serialized failed!!! return code: %d\n", retCode);
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user