From dev-return-24955-apmail-apr-dev-archive=apr.apache.org@apr.apache.org Thu Jul 19 13:53:05 2012 Return-Path: X-Original-To: apmail-apr-dev-archive@www.apache.org Delivered-To: apmail-apr-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5641191F4 for ; Thu, 19 Jul 2012 13:53:05 +0000 (UTC) Received: (qmail 19286 invoked by uid 500); 19 Jul 2012 13:53:04 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 18903 invoked by uid 500); 19 Jul 2012 13:53:02 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 18886 invoked by uid 99); 19 Jul 2012 13:53:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 13:53:01 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [116.6.133.30] (HELO DGSMTP.deltaww.com.cn) (116.6.133.30) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 13:52:55 +0000 X-TM-IMSS-Message-ID:<280633ce000614e0@DELTAWW.COM.CN> Received: from dgexbh.dg.deltagroup.com ([10.201.1.186]) by DELTAWW.COM.CN ([10.201.1.30]) with ESMTP (TREND IMSS SMTP Service 7.1) id 280633ce000614e0 ; Thu, 19 Jul 2012 21:51:36 +0800 Received: from DGEX2V.dg.deltagroup.com ([fe80::1db9:9d2f:ec20:e223]) by dgexbh.dg.deltagroup.com ([::1]) with mapi; Thu, 19 Jul 2012 21:53:01 +0800 From: =?gb2312?B?VFJPWS5MSVUghKK0uoKl?= To: "trawick@gmail.com" CC: "dev@apr.apache.org" Date: Thu, 19 Jul 2012 21:53:00 +0800 Subject: =?gb2312?B?u9i4tDogUGxlYXNlIGNvbmZpcm0gdGhlIGZyZWV0ZHMgYnVnIGluIGFwci0=?= =?gb2312?B?dXRpbC0xLjQuMS50YXIuZ3o=?= Thread-Topic: Please confirm the freetds bug in apr-util-1.4.1.tar.gz Thread-Index: Ac1lniM4Pv8+gGt7QxG3o0B6SG3ZrgAF6xdP Message-ID: <068231A7-8071-4BD8-A8C0-0218CA080706@deltaww.com.cn> Accept-Language: zh-CN, zh-TW Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: zh-CN, zh-TW Content-Type: multipart/alternative; boundary="_000_068231A780714BD8A8C00218CA080706deltawwcomcn_" MIME-Version: 1.0 --_000_068231A780714BD8A8C00218CA080706deltawwcomcn_ Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 b2YgY291cnNlLCBJIGRpZG4ndCBmaWxlIHRoZSBidWcuIFRoYW5rcyBmb3IgdGhlIGxpbmsgdG8g YnVnIHJlcG9ydC4NCg0Kt6LLzdfUIEhUQw0KDQotLS0tLSBSZXBseSBtZXNzYWdlIC0tLS0tDQq3 orz+yMujuiAiSmVmZiBUcmF3aWNrIiA8dHJhd2lja0BnbWFpbC5jb20+DQrI1cbao7og1tzLxCwg NyDUwiAxOSDI1SwgMjAxMiDE6iAxOTowMw0K1vfM4qO6IFBsZWFzZSBjb25maXJtIHRoZSBmcmVl dGRzIGJ1ZyBpbiBhcHItdXRpbC0xLjQuMS50YXIuZ3oNCsrVvP7Iy6O6ICJUUk9ZLkxJVSCEorS6 gqUiIDxUUk9ZLkxJVUBERUxUQVdXLkNPTS5DTj4NCrOty82juiAiZGV2QGFwci5hcGFjaGUub3Jn IiA8ZGV2QGFwci5hcGFjaGUub3JnPg0KDQpPbiBXZWQsIEp1bCAxOCwgMjAxMiBhdCA4OjQ3IFBN LCBUUk9ZLkxJVSCEorS6gqUgPFRST1kuTElVQGRlbHRhd3cuY29tLmNuPiB3cm90ZToNC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0cDovL3N2bi5hcGFjaGUub3JnL3ZpZXd2Yy9h cHIvYXByLXV0aWwvYnJhbmNoZXMvMS40LngvZGJkL2Fwcl9kYmRfZg0KPj4gcmVldGRzLmM/dmll dz1tYXJrdXANCj4+DQo+PiBodHRwOi8vc3ZuLmFwYWNoZS5vcmcvdmlld3ZjL2Fwci9hcHItdXRp bC9icmFuY2hlcy8xLjUueC9kYmQvYXByX2RiZF9mDQo+PiByZWV0ZHMuYz92aWV3PW1hcmt1cA0K Pj4NCj4+DQo+Pg0KPj4NCj4+DQo+Pg0KPj4NCj4+IEJlc3QgUmVnYXJkcw0KPj4NCj4+IENodW53 ZWkgTGl1DQo+Pg0KPj4NCj4NCj4NCj4NCj4gLS0NCj4gQm9ybiBpbiBSb3N3ZWxsLi4uIG1hcnJp ZWQgYW4gYWxpZW4uLi4NCj4gaHR0cDovL2VtcHR5aGFtbW9jay5jb20vDQoNCg0KDQotLQ0KQm9y biBpbiBSb3N3ZWxsLi4uIG1hcnJpZWQgYW4gYWxpZW4uLi4NCmh0dHA6Ly9lbXB0eWhhbW1vY2su Y29tLw0K --_000_068231A780714BD8A8C00218CA080706deltawwcomcn_ Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable of course, I didn't file the bug. Thanks for the link to bug = report.

=B7=A2=CB=CD=D7=D4 HTC

----- Reply message -----
=B7=A2=BC=FE=C8=CB=A3=BA "Jeff Traw= ick" <trawick@gmail.com>
=C8=D5=C6=DA=A3=BA =D6=DC=CB=C4, 7 = =D4=C2 19 =C8=D5, 2012 =C4=EA 19:03
=D6=F7=CC=E2=A3=BA Please confirm th= e freetds bug in apr-util-1.4.1.tar.gz
=CA=D5=BC=FE=C8=CB=A3=BA "TR= OY.LIU =84=A2=B4=BA=82=A5" <TROY.LIU@DELTAWW.COM.CN>
=B3=AD= =CB=CD=A3=BA "dev@apr.apache.org" <dev@apr.apache.org>
<= br>
On Wed, Jul 18, 2012 at 8:47 PM, = TROY.LIU =84=A2=B4=BA=82=A5 <TROY.LIU@deltaww.com.cn> wrote:
> Thank you, I will file bug in  http://issues.apache.org/bugzilla/.

I'm sorry if I wasn't clear enough.

You don't need to file a bug for this issue, as I have already
committed your fix.  If you need to file a bug for some future issue,<= br> use http://issues.apache.org= /bugzilla/.

Here is your fix in the apr-util 1.4.x branch:

http://svn.apache.org/viewvc?view=3Drevision&revision=3D1362895

(It is also in trunk and 1.5.x.)

>
> -----Original Message-----
> From: Jeff Trawick [
mailto:trawic= k@gmail.com]
> Sent: Wednesday, July 18, 2012 7:34 PM
> To: TROY.LIU =84=A2=B4=BA=82=A5; dev@apr.apache.org
> Subject: Re: Please confirm the freetds bug in apr-util-1.4.1.tar.gz >
> On Wed, Jul 18, 2012 at 4:38 AM, TROY.LIU =84=A2=B4=BA=82=A5 <TROY.= LIU@deltaww.com.cn> wrote:
>> Dear all,
>>
>>   I found a bug and don=A1=AFt know where to file it. Ju= st send the mail to
>> let you know.
>
> Bugs can be filed at ht= tp://issues.apache.org/bugzilla/
>
> But in this case I can confirm the bug and will commit your fix shortl= y.
>
> Thanks!
>
>>
>> In the apr_dbd_freetds.c +630, function freetds_open:
>>
>>
>>
>> sql =3D apr_palloc (pool, sizeof (apr_dbd_t));  // should be<= br> >> apr_pcalloc, like apr_dbd_pgsql_open.c +1231
>>
>>
>>
>> if calls dbd_freetds_query after freetds_open,  it will fail.=
>>
>> static int dbd_freetds_query(apr_dbd_t *sql, int *nrows, const cha= r
>> *query)
>>
>> {
>>
>>     if (sql->trans && sql->trans= ->errnum) {
>>
>>         return sql->tra= ns->errnum;
>>
>> }
>>
>> =A1=AD
>>
>>
>>
>> Please confirm this issue.
>>
>>
>>
>> http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/d= bd/apr_dbd_f
>> reetds.c?view=3Dmarkup
>>
>> http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/d= bd/apr_dbd_f
>> reetds.c?view=3Dmarkup
>>
>>
>>
>>
>>
>>
>>
>> Best Regards
>>
>> Chunwei Liu
>>
>>
>
>
>
> --
> Born in Roswell... married an alien...
> http://emptyhammock.com/



--
Born in Roswell... married an alien...
http://emptyhammock.com/
--_000_068231A780714BD8A8C00218CA080706deltawwcomcn_--