Skip Menu |

This queue is for tickets about the POE-Component-EasyDBI CPAN distribution.

Report information
The Basics
Id: 68497
Status: resolved
Worked: 30 min
Priority: 0/
Queue: POE-Component-EasyDBI

People
Owner: GVL [...] cpan.org
Requestors: martin [...] akm.com.au
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.23
Fixed in: (no value)



Subject: [Patch] Allow support for calling any method on db handle
Allow the 'method' action to be used though the EasyDBI POE interface. This allows my application to call 'pg_savepoint' on my Postgresql database. But would also allow the calling of any method on $dbh.
Subject: EasyDBI.pm.patch
--- /usr/local/lib/perl5/site_perl/5.10.1/POE/Component/EasyDBI.pm 2011-05-27 10:36:10.000000000 +1000 +++ /home/martina/EasyDBI.pm 2011-05-27 10:11:35.000000000 +1000 @@ -593,7 +593,7 @@ # Copy what we need from the top of the queue my %queue; foreach ( - qw( id sql action placeholders no_cache begin_work commit method ) + qw( id sql action placeholders no_cache begin_work commit ) ,@{$heap->{action_params}->{$heap->{queue}->[0]->{action}}} ) { next unless (defined($heap->{queue}->[0]->{$_}));
Resolved and documented in 1.25.