summaryrefslogtreecommitdiff
path: root/ext/oci8/oci8_interface.c
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2007-01-11 12:01:08 +0000
committerAntony Dovgal <tony2001@php.net>2007-01-11 12:01:08 +0000
commitf361d9e4f05f935b563824121f389a7356e5b1ec (patch)
treec48c94c1406d11804511ef35bb425d35c31e331f /ext/oci8/oci8_interface.c
parent12d54fa6832df1860970470ccd404141ca700997 (diff)
downloadphp-git-f361d9e4f05f935b563824121f389a7356e5b1ec.tar.gz
MFH: fix #39988 (type argument of oci_define_by_name() is ignored)
patch and tests by Chris Jones
Diffstat (limited to 'ext/oci8/oci8_interface.c')
-rw-r--r--ext/oci8/oci8_interface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oci8/oci8_interface.c b/ext/oci8/oci8_interface.c
index 2d2adaea09..a4416b3b29 100644
--- a/ext/oci8/oci8_interface.c
+++ b/ext/oci8/oci8_interface.c
@@ -52,7 +52,7 @@ PHP_FUNCTION(oci_define_by_name)
zval *stmt, *var;
char *name;
int name_len;
- long type = SQLT_CHR;
+ long type = 0;
php_oci_statement *statement;
php_oci_define *define, *tmp_define;