From: Frank M. Kromann Date: Wed, 19 May 2004 18:04:47 +0000 (+0000) Subject: Set correct Win32 line endings and fix ZTS compilation X-Git-Tag: RELEASE_0_1~98 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7c5c0fbbea8830668f0b609fe9dc30c382742a53;p=php Set correct Win32 line endings and fix ZTS compilation --- diff --git a/ext/pdo/pdo_dbh.c b/ext/pdo/pdo_dbh.c index 3151712aa2..b53637ef16 100755 --- a/ext/pdo/pdo_dbh.c +++ b/ext/pdo/pdo_dbh.c @@ -290,7 +290,7 @@ static PHP_METHOD(PDO, affectedRows) if (!dbh->methods->affected) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "This driver affected rows retrieval."); } else { - RETURN_LONG(dbh->methods->affected(dbh)); + RETURN_LONG(dbh->methods->affected(dbh TSRMLS_CC)); } } /* }}} */ @@ -308,7 +308,7 @@ static PHP_METHOD(PDO, lastInsertId) if (!dbh->methods->last_id) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "This driver last inserted id retrieval."); } else { - RETURN_LONG(dbh->methods->last_id(dbh)); + RETURN_LONG(dbh->methods->last_id(dbh TSRMLS_CC)); } } /* }}} */