From 7c5c0fbbea8830668f0b609fe9dc30c382742a53 Mon Sep 17 00:00:00 2001 From: "Frank M. Kromann" Date: Wed, 19 May 2004 18:04:47 +0000 Subject: [PATCH] Set correct Win32 line endings and fix ZTS compilation --- ext/pdo/pdo_dbh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)); } } /* }}} */ -- 2.40.0