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]->{$_}));