Skip to content

Commit 10bb1b8

Browse files
committed
fixed:whether the data exists when inserting
1 parent c172aee commit 10bb1b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XEngine_Source/StorageModule_Database/Database_File/Database_File.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ BOOL CDatabase_File::Database_File_FileInsert(XSTORAGECORE_DBFILE *pSt_DBFile)
130130
}
131131
int nListCount = 0;
132132
XSTORAGECORE_DBFILE **ppSt_ListFile;
133-
if (Database_File_FileQuery(&ppSt_ListFile, &nListCount, NULL, NULL, NULL, pSt_DBFile->st_ProtocolFile.tszFileHash))
133+
if (Database_File_FileQuery(&ppSt_ListFile, &nListCount, NULL, NULL, NULL, NULL, pSt_DBFile->st_ProtocolFile.tszFileHash))
134134
{
135135
BaseLib_OperatorMemory_Free((void***)&ppSt_ListFile, nListCount);
136136
return TRUE;

0 commit comments

Comments
 (0)