freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: adrian AT alexa.com (Adrian Blakey)
- To: "'TDS Development Group'" <freetds AT franklin.oit.unc.edu>
- Subject: Re: DBD::FreeTDS
- Date: Wed, 15 Dec 1999 09:50:30 -0800
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')
-
DBD::FreeTDS,
Adrian Blakey, 12/14/1999
- <Possible follow-up(s)>
- Re: DBD::FreeTDS, Michael Peppler, 12/14/1999
- Re: DBD::FreeTDS, Brian Bruns, 12/14/1999
- Re: DBD::FreeTDS, Adrian Blakey, 12/14/1999
- Re: DBD::FreeTDS, Brian Bruns, 12/14/1999
- Re: DBD::FreeTDS, Brian Bruns, 12/14/1999
- Re: DBD::FreeTDS, Adrian Blakey, 12/15/1999
Archive powered by MHonArc 2.6.24.