Skip to Content.
Sympa Menu

freetds - Re: DBD::Sybase-0.21 and latest CVS snapshot

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Kevin Wormington" <kworm AT sofnet.com>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: Re: DBD::Sybase-0.21 and latest CVS snapshot
  • Date: Thu, 23 Dec 1999 18:00:02 -0600


Hi,

I have been using a 0.47 snapshot with DBD::Sybase-0:20 and 0:21 with great
success going against MS-SQL 7 servers. I use it for radiator radius and
the only problem I have seen is a very slow memory leak, which is why I
thought I would try a later 0.50 snapshot. The snapshot will compile fine
but the following select returns some strange characters keeping radiator
from operating correctly. Here is the perl snippet :


my $q = "select id, username, password, active, timeleft, blockuser
from customer where username='$name'";

my $sth = $self->prepareAndExecute($q);
return undef unless $sth;

my $user;
my ($cust_id, $username, $password, $active, $timeleft, $blockuser);
if (($cust_id, $username, $password, $active, $timeleft, $blockuser) =
$sth-
>fetchrow)
{
$self->log($main::LOG_INFO,"$cust_id, $password, $username, $timeleft,
$blockuser");
$sth->finish;
}


Here are the results of the above self->log printout:

Thu Dec 23 17:48:03 1999: INFO: 1074, jaw^@, jaw^@, ,


As you can see there are some "^@" after each field. Any help would be
greatly appreciated. Also, I have tried it with tdsver=4.2 and 7.0 and with
DBD::Sybase 0.20 and 0.21.

Merry Christmas...

Kevin
Sofnet, Inc.





  • Re: DBD::Sybase-0.21 and latest CVS snapshot, Kevin Wormington, 12/23/1999

Archive powered by MHonArc 2.6.24.

Top of Page