On Wed, Mar 9, 2011 at 08:54, Sandro Tosi <mo...@debian.org> wrote: > Package: pdns > Severity: normal > > Hello, > we have a MySQL database we query using stored procedures; by default this > setup > doesn't work since stored proc returns more than one row and mysql connection > is > not opened using the CLIENT_MULTI_RESULTS parameter. > > I'm attaching the patch we're using to correctly use stored proc to retrieve > data; it doesn't introduce any problem for "plain" mysql queries (in case you > have a standard schema where pdns connects using its default queries). > > I also wrote about that on the pdns-users ml[1]. > > [1] http://mailman.powerdns.com/pipermail/pdns-users/2011-March/007496.html
The patch has been accepted upstream: It has been added to revision 2084, which can be downloaded from http://powerdnssec.org/snapshots/ It will also be part of the 3.0 release. It would be extra cool if you can include in a soon-to-come upload to sid and (very nicely) also to backport (if you prefer, I can handle the backport stuff, but it might be nicer if you consider doing it). Regards, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org