Skip to Content.
Sympa Menu

freetds - [freetds] FreeTDS 0.61 broken with Sybase

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Alex Kiesel <alex.kiesel AT document-root.de>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] FreeTDS 0.61 broken with Sybase
  • Date: Wed, 25 Jun 2003 19:37:13 -0000

Hi,

I am currently experiencing some trouble with FreeTDS. Since between the
two latest releases (0.60 vs. 0.61.*) the handling of stored procedures
seems to be borked.

With the following script I can reproduce the error (don't care about
any passwords, these are testing databases only):
<?php

sybase_connect ('php3', 'news', 'enieffac');
var_dump (sybase_query ('sp_help'));

?>

The result of this script - executed with FreeTDS 0.61 - is:
bool(true)

The result of this script - executed with FreeTDS 0.60 - is:
resource(5) of type (sybase-ct result)

Both runs have been made using the same OS (FreeBSD 4.7), same PHP 4.3.2
(since 4.3.0 there haven't been any changes to the sybase-Code), the
same database server[1] just with different versions of FreeTDS.

I've made TDSDUMPs and put them to:
http://document-root.de/tds/tds_borked.log (broken one)
http://document-root.de/tds/tds_ok.log (good one)

We have also noticed an annoying change with sqsh which occured at the
same time. It's a thing of displaying results in sqsh, so I've put a
console dump to http://document-root.de/tds/sqsh_borked.txt.

So far, I hope someone can help here (I know, the symptoms I can show
you with PHP are quite far away from your tds layer, but that's the only
thing we have).

If you have the need for an testing environment, we can offer you a
Sybase database to test with, please write personal mail and I'll give
you access (as far as you are a FreeTDS-developer).

Thank you very much,
Alex

[1] The version is: SQL Server/11.0.3.3
This type of problem currently exists with any Sybase server we
are using (some different versions as 12.5).





Archive powered by MHonArc 2.6.24.

Top of Page