Re: gda_recordset_move() bug



Vivien Malerba wrote:
> 
> Hi all!
> 
> I've been quite busy this week to prepare a new release of gASQL.
> In it, I implement a wrapper around the Gda_Recordset object, to allow
> easy access to the Gda_Field of any (row,col).
> 
> When the current row of the recset is > to the one I want, I call
> gda_recordset_move_first() to "rewind" the recset, and then
> gda_recordset_move() to the new position I want. It does not work.
> The gda_recordset_move() does nothing then.
> 
> An example:
> recset initialization: gda_recordset_move_first() res->current_row =0x814dcd4
> reading the 2nd row:   gda_recordset_move()       res->current_row =0x80f7654
> The 1st row again:     gda_recordset_move_first() res->current_row =0x814dcd4(OK)
> reading the 2nd row:   gda_recordset_move()       res->current_row =0x814dcd4(!!)
> The last gda_recordset_move() does not do what it should do!
> 
> Is there something I'm doing the wrong way, or is this a client lib bug?
> If it looks like a bug, I'll go into the client lib on monday and try to fix it.
> 
I think it is a bug in the client lib (no time to look right now), but I
will investigate this weekend.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]