]> granicus.if.org Git - php/commitdiff
change oci_field_type() to return VARCHAR2 instead of VARCHAR
authorAntony Dovgal <tony2001@php.net>
Tue, 21 Mar 2006 15:47:31 +0000 (15:47 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 21 Mar 2006 15:47:31 +0000 (15:47 +0000)
(fixes feature request #36800)

ext/oci8/oci8_interface.c

index a6a039f30d1541f6fa410bb781b71e596a143503..29e1a710db511e7878e8e869d3922fc160704631 100644 (file)
@@ -1191,7 +1191,7 @@ PHP_FUNCTION(oci_field_type)
                        RETVAL_STRING("LONG RAW",1);
                        break;
                case SQLT_CHR:
-                       RETVAL_STRING("VARCHAR",1);
+                       RETVAL_STRING("VARCHAR2",1);
                        break;
                case SQLT_RSET:
                        RETVAL_STRING("REFCURSOR",1);