The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBD::Log::Sth - Statement Handler as used by DBD::Log

SYNOPSIS

You could use this, but I guess you want DBD::Log to use this for you.

DESCRIPTION

Logs the actions of the statement handler. If you have a prepared statement executed with bind parameters, you would like the compiled statement in your logfile, right? This does that for you.

LOGING

these are logged

execute execute_array bind_param bind_param_array

these are not

bind_col bind_columns fetchrow_array fetchrow_arrayref fetchall_arrayref fetchrow_hashref fetchall_hashref rows

SEE ALSO

DBD::Log

BUGS / QUIRKS

None, so far.

CAVEATS

Because the actual call of $sth->whatever() is made inside this package, the messages you receive from the DBI seem to originate from DBD/Log/Sth.pm.

This is anoying, therefor a backtrace is created and stored in DBI->{dbd_log_backtrace}

An attempt is made to find the most suitable entry on the backtrace and it is stored in DBI->{dbd_log_error}

ATTENTION: please also see the CAVEATS section DBD::Log

AUTHOR

  Hartog C. de Mik   <hartog@2organize.com>   Lead Developer

COPYRIGHT

(c) 2004 - 2organize, all rights reserved.