Win32: Disabled Query per inode, always returning NULL.

This commit is contained in:
Klaas Freitag 2012-03-29 13:04:42 +02:00
parent 74f0b57ed7
commit 5543d20441

View file

@ -426,6 +426,11 @@ csync_file_stat_t *csync_statedb_get_stat_by_inode(CSYNC *ctx, ino_t inode) {
char *stmt = NULL;
size_t len = 0;
#ifdef _WIN32
/* no idea about inodes. */
return st;
#endif
stmt = sqlite3_mprintf("SELECT * FROM metadata WHERE inode='%llu'", inode);
if (stmt == NULL) {
return NULL;