Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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: ecpg_lib_descriptor_c.patch.gz
Description: application/gzip (960 bytes)

In response to

Responses

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group