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
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: 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

Pull Requests

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 Dec 26 15:01:32 2024 UTC