Patch didn't help at all.

I had a look myself and the offending code was this line

sprintf(qbuf,"INSERT INTO url 
(url,referrer,hops,crc32,last_index_time,next_index_time,status,tag,category) 
VALUES 
('%s',%d,%d,0,%d,%d,0,'%s','%s')",e_url,referrer,hops,(int)now(),(int)now(),tag,category);

in the function UdmAddURL in sql.c. As I didn't need tag or category 
support a simple change to

sprintf(qbuf,"INSERT INTO url 
(url,referrer,hops,crc32,last_index_time,next_index_time,status) VALUES 
('%s',%d,%d,0,%d,%d,0)",e_url,referrer,hops,(int)now(),(int)now());

seemed to fix it to the point of being usable. (until we actually _do_ 
need tag or category support anyhow :)

Thanks for your help!


Alexander Barkov wrote:

> Please find a patch which fixes this here:
> 
> http://gw.udmsearch.izhnet.ru/~bar/patches/server.c.diff.gz
> 
> 
> Steven Torrance wrote:
> 
>> Redhat 6.2 all patches running on a p3-500 SMP system
>> MySQL v3.23.32 compiled from src
>> Mnogosearch v3.1.11
>> 
>> Indexer is seg faulting when there's any more than 16 Server entries
> 

___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]

Reply via email to