TD-353
This commit is contained in:
parent
e58f758b58
commit
7ee0094773
|
@ -103,7 +103,7 @@ int tsdbOpenFileH(STsdbRepo *pRepo) {
|
||||||
if (strncmp(dp->d_name, ".", 1) == 0 || strncmp(dp->d_name, "..", 2) == 0) continue;
|
if (strncmp(dp->d_name, ".", 1) == 0 || strncmp(dp->d_name, "..", 2) == 0) continue;
|
||||||
sscanf(dp->d_name, "v%df%d", &vid, &fid);
|
sscanf(dp->d_name, "v%df%d", &vid, &fid);
|
||||||
|
|
||||||
if (tsdbSearchFGroup(pRepo->tsdbFileH, fid, TD_EQ) != NULL) return 0;
|
if (tsdbSearchFGroup(pRepo->tsdbFileH, fid, TD_EQ) != NULL) continue;
|
||||||
|
|
||||||
memset((void *)(&fileGroup), 0, sizeof(SFileGroup));
|
memset((void *)(&fileGroup), 0, sizeof(SFileGroup));
|
||||||
fileGroup.fileId = fid;
|
fileGroup.fileId = fid;
|
||||||
|
|
Loading…
Reference in New Issue