Switch to unified view

a/src/rcldb/rcldb.cpp b/src/rcldb/rcldb.cpp
...
...
1987
    i_setExistingFlags(udi, docid);
1987
    i_setExistingFlags(udi, docid);
1988
}
1988
}
1989
1989
1990
void Db::i_setExistingFlags(const string& udi, unsigned int docid)
1990
void Db::i_setExistingFlags(const string& udi, unsigned int docid)
1991
{
1991
{
1992
    // Set the up to date flag for the document and its subdocs
1992
    // Set the up to date flag for the document and its
1993
    // subdocs. needUpdate() can also be called at query time (for
1994
    // preview up to date check), so no error if the updated bitmap is
1995
    // of size 0
1993
    if (docid >= updated.size()) {
1996
    if (docid >= updated.size()) {
1997
        if (updated.size())
1994
        LOGERR("needUpdate: existing docid beyond updated.size(). Udi [" <<
1998
            LOGERR("needUpdate: existing docid beyond updated.size(). Udi [" <<
1995
               udi << "], docid " << docid << ", updated.size() " <<
1999
                   udi << "], docid " << docid << ", updated.size() " <<
1996
               updated.size() << "\n");
2000
                   updated.size() << "\n");
1997
        return;
2001
        return;
1998
    } else {
2002
    } else {
1999
        updated[docid] = true;
2003
        updated[docid] = true;
2000
    }
2004
    }
2001
2005