Branch: Tag:

2003-08-14

2003-08-14 14:41:08 by Mattias Andersson <matan@lysator.liu.se>

New actions to update database according to changes in RuleSet and documents in stage 'error'.

Rev: lib/modules/Search.pmod/Queue.pmod/MySQL.pike:1.17

192:    return -1;   }    + array(Standards.URI) get_uris(void|int stage) + { +  array uris = ({}); +  if (stage) +  uris = db->query( "select * from "+table+" where stage=%d", stage ); +  else +  uris = db->query( "select * from "+table ); +  uris = map(uris->uri, utf8_to_string); +  uris = map(uris, Standards.URI); +  +  return uris; + } +    void put(string|array(string)|Standards.URI|array(Standards.URI) uri)   {    if(arrayp(uri))