php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1743 sybase_fetch_array and sybase_fetch_result return ""
Submitted: 1999-07-20 01:10 UTC Modified: 1999-07-31 12:39 UTC
From: joey at samaritan dot com Assigned:
Status: Closed Package: Sybase (dblib) related
PHP Version: 4.0 Beta 1 OS: ALL OSes!
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: joey at samaritan dot com
New email:
PHP Version: OS:

 

 [1999-07-20 01:10 UTC] joey at samaritan dot com
(Migrated from other database by Jim.)

Sybase module does not use the right API...

Lines like:
         pval_copy_constructor(&field_content);
         _php3_hash_index_update(return_value->value.ht, i, (void *) 
&field_content, sizeof(pval),NULL);

from the fetch_row implementation need to be substituted with the 
add_index_* functions from zend_API.h

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-31 12:39 UTC] zeev at cvs dot php dot net
These were actually fixed before Beta 1 was released - you must
have used one of the older packages...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 11:01:27 2024 UTC