Re: ECPG bug: allocate descriptor does not clear sqlcode

From: Christof Petig <christof(at)petig-baender(dot)de>
To: Christof Petig <christof(at)petig-baender(dot)de>
Cc: Michael Meskes <michael(at)postgresql(dot)org>, Interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: ECPG bug: allocate descriptor does not clear sqlcode
Date: 2002-01-11 13:21:31
Message-ID: 3C3EE6DB.1070108@petig-baender.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Christof Petig wrote:

> I'll prepare a patch.
>
> Christof

Here it is:

clear sqlca on : [de]allocate descriptor & get descriptor
and set sqlca.sqlerrd[2] accordingly.

Yours
Christof

PS: One can easily count this as a bugfix. So applying in RC should be ok.

Attachment Content-Type Size
ecpg_lib_descriptor_c.patch.gz application/gzip 960 bytes

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Badger 2002-01-11 13:34:58 Any changes to the frontend/backend protocol?
Previous Message glos 2002-01-11 13:12:46 How to get oid of newly inserted row with JDBC?