pike.git / lib / modules / Search.pmod / Queue.pmod / MySQL.pike

version» Context lines:

pike.git/lib/modules/Search.pmod/Queue.pmod/MySQL.pike:74:    foreach( ({"index.xml", "index.html", "index.htm"}),    string index)    if(search(rpath,reverse(index))==0)    rpath=rpath[sizeof(index)..];    r->path=reverse(rpath);       if( force || check_link(uri, allow, deny) )    {    if(has_uri(r))    { -  werror("FOO\n"); +     int stage = get_stage(r); -  werror("stage: %O\n", stage); +     if(stage!=1 && stage!=2 && stage!=3 && stage!=4)    set_stage(r, 0);    }    else    db->query( "insert into "+table+    " (uri,uri_md5,recurse,template) values (%s,%s,%d,%s)",    string_to_utf8((string)r),    to_md5((string)r), recurse, (template||"") );    }   }