Merge pull request #22550 from taosdata/fix/TD-25010-9
fix(file/stat): fix atime
This commit is contained in:
commit
93d012b234
|
@ -212,7 +212,7 @@ int32_t taosStatFile(const char *path, int64_t *size, int32_t *mtime, int32_t *a
|
|||
}
|
||||
|
||||
if (atime != NULL) {
|
||||
*atime = fileStat.st_mtime;
|
||||
*atime = fileStat.st_atime;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue