Skip Menu |

This queue is for tickets about the DBIx-Simple CPAN distribution.

Report information
The Basics
Id: 19786
Status: rejected
Priority: 0/
Queue: DBIx-Simple

People
Owner: Nobody in particular
Requestors: greg_kaczorowski [...] comcast.net
Cc:
AdminCc:

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



Subject: Allow direct access to DBI->trace
I added a one-liner to the DBIx::Simple (version 1.26) package that allows direct access to the DBI->trace method. sub trace { $_[0]->{dbh}->trace(@_[1..$#_]) } Tested on AIX and Windows XP systems running Perl version 5.8.2 and found to work correctly. Please include in future patches.
Subject: Simple.patch.pm

Message body is not shown because it is too large.

Subject: dbix_simple_trace_diff.out
Compare: (<)U:\CR\20060607_DBIX_PATCH\Simple.pm (23852 bytes) with: (>)U:\CR\20060607_DBIX_PATCH\Simple.patch.pm (23907 bytes) 181a181 > sub trace { $_[0]->{dbh}->trace(@_[1..$#_]) }
Hi, because "trace" is a power user function, I won't include direct access to it in DBIx::Simple. You can easily access it by simply doing: $db->dbh->trace(...); Regards, -- Juerd