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

version» Context lines:

pike.git/lib/modules/Sql.pmod/rsql.pike:244:    destruct(this);    return;    }       db = arr[1..]*"/";    host = arr[0];    user = pw = 0;       arr = host/"@";    if(sizeof(arr)>1) { -  user = arr[..sizeof(arr)-2]*"@"; +  user = arr[..<1]*"@";    host = arr[-1];    arr = user/":";    if(sizeof(arr)>1) {    pw = arr[1..]*":";    user = arr[0];    }    }    int port = 0;    sscanf(host, "%s:%d", host, port);    low_connect(host, port, user, pw);    select_db(db);   }