CC: | brad.bailey [...] data393.com |
Subject: | Empty lines to STDERR from servermsg_cb in dbdimp.c |
DBD::Sybase 1.08
DBI 1.59
FreeTDS 0.64
MSSQL Server 2005
Running the following code causes 6 lines to be printed to stderr that
contain just a space (0x20) and a newline (0x0a). It isn't a huge deal,
but it is kind of annoying. The problem originally arose from using
set_up_table() in Class::DBI::Sybase.
I have narrowed it down to line 563 of dbdimp.c (servermsg_cb) but I am
not sure why srvmsg->text just contains a space.
Any ideas?
-----
my $dbh = DBI->connect("dbi:Sybase:server=$DBSERVER;database=$DBNAME",
$DBUSER, $DBPASS);
my $sth = $dbh->prepare("sp_help Account");
# Causes 2 blank lines
$sth->execute();
# Causes 4 more blank lines
$sth->fetchall_arrayref() for 1 .. 2;