gda_recordset_move() bug
- From: Vivien Malerba <malerba linuxbox com>
- To: gnome-db-list gnome org
- Subject: gda_recordset_move() bug
- Date: Fri, 3 Mar 2000 10:26:36 +0100
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.
Thanks.
Vivien
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]