From 88b2854c40c76750372ae83b862acbb5f5b11776 Mon Sep 17 00:00:00 2001 From: wangky <m1561510467@163.com> Date: 星期二, 05 十一月 2024 14:57:24 +0800 Subject: [PATCH] 1 --- Server/王琨元/code/ConnectionPool.cpp | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git "a/Server/\347\216\213\347\220\250\345\205\203/code/ConnectionPool.cpp" "b/Server/\347\216\213\347\220\250\345\205\203/code/ConnectionPool.cpp" index 548d07f..ce7acb2 100644 --- "a/Server/\347\216\213\347\220\250\345\205\203/code/ConnectionPool.cpp" +++ "b/Server/\347\216\213\347\220\250\345\205\203/code/ConnectionPool.cpp" @@ -1,3 +1,4 @@ +#include "stdafx.h" #include "ConnectionPool.h" #include <fstream> @@ -30,7 +31,7 @@ bool ConnectionPool::parseJsonFile() { - std::ifstream ifs("dbconf.json"); + /*std::ifstream ifs("dbconf.json"); Reader rd; Value root; rd.parse(ifs, root); @@ -45,7 +46,7 @@ max_del_time = root["maxDleTime"].asInt(); m_timeout = root["timeout"].asInt(); return true; - } + }*/ return false; } -- Gitblit v1.8.0