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

version» Context lines:

pike.git/lib/modules/Search.pmod/Queue.pmod/MySQL.pike:112:   {    if( extra_data[(string)uri] )    extra_data[(string)uri]->md5 = md5;    db->query( "update "+table+    " set md5=%s WHERE uri_md5=%s", md5, to_md5((string)uri) );   }      void set_recurse( Standards.URI uri, int recurse )   {    if( extra_data[(string)uri] ) -  extra_data[(string)uri]->recurse = recurse; +  extra_data[(string)uri]->recurse = (string)recurse;    db->query( "update "+table+    " set recurse=%d WHERE uri_md5=%s", recurse, to_md5((string)uri));   }      mapping(string:mapping(string:string)) extra_data = ([]);   mapping get_extra( Standards.URI uri )   {    if( extra_data[(string)uri] )    return extra_data[(string)uri];    array r = db->query( "SELECT md5,recurse,stage,template "