Commit 21cd0a22 authored by Yoni Fogel's avatar Yoni Fogel

Closes #1355

Removed st_creat from fileid for windows

git-svn-id: file:///svn/toku/tokudb@9222 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6ed82bb2
...@@ -16,7 +16,6 @@ typedef int mode_t; ...@@ -16,7 +16,6 @@ typedef int mode_t;
struct fileid { struct fileid {
uint32_t st_dev; uint32_t st_dev;
uint64_t st_ino; uint64_t st_ino;
uint64_t st_creat;
}; };
......
...@@ -87,9 +87,6 @@ toku_os_get_unique_file_id(int fildes, struct fileid *id) { ...@@ -87,9 +87,6 @@ toku_os_get_unique_file_id(int fildes, struct fileid *id) {
id->st_ino = info.nFileIndexHigh; id->st_ino = info.nFileIndexHigh;
id->st_ino <<= 32; id->st_ino <<= 32;
id->st_ino |= info.nFileIndexLow; id->st_ino |= info.nFileIndexLow;
id->st_creat = info.ftCreationTime.dwHighDateTime;
id->st_creat <<= 32;
id->st_creat |= info.ftCreationTime.dwLowDateTime;
r = 0; r = 0;
cleanup: cleanup:
if (r!=0) errno = r; if (r!=0) errno = r;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment