mirror of
https://github.com/php/php-src.git
synced 2024-12-11 10:54:47 +08:00
Set correct Win32 line endings and fix ZTS compilation
This commit is contained in:
parent
074ba3fbc0
commit
7c5c0fbbea
@ -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));
|
||||
}
|
||||
}
|
||||
/* }}} */
|
||||
|
Loading…
Reference in New Issue
Block a user