Signatures for sub-file chunks were being written properly, but were not
being loaded properly (signature data and the algorithm string were
being swapped), so no sub-file incrementals were being generated.
sqlite3_stmt *stmt;
int found = false;
- stmt = Prepare("select algorithm, signatures from subblock_signatures "
+ stmt = Prepare("select signatures, algorithm from subblock_signatures "
"where blockid = (select blockid from block_index "
" where segmentid = ? and object = ?)");
sqlite3_bind_int64(stmt, 1, SegmentToId(ref.get_segment()));