From 7b1c4006312aca67308d72068364e3666219fd41 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 30 Jul 2001 04:58:07 +0000 Subject: More TSRMLS_FETCH annihilation (Zend compatibility patch) --- ext/oracle/oracle.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/oracle/oracle.c') 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; } -- cgit v1.2.1