From: Lothar Behrens <lothar.behrens@lollisoft.de>
To: pgsql-odbc@postgresql.org
Subject: ODBC understanding problem
Date: Wed, 3 Nov 2004 20:41:04 +0100
Message-ID: <200411031941.iA3Jf3C13409@jedi.behrens.de> (raw)
Hi,
I have found, that my class wrapper must do a
SQLSetPos(..., SQL_REFRESH, ...); after deleting a row.
This solved a bug that I am searching for.
Now after deleting a row and moving around in the cursor,
I get a free memory problem due to double deleting a buffer.
This happens in the ODBC driver, but I think, that I am missing
something in my code.
I am using one data row for showing and modify the data and another
row to add new data. So I have two rows, but one row is passed to
the bind columns function.
Must I do something with the deleted row in my bound columns before
moving to another row ?
Thanks for any help
Lothar
---- My home: www.lollisoft.de -----------------------------
Lothar Behrens | Independent: lothar.behrens@gmx.de
Rosmarinstr 3 | My public project:
40235 Düsseldorf | http://sourceforge.net/projects/lbdmf
| -> Need comments, please visit :-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-odbc@postgresql.org
Cc: lothar.behrens@lollisoft.de
Subject: Re: ODBC understanding problem
In-Reply-To: <200411031941.iA3Jf3C13409@jedi.behrens.de>
References: <200411031941.iA3Jf3C13409@jedi.behrens.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox