DBD::FreeTDS
Adrian Blakey
adrian at alexa.com
Wed Dec 15 12:50:30 EST 1999
Cewel.
Also, if I use DBD::Sybase and add the "packetSize=8192" to the connect
string, I get "Unknown property 5" written to stderr by the connect. The
string looks something like this:
my $dbh =
DBI->connect("dbi:Sybase:server=fooserver;database=mydb;packetSize=8192",
'me' , 'pwd') or print "Can not connect to SS";
If I do something like the following, with the interfaces param, the
"Unknown property 5" message is not generated:
my $dbh =
DBI->connect("dbi:Sybase:server=fooserver;database=mydb;interfaces=/usr/loca
l/freetds/interfaces", 'me' , 'pwd') or print "Can not connect to SS";
However in both cases the connect fails, but the " or print ... " does not
get called. An error seems to be being generated and left in a buffer, since
my Perl error handler does get called as soon as I turn it on right after
the connect (with "$dbh->{syb_err_handler} = \Err;") No values are passed
in the arguments to the Err sub. and the connection is not established.
-----Original Message-----
From: bounce-freetds-96490 at franklin.oit.unc.edu
[mailto:bounce-freetds-96490 at franklin.oit.unc.edu]On Behalf Of Brian
Bruns
Sent: Tuesday, December 14, 1999 8:11 PM
To: TDS Development Group
Subject: [freetds] Re: DBD::FreeTDS
Ok, I see how the output params are coming in from the wire, but
unfortunately that doesn't reconcile very well with how dblib/ctlib wants
to use them...C'est la vie. I'm going to let it rattle around for a bit
and see how the best way to do this is.
Probably get something whipped up over the coming weekend.
Brian
On Tue, 14 Dec 1999, Brian Bruns wrote:
>
>
> On Tue, 14 Dec 1999, Adrian Blakey wrote:
>
> > Talk about getting the right people's attention very fast :-)
> >
> > I'll send some nice errors in a separate email. I also do not seem to be
> > getting values back from stored procedures that have OUTPUT params --
but
> > that might be pilot error.
> >
> Eh, that could very well be a problem. (I've never tested that!). I'll
> check it out.
>
> Brian
---
You are currently subscribed to freetds as: ajb at alexa.com
To unsubscribe, forward this message to
$subst('Email.Unsub')
More information about the FreeTDS
mailing list