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

version» Context lines:

pike.git/lib/modules/Search.pmod/Database.pmod/MySQL.pike:1324:    if(!sizeof(a))    return ({ });    else    return Array.transpose( ({ map(a->word, my_denormalize),    (array(int))a->c }) );   }      void list_url_by_prefix(string url_prefix, function(string:void) cb)   {    Sql.Sql db = get_db(); -  Sql.sql_result q = +  Sql.Result q =    db->big_query("SELECT uri "    " FROM uri "    " WHERE uri LIKE '"+db->quote(url_prefix)+"%'");    for(;;) {    array row = q->fetch_row();    if(!row)    break;    cb(row[0]);    }   }