Hello!

A bug was found in the indexer.
It doesn't update LAST_INDEX_TIME field of reindexed URL.
Think it was simply forgotten to write some lines of code.

------- sql.c -------
...
int UdmLongUpdateUrl(
...
{
...

if(changed)sprintf(last_index_time,",last_index_time=%d",(int)now());
sprintf(qbuf,"\
UPDATE url SET \
status=%d,last_modified='%s',\
next_index_time=%d,\
tag=%d,txt='%s',title='%s',content_type='%s',docsize=%d,\
keywords='%s',description='%s',crc='%s',lang='%s' \
WHERE rec_id=%d",
        status,last_modified_escaped,(int)(now()+period),
        hint,text_escaped,title_escaped,content_type,size,
        keywords_escaped,descript_escaped,digest,lang,url_id);
        sql_query(((DB*)(Indexer->db)),qbuf);
        if(UdmDBErrorCode(Indexer->db))return(IND_ERROR);
        return(IND_OK);

---------------------

And it is really no not update LAST_INDEX_TIME as far as I can see it on
my base.

                                                        Danil.


______________
If you want to unsubscribe send "unsubscribe udmsearch"
to [EMAIL PROTECTED]

Reply via email to