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 1F056DE49 for ; Thu, 19 Jul 2012 11:03:21 +0000 (UTC) Received: (qmail 92294 invoked by uid 500); 19 Jul 2012 11:03:19 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 92052 invoked by uid 500); 19 Jul 2012 11:03:17 -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 92022 invoked by uid 99); 19 Jul 2012 11:03:16 -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 11:03:16 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of trawick@gmail.com designates 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jul 2012 11:03:10 +0000 Received: by vcbf13 with SMTP id f13so2394670vcb.37 for ; Thu, 19 Jul 2012 04:02:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=dQHQiytmT+loZb0M9S2RtgPr4vrndi+AL82LabcShiw=; b=MKiGCo6t7mZANzxiA+vB7PaJmHr4q79hInwLv02xnbug892TYDntRTK7IcPLqpvgU3 zXOuxpFZLw4lht+aHOgtOphz3oZN5yTvsnPe4svPVi3+TZsfNA1Xwz2BRZUaedHQjs1F qD455ppDa0zpfA3l+wxmMatjMx320RS3TOE4hIRw+aeisxdTZtolmBNeJX9M5ETrVV4m nrg3vfb+pk6qkPg8IuOdFWd9lWROiPz6u9tiBJf5WpRVgOridaSYGK9cDlwJvCfNRCZg iE5QyFJyLY1JVFiKCCeT/TquJAkahEi17vs6YHFgLokJRnn4m4EWBnZYI4Vvj6C7btdq sbCw== MIME-Version: 1.0 Received: by 10.220.242.6 with SMTP id lg6mr722831vcb.18.1342695769388; Thu, 19 Jul 2012 04:02:49 -0700 (PDT) Received: by 10.220.24.142 with HTTP; Thu, 19 Jul 2012 04:02:49 -0700 (PDT) In-Reply-To: <4994179EC7ED6843AAB0A30A1639E7F81DB52956DD@DGEX2V.dg.deltagroup.com> References: <4994179EC7ED6843AAB0A30A1639E7F81DB5260901@DGEX2V.dg.deltagroup.com> <4994179EC7ED6843AAB0A30A1639E7F81DB52956DD@DGEX2V.dg.deltagroup.com> Date: Thu, 19 Jul 2012 07:02:49 -0400 Message-ID: Subject: Re: Please confirm the freetds bug in apr-util-1.4.1.tar.gz From: Jeff Trawick To: =?GB2312?B?VFJPWS5MSVUghKK0uoKl?= Cc: "dev@apr.apache.org" Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable On Wed, Jul 18, 2012 at 8:47 PM, TROY.LIU =84=A2=B4=BA=82=A5 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, 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:trawick@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 wrote: >> Dear all, >> >> I found a bug and don=A1=AFt know where to file it. Just send the mail= to >> let you know. > > Bugs can be filed at http://issues.apache.org/bugzilla/ > > But in this case I can confirm the bug and will commit your fix shortly. > > Thanks! > >> >> In the apr_dbd_freetds.c +630, function freetds_open: >> >> >> >> sql =3D apr_palloc (pool, sizeof (apr_dbd_t)); // should be >> 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 char >> *query) >> >> { >> >> if (sql->trans && sql->trans->errnum) { >> >> return sql->trans->errnum; >> >> } >> >> =A1=AD >> >> >> >> Please confirm this issue. >> >> >> >> http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/dbd/apr_dbd_f >> reetds.c?view=3Dmarkup >> >> http://svn.apache.org/viewvc/apr/apr-util/branches/1.5.x/dbd/apr_dbd_f >> reetds.c?view=3Dmarkup >> >> >> >> >> >> >> >> Best Regards >> >> Chunwei Liu >> >> > > > > -- > Born in Roswell... married an alien... > http://emptyhammock.com/ --=20 Born in Roswell... married an alien... http://emptyhammock.com/