csync_statedb: Use the index in csync_statedb_get_below_path
authorOlivier Goffart <ogoffart@woboq.com>
Wed, 21 Oct 2015 13:44:16 +0000 (15:44 +0200)
committerOlivier Goffart <ogoffart@woboq.com>
Wed, 21 Oct 2015 14:38:26 +0000 (16:38 +0200)
commit597d36dcf20b838524c250eba55ed0425480565a
tree8acc580af368e56a34c7d40ecf502514ad428126
parent9c388787bbe99a4fa0ae5038e8c5bdb0356ab92e
csync_statedb: Use the index in csync_statedb_get_below_path

Make an index from the path, and make a query that uses the index
csync/src/csync_statedb.c
src/libsync/syncjournaldb.cpp