[root@achill aspseek-1.0.2]# diff src/database.cpp src/database.cpp.orig
938c938
< int CMySQLDatabase::MarkForReindex(int SID)
---
> int CMySQLDatabase::MarkForReindex()
941,943c941
<       char xtralimit[100] = "";
<       if (SID)        sprintf(xtralimit," AND site_id = %d ",SID);
<       sprintf(qUpd, "UPDATE urlword SET next_index_time = %d WHERE 1 = 1 %s %s", 
(int)now(), xtralimit, Limit.c_str());
---
>       sprintf(qUpd, "UPDATE urlword SET next_index_time = %d WHERE 1 = 1 %s", 
>(int)now(), Limit.c_str());
[root@achill aspseek-1.0.2]# 

Reply via email to