Skip to content

Commit 7587bcf

Browse files
committed
delete:client database related code
1 parent b7c8fec commit 7587bcf

File tree

14 files changed

+38
-598
lines changed

14 files changed

+38
-598
lines changed

XEngine_Source/StorageModule_Config/Config_Define.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ typedef struct tag_XEngine_ServerConfig
5656
TCHAR tszDBName[128];
5757
int nSQLPort;
5858
BOOL bEnable;
59-
TCHAR tszSQLFile[MAX_PATH];
6059
}st_XSql;
6160
struct
6261
{

XEngine_Source/StorageModule_Config/Config_Json/Config_Json.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ BOOL CConfig_Json::Config_Json_File(LPCTSTR lpszConfigFile, XENGINE_SERVERCONFIG
125125
pSt_ServerConfig->st_XLog.nMaxCount = st_JsonXLog["MaxCount"].asInt();
126126
pSt_ServerConfig->st_XLog.nLogLeave = st_JsonXLog["LogLeave"].asInt();
127127

128-
if (st_JsonRoot["XSql"].empty() || (6 != st_JsonRoot["XSql"].size()))
128+
if (st_JsonRoot["XSql"].empty() || (5 != st_JsonRoot["XSql"].size()))
129129
{
130130
Config_IsErrorOccur = TRUE;
131131
Config_dwErrorCode = ERROR_XENGINE_BLOGIC_CONFIG_JSON_XSQL;
@@ -138,7 +138,6 @@ BOOL CConfig_Json::Config_Json_File(LPCTSTR lpszConfigFile, XENGINE_SERVERCONFIG
138138
_tcscpy(pSt_ServerConfig->st_XSql.tszSQLAddr, st_JsonXSql["SQLAddr"].asCString());
139139
_tcscpy(pSt_ServerConfig->st_XSql.tszSQLUser, st_JsonXSql["SQLUser"].asCString());
140140
_tcscpy(pSt_ServerConfig->st_XSql.tszSQLPass, st_JsonXSql["SQLPass"].asCString());
141-
_tcscpy(pSt_ServerConfig->st_XSql.tszSQLFile, st_JsonXSql["SQLFile"].asCString());
142141

143142
if (st_JsonRoot["XStorage"].empty() || (3 != st_JsonRoot["XStorage"].size()))
144143
{

XEngine_Source/StorageModule_Database/Database_Client/Database_Client.cpp

Lines changed: 0 additions & 353 deletions
This file was deleted.

0 commit comments

Comments
 (0)