#34211 [Asn->Fbk]: ext/oci8: Allow for data type "TIMESTAMP(0) WITH LOCAL TIME ZONE"
| From: | tony2001@php.net | Date: | Tue, 04 Apr 2006 09:52:45 +0000 |
| Subject: | #34211 [Asn->Fbk]: ext/oci8: Allow for data type "TIMESTAMP(0) WITH LOCAL TIME ZONE" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-95301@lists.php.net to get a copy of this message | ||
ID: 34211
Updated by: tony2001@php.net
Reported By: kurtb149 at yahoo dot com
-Status: Assigned
+Status: Feedback
Bug Type: Feature/Change Request
Operating System: Linux
PHP Version: 6CVS-2005-08-22 (CVS)
Assigned To: tony2001
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc.
If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2005-08-22 23:28:18] sniper@php.net
reclassified
------------------------------------------------------------------------
[2005-08-22 19:11:40] kurtb149 at yahoo dot com
Description:
------------
In the file:
ext/pdo_oci/oci_statement.c
the function oci_stmt_describe() does not allow for the
data type "TIMESTAMP(0) WITH LOCAL TIME ZONE". Here is the diff of an
updated oci_statement.c that would allow for the data type:
$ cvs diff oci_statement.c
Index: oci_statement.c
===================================================================
RCS file: /repository/php-src/ext/pdo_oci/oci_statement.c,v
retrieving revision 1.16
diff -r1.16 oci_statement.c
407a408,410
> #ifdef SQLT_TIMESTAMP_LTZ
> || dtype == SQLT_TIMESTAMP_LTZ
> #endif
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34211&edit=1