diff options
author | Andy Sautins <asautins@php.net> | 2001-09-19 19:25:43 +0000 |
---|---|---|
committer | Andy Sautins <asautins@php.net> | 2001-09-19 19:25:43 +0000 |
commit | 810dd37b902aabfe878288a0e6275719984c12ec (patch) | |
tree | 40316f2b798998ce9c65097f4c8d051b126c5e7a /ext | |
parent | 926d1506e043549fcb22fc65c8eb70a6db99270d (diff) | |
download | php-git-810dd37b902aabfe878288a0e6275719984c12ec.tar.gz |
Collections core-dump fix. ocicollgetelem was using OCIInd instead
of OCIInd * in call to OCICollGetElem
Diffstat (limited to 'ext')
-rw-r--r-- | ext/oci8/oci8.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 4a0b5306ee..ce3387db93 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -4625,7 +4625,7 @@ PHP_FUNCTION(ocicollgetelem) ub4 ndx; int inx; dvoid *elem; - OCIInd elemind; + OCIInd *elemind; boolean exists; OCIString *ocistr = (OCIString *)0; text *str; @@ -4667,7 +4667,7 @@ PHP_FUNCTION(ocicollgetelem) } /* Return null if the value is null */ - if(elemind == OCI_IND_NULL) { + if(*elemind == OCI_IND_NULL) { RETURN_FALSE; } |