PMA_DBI_affected_rows

This commit is contained in:
Marc Delisle
2004-01-20 21:03:31 +00:00
parent a69eb2ebbc
commit a7bd761f3f
6 changed files with 19 additions and 7 deletions

View File

@@ -215,8 +215,8 @@ foreach($query AS $query_index => $single_query) {
PMA_mysqlDie($error, '', '', $err_url);
}
} else {
if (@mysql_affected_rows()) {
$total_affected_rows += @mysql_affected_rows();
if (@PMA_DBI_affected_rows()) {
$total_affected_rows += @PMA_DBI_affected_rows();
}
$insert_id = PMA_DBI_insert_id();