pike.git / lib / modules / Sql.pmod / tds.pike

version» Context lines:

pike.git/lib/modules/Sql.pmod/tds.pike:413:    1, 0xb201,    sizeof(domain), sizeof(domain),    32 + sizeof(hostname),    sizeof(hostname), sizeof(hostname),    32,    hostname, domain);    segments += ({ sizeof(strings) });    strings += ({ raw });    }    -  mixed cast(string s) +  protected string cast(string type)    { -  +  if( type!="string" ) return UNDEFINED; +     int trailer_start = flags && 4;    foreach(segments, string|int seg) {    trailer_start += stringp(seg)?sizeof(seg):(seg<0)?8:4;    }    foreach(segments; int i; string|int seg) {    if (intp(seg)) {    if (seg < 0) {    seg = ~seg;    segments[i] = sprintf("%-2c%-2c%-4c",    sizeof(strings[seg]),