diff options
author | Zeev Suraski <zeev@php.net> | 2000-12-22 12:57:09 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-12-22 12:57:09 +0000 |
commit | aa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47 (patch) | |
tree | 5776ae30d4c8115659935309042b9784ba55d592 /ext/oracle/oracle.c | |
parent | 36eaad252fc5fe292cd4f071f76e7879ce21130c (diff) | |
download | php-git-aa6d2ac5d0ee1d7cd608c6930ad0c57bc2953c47.tar.gz |
Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r-- | ext/oracle/oracle.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index a36071b3c6..c69ac63399 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -1691,20 +1691,18 @@ int ora_set_param_values(oraCursor *cursor, int isout) } for(i = 0; i < cursor->nparams; i++, zend_hash_move_forward(cursor->params)){ - if(zend_hash_get_current_key(cursor->params, ¶mname, NULL) != HASH_KEY_IS_STRING){ + if(zend_hash_get_current_key(cursor->params, ¶mname, NULL, 0) != HASH_KEY_IS_STRING){ php_error(E_WARNING, "Can't get parameter name"); return 0; } if(zend_hash_get_current_data(cursor->params, (void **)¶m) == FAILURE){ php_error(E_WARNING, "Can't get parameter data"); - efree(paramname); return 0; } if(isout){ SET_VAR_STRINGL(paramname, estrdup(param->progv), strlen(param->progv)); - efree(paramname); continue; } |