Skip to Content.
Sympa Menu

freetds - Re: dg/ux challenges

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Brian Bruns <camber AT umcc.ais.org>
  • To: TDS Development Group <freetds AT franklin.oit.unc.edu>
  • Subject: Re: dg/ux challenges
  • Date: Sun, 26 Sep 1999 21:12:34 -0400 (EDT)



Hi,

On Sun, 26 Sep 1999, Jeff Driscoll wrote:

> Regarding the tds_process_request_tokens() problem, I swear I tried
> 0.47pre2 before starting the message thread. The only thing that makes
> sense is I didn't recompile sqsh before testing.
>
It seems like you had a mix of versions (somehow?), some of the way we do
things changed at one point so maybe you got a broken snapshot from CVS?
Who knows....

> Anyway..... I think I got DBD-Sybase to work. This is the result from the
> make test. The only thing that looks odd is the "?-style placeholder"
> message.
>
The placeholders do not work (they need ct_dynamic() and friends to be
implemented...) it's on the long-term todo list. There hasn't been a huge
call for them so they are pretty low on my priority list (of course other
people are free to submit patches :-) )

> I understand the "unknown property x" messages are harmless. Is there
> anyway to make them go away?
>
You can remove the fprintf() from ct_con_props() in src/ctlib/ct.c. It
should be pretty obvious which one it is. I'm eventually going to make
these runtime selectable.


Cheers,

Brian

> % make test
> PERL_DL_NONLAZY=1 /usr/local/bin/perl -Iblib/arch -Iblib/lib
> -I/usr/loca
> l/lib/perl5/AViiON-dgux -I/usr/local/lib/perl5 -e 'use Test::Harness
> qw(&runtest
> s $verbose); $verbose=0; runtests @ARGV;' t/*.t
> t/autocommit........Unknown property 7
> no statement executing at t/autocommit.t line 56.
> ok
> t/base..............ok
> t/login.............Unknown property 7
> Unknown property 7
> ok
> t/main..............Unknown property 7
> ok
> t/place.............Unknown property 7
> ?-style placeholders aren't supported with this SQL Server.
> ok
> All tests successful.
> Files=5, Tests=35, 4 wallclock secs ( 1.66 cusr + 0.40 csys = 2.06
> CPU)
>
> On 09/26/99, "Brian Bruns <camber AT umcc.ais.org>" wrote:
> > Cool. For DBD::Sybase the only 'trick' is thta you need to modify the
> > Makefile.PL to remove references to -lcs -lcomn -lintl -ltcl (or -lsybtcl)
> > and any other openclient libs except -lct
> >
> > Here is the relevent lines from mine:
> >
> > if($file) {
> > $lib_string = "-L$SYBASE/lib -lct $attr{EXTRA_LIBS} -lm";
> > } else {
> > $lib_string = "-L$SYBASE/lib -lct $extra -lm";
> > }
> >
> > Cheers,
> >
> > Brian
>
> ---
> You are currently subscribed to freetds as: camber AT ais.org
> To unsubscribe, forward this message to $subst('Email.Unsub')
>
>





Archive powered by MHonArc 2.6.24.

Top of Page