Query with "INTERVAL DAY TO SECOND" returns false
| Bug #42173 | Query with "INTERVAL DAY TO SECOND" returns false | ||||
|---|---|---|---|---|---|
| Submitted: | 2007-08-02 05:23 UTC | Modified: | 2007-08-02 19:07 UTC | ||
| From: | sixd@php.net | Assigned: | sixd (profile) | ||
| Status: | Closed | Package: | OCI8 related | ||
| PHP Version: | 6CVS-2007-08-02 (CVS) | OS: | n/a | ||
| Private report: | No | CVE-ID: | None | ||
[2007-08-02 05:23 UTC] sixd@php.net
Description: ------------ Queries for INTERVAL YEAR TO MONTH and INTERVAL DAY TO SECOND work in PHP5, but the latter returns a null value in PHP6 with unicode.semantics=On due to the outcol storage size being too short. A second issue with PHP5 and PHP6 is that oci_field_type() doesn't know these two types nor the type TIMESTAMP WITH LOCAL TIMEZONE.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2007-08-02 05:29 UTC] sixd@php.net
[2007-08-02 19:07 UTC] sixd@php.net