Browse Source

debug printf

Grant Limberg 1 tuần trước cách đây
mục cha
commit
686653509a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      nonfree/controller/CentralDB.cpp

+ 1 - 0
nonfree/controller/CentralDB.cpp

@@ -88,6 +88,7 @@ CentralDB::CentralDB(
 	char myAddress[64];
 	_myAddressStr = myId.address().toString(myAddress);
 	_connString = std::string(connString);
+	fprintf(stderr, "connstring: %s\n", _connString.c_str());
 	auto f = std::make_shared<PostgresConnFactory>(_connString);
 	_pool =
 		std::make_shared<ConnectionPool<PostgresConnection> >(15, 5, std::static_pointer_cast<ConnectionFactory>(f));