php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27562 Freetds 0.62.1
Submitted: 2004-03-11 02:00 UTC Modified: 2004-03-11 09:12 UTC
From: fielker at informatik dot fh-augsburg dot de Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 4.3.4 OS: Linux x86
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: fielker at informatik dot fh-augsburg dot de
New email:
PHP Version: OS:

 

 [2004-03-11 02:00 UTC] fielker at informatik dot fh-augsburg dot de
Description:
------------
When using Freetds 0.62.1 i can't call stored procedures. 
At last - there is no result 
 
Freetds 0.62.1 gives me always an empty result. Using the 
comandline of freetds (tsql) works: 
 
1> sp_help 
2> go 
 
I use M$ SQL 2000 with M$ Win 2000 Server. 

Reproduce code:
---------------
This works with Freetds 0.61.0 but not with 0.62.1:

    $db = sybase_connect("host", "user", "passwort" );
    $q = sybase_query("sp_help", $db);
    while($row = sybase_fetch_row($q)) {
        while(list($k, $v) = each($row)) {
            echo "\$row[$k] => $v\n";
        }
    }


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-03-11 08:56 UTC] sniper@php.net
Why would you think it's a PHP bug then? Report to the freetds people..

 [2004-03-11 09:12 UTC] fielker at informatik dot fh-augsburg dot de
Please carefully read my Bugreport! 
 
It _WORKS_ with the cmdline version of freetds 0.62.1 but 
NOT with php compiled with 0.62.1 - so this is a 100% PHP 
related bug. There is no problem with 0.61.0 in PHP. 
  
Maybe the API of Freets has changed and PHP doesn't care of 
this. I don't know. I don't have time dealing with the 
source code.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 07:01:28 2024 UTC