PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB » Bug #3735

sybase doesn't work with createTables.php from DB_DataObjects

Details

Submitted2005-03-07 20:25 UTC
Fromfbricker at gmail dot com
Assigneddanielc
StatusBogus
PackageDB
PHP Version4.3.4
OSlinux
Roadmaps(Not assigned)

Comments

[2005-03-07 20:25 UTC] fbricker at gmail dot com

Description:
------------
When i run createTables.php in my sybase database, throws an error and doesn't generate the dao objects.
To correct this, i've commented line 654 of sybase.php.

[2005-03-07 20:51 UTC] fbricker at gmail dot com

Sorry about the lack of information, but i've solved the bug by the way i told you, so i can't reproduce it right now.
I cant tell you that the line 654 of sybase.php that i've commented is in version 1.52 of sybase.php.
653:/*if (!is_resource($id)) {
654:return $this->sybaseRaiseError(DB_ERROR_NEED_MORE_DATA);
655:}*/

When i was debugging DB_DataObject, I reach to sybase.php that is part of the DB package, and I found that commenting this lines DB_DataObject started working fine. I don't know if the probles is from DB or DB_DataObject.
I thinks is from DB, because I've found that sybase.php has some other bugs. Maybe I'm wrong, but as few people uses sybase, i think sybase.php may not be as tested as the other databases libraries.

Best regards.