Browse Source

a log message removed

mom040267 11 năm trước cách đây
mục cha
commit
cf93f38218
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      src/apps/relay/dbdrivers/dbd_sqlite.c

+ 1 - 3
src/apps/relay/dbdrivers/dbd_sqlite.c

@@ -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;
 		}