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

version» Context lines:

pike.git/lib/modules/Search.pmod/Queue.pmod/MySQL.pike:253:       db->query("delete from "+table+" where uri like '" + db->quote(uri_string) + "%%'");   }      void clear_stage( int ... stages )   {    foreach( stages, int s )    db->query( "update "+table+" set stage=0 where stage=%d", s );   }    + void remove_stage (int stage) + { +  db->query( "delete from "+table+" where stage=%d", stage ); + } +    void clear_md5( int ... stages )   {    foreach( stages, int s )    db->query( "update "+table+" set md5='' where stage=%d", s );   }      int num_with_stage( int ... stage )   {    return (int)    db->query( "select COUNT(*) as c from "+table+" where stage IN (%s)",