summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8_interface.c
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2007-08-02 19:04:37 +0000
committerChristopher Jones <sixd@php.net>2007-08-02 19:04:37 +0000
commitf894c6ece74160e6753992a8f85ccff90ae1a43a (patch)
tree64893ce9fbdcb1d765c329ffdb524c62431c3a8c /ext/oci8/oci8_interface.c
parentc0667eeaff3c37af97056037b2c496da042eaa86 (diff)
downloadphp-git-f894c6ece74160e6753992a8f85ccff90ae1a43a.tar.gz
MFH: Bug #42173 (INTERVAL and TIMESTAMP type fixes)
Diffstat (limited to 'ext/oci8/oci8_interface.c')
-rw-r--r--ext/oci8/oci8_interface.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c
index 834cf99dda..f8d791e84e 100644
--- a/ext/oci8/oci8_interface.c
+++ b/ext/oci8/oci8_interface.c
@@ -1183,7 +1183,22 @@ PHP_FUNCTION(oci_field_type)
#endif
#ifdef SQLT_TIMESTAMP_TZ
case SQLT_TIMESTAMP_TZ:
- RETVAL_STRING("TIMESTAMP_TZ",1);
+ RETVAL_STRING("TIMESTAMP WITH TIMEZONE",1);
+ break;
+#endif
+#ifdef SQLT_TIMESTAMP_LTZ
+ case SQLT_TIMESTAMP_LTZ:
+ RETVAL_STRING("TIMESTAMP WITH LOCAL TIMEZONE",1);
+ break;
+#endif
+#ifdef SQLT_INTERVAL_YM
+ case SQLT_INTERVAL_YM:
+ RETVAL_STRING("INTERVAL YEAR TO MONTH",1);
+ break;
+#endif
+#ifdef SQLT_INTERVAL_DS
+ case SQLT_INTERVAL_DS:
+ RETVAL_STRING("INTERVAL DAY TO SECOND",1);
break;
#endif
case SQLT_DAT: