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 #5451

segment error

Details

Submitted2005-09-19 06:45 UTC
Fromdozoyousan at gmail dot com
Assignedlsmith
StatusClosed
PackageDB
PHP Version4.4.0
OSLinux debian 2.6.8-1-386
Roadmaps(Not assigned)

Comments

[2005-09-19 06:45 UTC] dozoyousan at gmail dot com

Description:
------------
Hello.

I use PEAR::DB 1.7.6 with firebird 1.5.3 and php4.4(cli) database.

If execute test script then echo "Segment Error" and shutdown script.
But If I use PEAR::MDB and almost same script
("change DB => MDB")
then successful.

Test script:
---------------
<?
require_once("DB.php");
// configure firebird
$phptype = "ibase(firebird)";
$username = "SYSDBA";
$password = "masterkey";
$hostspec = "localhost";
$port = "3050";
$dbfile = "/opt/firebird/examples/employee.fdb";

$dsn = "$phptype://$username:$password@$hostspec:$port/$dbfile";

// start connection
$dbObj = & DB :: connect( $dsn );

$stmt = "SELECT PO_NUMBER, ORDER_STATUS, ITEM_TYPE FROM SALES";
$result = & $dbObj->getAll( $stmt );
print_r( $result );
?>

Expected result:
----------------
Segment Error