DBD::ODBC (v0.43) and Perl (v5.6.1)
Whenever I execute() an SQL statement using DBD::ODBC, I get on STDERR the
SQL statement being executed. This is odd to me since I don't get this
output when using other DBI drivers (like DBD::Sybase and DBD::mysql).
(For instance:
my $dbh = DBI->connect(dbi:ODBC:myDSN);
my $sth = $dbh->prepare( "SELECT * FROM FOO" );
$sth->execute(); // output on STDERR, I get "SELECT * FROM FOO"
$sth->finish();
)
Can anyone help explain why this is happening, and how to disable it
(other than by redirecting STDERR to /dev/null)?
THX,
~Chris