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

IBASE_TEXT and IBASE_UNIXTIME flags in fetch functions

Details

Request #3704IBASE_TEXT and IBASE_UNIXTIME flags in fetch functions
Submitted2005-03-04 14:07 UTC
Fromcryo28 at rbcmail dot ru
StatusWont fix
PackageDB
PHP Version5.0.3
Roadmaps(Not assigned)

Comments

[2005-03-04 14:07 UTC] cryo28 at rbcmail dot ru

Description:
------------
PHP_INTERBASE extension's functions ibase_fetch_row, ibase_fetch_assoc,
ibase_fetch_object has very useful fetch flags IBASE_TEXT (for fetching
blob values instead blob id) and IBASE_UNIXTIME (for fetching UNIXTIME
from DATE/TIME/TIMESTAMP fields instead of formatted datetime).

Reproduce code:
---------------
Requesting feature is ability to switch fetch modes (may be options['DB_PORTABILITY'] & DB_IBASE_BLOBTEXT & DB_IBASE_UNIXTIME) in scripts.

Patch is calling ibase_fetch_row, ibase_fetch_assoc, ibase_fetch_object with appropriate flags (IBASE_UNIXTIME, IBASE_TEXT) in ibase.php DB_Result->fetchInto() method.

[2005-03-04 14:09 UTC] cryo28 at rbcmail dot ru

(changing bugtype to feature/request)