Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 78311 invoked from network); 23 Aug 2007 03:52:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2007 03:52:43 -0000 Received: (qmail 73841 invoked by uid 500); 23 Aug 2007 03:52:39 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 73798 invoked by uid 500); 23 Aug 2007 03:52:38 -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 73787 invoked by uid 99); 23 Aug 2007 03:52:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 22 Aug 2007 20:52:38 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tamakoshihiroki@gmail.com designates 209.85.198.186 as permitted sender) Received: from [209.85.198.186] (HELO rv-out-0910.google.com) (209.85.198.186) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Aug 2007 03:52:34 +0000 Received: by rv-out-0910.google.com with SMTP id l15so273357rvb for ; Wed, 22 Aug 2007 20:52:14 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OAp9qRPECpNUj8Aj8J7UGYxYMrFR6U/dTY/7IE2yIGc3w2BEhRnoeJXCX8xn/iCEfqZKR0eoSn9xm1LhPyXjvsYyTNs4DyDYi2q37emtapzzb6osbM6OGFd3RLBFzMaP3bznjyCwZW8HetISGTiLEtzyUe609/zSFQbao9cAFl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FrHWSoFfY9dtAGfS2oVSVI/Nk+NVafxAOGGVbjJx7YVRtOPGGAfVlChOepm9B3JUR60MabGQhUbclZ9Dru3ELWcP6S1L6HKdJNUjfHTmNKTjtv/RRVII6VokyZ0VgdWaxzBIfPXpyKVZq5MCA3oLDpy/7f3VBMSxTv/VbEZMae4= Received: by 10.114.194.1 with SMTP id r1mr96428waf.1187841133871; Wed, 22 Aug 2007 20:52:13 -0700 (PDT) Received: by 10.114.196.4 with HTTP; Wed, 22 Aug 2007 20:52:13 -0700 (PDT) Message-ID: <79f0d27c0708222052k6fc928a3ge0b6ec5b88e2cfcb@mail.gmail.com> Date: Thu, 23 Aug 2007 12:52:13 +0900 From: "=?ISO-2022-JP?B?GyRCNkwxW0JnNTEbKEI=?=" Reply-To: tamakoshihiroki@gmail.com To: dev@apr.apache.org Subject: Re: [PATCH] apr_dbd_mysql.c In-Reply-To: <1187837637.3041.24.camel@shrek.rexursive.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <79f0d27c0708221749x6d07ca97yc6138c6de09bb427@mail.gmail.com> <1187837637.3041.24.camel@shrek.rexursive.com> X-Virus-Checked: Checked by ClamAV on apache.org Hello, mysql_thread_init() does not seem to be called as described in the manuals. I got segmentation faults in error.log. The same error is reported by the another person which is described as follows. http://www.issociate.de/board/post/428588/my_stat_Segmentation_fault.html This may be a bug of libmysqlclient15_r.so in the linux distribution I'm using now(Ubuntu Linux Server 7.04). regards 2007/8/23, Bojan Smojver : > On Thu, 2007-08-23 at 09:49 +0900, 玉越大輝 wrote: > > > Please patch the attached file to apr_dbd_mysql.c in order to make it > > works with threaded mpm. > > > > The current code works only with prework mpm. > > MySQL manual claims that this function (mysql_thread_init()), gets > called by mysql_init(): > > http://dev.mysql.com/doc/refman/4.1/en/mysql-thread-init.html > http://dev.mysql.com/doc/refman/5.0/en/mysql-thread-init.html > http://dev.mysql.com/doc/refman/5.1/en/mysql-thread-init.html > > What kind of errors are you getting? > > -- > Bojan > > -- ------------------------------------------------------     ◆クールビズでのご来社を歓迎いたします◆   ビービットはチームマイナス6%に参画しています ------------------------------------------------------ 株式会社ビービット 玉越 大輝 ユーザビリティ コンサルタント beBit,Inc. Tamakoshi Hiroki hiroki.tamakoshi@bebit.co.jp -------------------------------------------------------- 〒105-0001 東京都港区虎ノ門1-18-1 虎ノ門10森ビル7F TEL: 03-3509-7602 / FAX: 03-3509-7605 URL: http://www.bebit.co.jp/ --------------------------------------------------------