diff options
author | Zeev Suraski <zeev@php.net> | 2001-07-30 04:58:07 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-07-30 04:58:07 +0000 |
commit | 7b1c4006312aca67308d72068364e3666219fd41 (patch) | |
tree | 3c88ac98c7bd5977fbf45e2609affbae8185af5f /ext/oracle/oracle.c | |
parent | 8ce8324e5907d9a08789b9a4bea3f1622057932a (diff) | |
download | php-git-7b1c4006312aca67308d72068364e3666219fd41.tar.gz |
More TSRMLS_FETCH annihilation (Zend compatibility patch)
Diffstat (limited to 'ext/oracle/oracle.c')
-rw-r--r-- | ext/oracle/oracle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index 05894d0721..c9f1507c77 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -1518,7 +1518,7 @@ PHP_FUNCTION(ora_error) } if (argc == 1) { - res = zend_fetch_resource(arg, -1,"Oracle-Connection/Cursor",&what,3,le_conn, le_pconn, le_cursor); + res = zend_fetch_resource(arg TSRMLS_CC, -1,"Oracle-Connection/Cursor",&what,3,le_conn, le_pconn, le_cursor); ZEND_VERIFY_RESOURCE(res); if (what == le_cursor) { @@ -1550,7 +1550,7 @@ PHP_FUNCTION(ora_errorcode) } if (argc == 1) { - res = zend_fetch_resource(arg, -1,"Oracle-Connection/Cursor",&what,3,le_conn, le_pconn, le_cursor); + res = zend_fetch_resource(arg TSRMLS_CC, -1,"Oracle-Connection/Cursor",&what,3,le_conn, le_pconn, le_cursor); ZEND_VERIFY_RESOURCE(res); if (what == le_cursor) { @@ -1595,7 +1595,7 @@ ora_get_cursor(HashTable *list, pval **ind) oraConnection *db_conn; TSRMLS_FETCH(); - cursor = (oraCursor *) zend_fetch_resource(ind, -1, "Oracle-Cursor", NULL, 1, le_cursor); + cursor = (oraCursor *) zend_fetch_resource(ind TSRMLS_CC, -1, "Oracle-Cursor", NULL, 1, le_cursor); if (! cursor) { return NULL; } |