提交 10bb1b84 编写于 作者: xengine-qyt's avatar xengine-qyt

fixed:whether the data exists when inserting

上级 c172aee2
......@@ -130,7 +130,7 @@ BOOL CDatabase_File::Database_File_FileInsert(XSTORAGECORE_DBFILE *pSt_DBFile)
}
int nListCount = 0;
XSTORAGECORE_DBFILE **ppSt_ListFile;
if (Database_File_FileQuery(&ppSt_ListFile, &nListCount, NULL, NULL, NULL, pSt_DBFile->st_ProtocolFile.tszFileHash))
if (Database_File_FileQuery(&ppSt_ListFile, &nListCount, NULL, NULL, NULL, NULL, pSt_DBFile->st_ProtocolFile.tszFileHash))
{
BaseLib_OperatorMemory_Free((void***)&ppSt_ListFile, nListCount);
return TRUE;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册