Remove the usage of phash in csync
authorJocelyn Turcotte <jturcotte@woboq.com>
Wed, 23 Aug 2017 17:30:55 +0000 (19:30 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 5 Oct 2017 20:01:33 +0000 (22:01 +0200)
commit3bc1f63b0a6fda2d868fd57eff4d31b56eae9f13
tree94fc069d9d53dc023f9531dbb04000b60a412367
parent2276df1eecdc8cd890a6fea86458dbd930cd9c2d
Remove the usage of phash in csync

Only store the path since they represent the same thing, and do the
phash conversion during DB lookup like done in libsync.
We could get rid of everything since we also have an index on the path
column, but since it's the primary key this makes the migration non-trivial.
src/csync/csync.h
src/csync/csync_statedb.cpp
src/csync/csync_statedb.h
src/csync/csync_update.cpp
test/csync/csync_tests/check_csync_statedb_query.cpp
test/testcsyncsqlite.cpp