SQLGetConnectAttr returns invalid value

This is a multi-part MIME message.

--=_reb-r5E3E9CB1-t4A78B5E1
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All,



I have a question regarding some changes that Anoop Kumar submitted
almost 4 years ago. The changes were a "fix for making the
SQLGetConnectAttr API work with SQL_ATTR_CONNECTION_DEAD attribute."
However, the changes are now not part of the current release. Why were
they removed?



Here are Anoop's originally modified files:

* pgapi30.c (rev 1.22 and 1.23)

* connection.c (rev .1.106)

* connection.h (rev 1.65)



His code was removed when Dave Page commited "changed files from the
[release 7.03] enhanced branch" to the main branch in the following
revisions:

* pgapi30.c (rev 1.29)

* connection.c (rev 1.134)

* connection.h (rev 1.69)



In short, the SQLGetConnectAttr() function no longer returns an accurate
value for the CONNECTION_DEAD attribute. Was this simply a bad merge,
or was it removed on purpose? Thanks for the help.



Mike McDonald






This message is confidential to Prodea Systems, Inc unless otherwise indica=
ted
or apparent from its nature. This message is directed to the intended recip=
ient
only, who may be readily determined by the sender of this message and its=

contents. If the reader of this message is not the intended recipient, or a=
n
employee or agent responsible for delivering this message to the intended=

recipient:(a)any dissemination or copying of this message is strictly
prohibited; and(b)immediately notify the sender by return message and destr=
oy
any copies of this message in any form(electronic, paper or otherwise) that=
you
have.The delivery of this message and its information is neither intended t=
o be
nor constitutes a disclosure or waiver of any trade secrets, intellectual=

property, attorney work product, or attorney-client communications. The
authority of the individual sending this message to legally bind Prodea Sys=
tems
is neither apparent nor implied,and must be independently verified.
--=_reb-r5E3E9CB1-t4A78B5E1
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
[at] font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
..MsoChpDefault
{mso-style-type:export-only;}
[at] page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>Hi All,<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>I have a question regarding some changes =
that
Anoop Kumar submitted almost 4 years ago.  The changes were a "fi=
x for
making the SQLGetConnectAttr API work with SQL_ATTR_CONNECTION_DEAD
attribute."  However, the changes are now not part of the current
release.  Why were they removed?<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>Here are Anoop’s originally modified
files:<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>* pgapi30.c (rev 1.22 and 1.23)<o:p></o:p=
></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>* connection.c (rev .1.106)<o:p></o:p></s=
pan></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>* connection.h (rev 1.65)<o:p></o:p></spa=
n></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>His code was removed when Dave Page commi=
ted
"changed files from the [release 7.03] enhanced branch" to the ma=
in
branch in the following revisions:<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>* pgapi30.c (rev 1.29)<o:p></o:p></span><=
/p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>* connection.c (rev 1.134)<o:p></o:p></sp=
an></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>* connection.h (rev 1.69)<o:p></o:p></spa=
n></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>In short, the SQLGetConnectAttr() functio=
n no
longer returns an accurate value for the CONNECTION_DEAD attribute.  W=
as this
simply a bad merge, or was it removed on purpose?  Thanks for the help=
..<o:p></o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'><o:p> </o:p></span></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><span style=3D'font-size=
:10.0pt;
font-family:"Arial","sans-serif"'>Mike McDonald<o:p></o:p></span></p>

<p class=3DMsoNormal><o:p> </o:p></p>

</div>

</body>

</html>


<pre>

This message is confidential to Prodea Systems, Inc unless otherwise indica=
ted
or apparent from its nature. This message is directed to the intended recip=
ient
only, who may be readily determined by the sender of this message and its=

contents. If the reader of this message is not the intended recipient, or a=
n
employee or agent responsible for delivering this message to the intended=

recipient:(a)any dissemination or copying of this message is strictly
prohibited; and(b)immediately notify the sender by return message and destr=
oy
any copies of this message in any form(electronic, paper or otherwise) that=
you
have.The delivery of this message and its information is neither intended t=
o be
nor constitutes a disclosure or waiver of any trade secrets, intellectual=

property, attorney work product, or attorney-client communications. The
authority of the individual sending this message to legally bind Prodea Sys=
tems
is neither apparent nor implied,and must be independently verified.</pre>

--=_reb-r5E3E9CB1-t4A78B5E1--
Mike McDonald [ Mi, 05 August 2009 00:18 ] [ ID #2011068 ]
Datenbanken » gmane.comp.db.postgresql.odbc » SQLGetConnectAttr returns invalid value

Vorheriges Thema: 08.04.0100 build error on Fedora 11
Nächstes Thema: Strange bug (value on stack changed)?