Mysql query dies on me
#3

Try:

pawn Код:
forward This();
public This() {
    new rows, fields, tmp[32];
    cache_get_data(rows, fields, dbhandle);
    Debug("Rows %d, fields %d", rows, fields);
   
    for(new i = 0; i < rows; ++i) {
        cache_get_row(i, 0, tmp, dbhandle, sizeof(tmp));
        Debug("Id %d i %d", strval(tmp), i);
    }
}
Reply


Messages In This Thread
Mysql query dies on me - by Misiur - 27.02.2013, 17:45
Re: Mysql query dies on me - by InfiniTy. - 27.02.2013, 17:56
Re: Mysql query dies on me - by ryansheilds - 27.02.2013, 17:56
Re: Mysql query dies on me - by Misiur - 27.02.2013, 18:03
Re: Mysql query dies on me - by InfiniTy. - 27.02.2013, 18:04
Re: Mysql query dies on me - by Misiur - 27.02.2013, 18:05
Re: Mysql query dies on me - by ryansheilds - 27.02.2013, 18:11
Re: Mysql query dies on me - by Djole1337 - 27.02.2013, 18:13
Re: Mysql query dies on me - by Misiur - 27.02.2013, 18:27

Forum Jump:


Users browsing this thread: 1 Guest(s)