Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 72182 invoked from network); 13 Mar 2009 10:21:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Mar 2009 10:21:57 -0000 Received: (qmail 37467 invoked by uid 500); 13 Mar 2009 10:21:53 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 37437 invoked by uid 500); 13 Mar 2009 10:21:53 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 37427 invoked by uid 99); 13 Mar 2009 10:21:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 03:21:53 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.233.182.189] (HELO nf-out-0910.google.com) (64.233.182.189) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Mar 2009 10:21:45 +0000 Received: by nf-out-0910.google.com with SMTP id c10so774860nfd.24 for ; Fri, 13 Mar 2009 03:21:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.210.79.9 with SMTP id c9mr794779ebb.92.1236939682652; Fri, 13 Mar 2009 03:21:22 -0700 (PDT) In-Reply-To: <49B6C35F.1050907@webthing.com> References: <4983B574.9080507@sharp.fm> <20090211215626.6b3e63c8@grimnir> <49B02268.5000006@pearsoncmg.com> <49B15642.8070203@pearsoncmg.com> <49B6C35F.1050907@webthing.com> Date: Fri, 13 Mar 2009 13:21:22 +0300 Message-ID: Subject: Re: [PATCH] mod_dbd with more than one pool From: Kevac Marko To: dev@httpd.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, Mar 10, 2009 at 10:45 PM, Nick Kew wrote: > Can I throw an alternative suggestion into the ring. > Instead of running dbd_init_sql_init at the end of > dbd_construct, run a hook there. =C2=A0Your function then > runs on that hook, but it enables other modules > to do their own thing too. > > I think it's a mistake in the current mod_dbd that > dbd_prepared_init isn't hooked, and having the hook > could've helped with some of the bugs we've seen. > While you're hacking it would seem like a good > opportunity to rectify all that! https://issues.apache.org/bugzilla/show_bug.cgi?id=3D46827 Implemented. Patch added. Comments? --=20 Marko Kevac