Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 14395 invoked from network); 23 Aug 2007 06:04:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 06:04:19 -0000 Received: (qmail 46392 invoked by uid 500); 23 Aug 2007 06:04:15 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 46348 invoked by uid 500); 23 Aug 2007 06:04:15 -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 46337 invoked by uid 99); 23 Aug 2007 06:04:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 23:04:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bojan@rexursive.com designates 203.171.74.242 as permitted sender) Received: from [203.171.74.242] (HELO beauty.rexursive.com) (203.171.74.242) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 06:04:47 +0000 Received: from [172.27.0.24] (shrek.rexursive.com [172.27.0.24]) by beauty.rexursive.com (Postfix) with ESMTP id 51F8140B03; Thu, 23 Aug 2007 16:03:45 +1000 (EST) Subject: Re: [PATCH] apr_dbd_mysql.c From: Bojan Smojver To: tamakoshihiroki@gmail.com Cc: dev@apr.apache.org In-Reply-To: <79f0d27c0708222052k6fc928a3ge0b6ec5b88e2cfcb@mail.gmail.com> References: <79f0d27c0708221749x6d07ca97yc6138c6de09bb427@mail.gmail.com> <1187837637.3041.24.camel@shrek.rexursive.com> <79f0d27c0708222052k6fc928a3ge0b6ec5b88e2cfcb@mail.gmail.com> Content-Type: text/plain; charset=utf-8 Date: Thu, 23 Aug 2007 16:03:45 +1000 Message-Id: <1187849025.3041.31.camel@shrek.rexursive.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.3 (2.10.3-2.fc7) Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On Thu, 2007-08-23 at 12:52 +0900, 玉越大輝 wrote: > This may be a bug of libmysqlclient15_r.so in the linux distribution > I'm using now(Ubuntu Linux Server 7.04). Possibly. Did you try against some other MySQL version? What's confusing in the manual is that mysql_thread_end() is something that must be explicitly called (unlike mysql_thread_init()) to avoid a memory leak: http://dev.mysql.com/doc/refman/4.1/en/mysql-thread-end.html http://dev.mysql.com/doc/refman/5.0/en/mysql-thread-end.html http://dev.mysql.com/doc/refman/5.1/en/mysql-thread-end.html Could you ask on MySQL list how are these things actually supposed to be used? -- Bojan