Skip to Content.
Sympa Menu

freetds - dg/ux challenges

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Jeff Driscoll" <jdriscol AT gate.net>
  • To: freetds
  • Subject: dg/ux challenges
  • Date: Tue, 21 Sep 1999 2:6:11


I am back.

SQSH 1.7 seems to work fine as long as the SQL statement executes. I can't
get DBD::Sybase to complete the make test and the two seem to be related.

With SQSH, if you enter a bogus SQL statement I never get back to a prompt.
When pressing <CTRL> C or <CTRL> D it just complains:

sqsh-1.7 Copyright (C) 1995-1999 Scott C. Gray
This is free software with ABSOLUTELY NO WARRANTY
For more information type '\warranty'
Unknown property 7
1> use master
2> select * from sys_users
3> go
Msg 208, Level 16, State 1
Server 'VSTNCDB', Line 1
Invalid object name 'sys_users'.
<---------- <CTRL> C here
C
dsp_signal: Error from ct_cancel(CS_CANCEL_ATTN)
Unknown marker: 0!!

I have to terminate the telnet session at this point.

After some troubleshooting it appears the make test for DBD::Sybase fails
for a similar reason. Test #7 and #8 in t/main.t deliberately submit a
bogus SQL statement and then check for proper identication of an error.
What happens on my system is I get a Segmentation Fault - core dumped.

I have tried 0.46 and 0.47pre2 with the same results for both products.

I am using DBI 1.13 and DBD::Sybase 0.19.

I did recompile 0.46 and noticed one warning:

util.c:88: warning: passing arg 1 of `getservbyname' discards `const' from
pointer target type

I also had to add #include <paths.h> to tds/util.c to get the compile to
complete.

Any ideas?

----
Jeff Driscoll




Archive powered by MHonArc 2.6.24.

Top of Page