summaryrefslogtreecommitdiff
path: root/buildmaster/mysql-issues.php
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-23 10:31:54 +0100
committerErich Eckner <git@eckner.net>2018-11-23 10:31:54 +0100
commit97f155c7fad719c7a75842a30e37cd6390f3c0d8 (patch)
tree1e2c1e4559580f4976c100755d8a6fffeb61b706 /buildmaster/mysql-issues.php
parent9374219cc93f5bb0279a184f4944c83b63cdeba1 (diff)
downloadarchweb32-97f155c7fad719c7a75842a30e37cd6390f3c0d8.tar.xz
buildmaster/mysql-issues.php: num_rows is already the count
Diffstat (limited to 'buildmaster/mysql-issues.php')
-rw-r--r--buildmaster/mysql-issues.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildmaster/mysql-issues.php b/buildmaster/mysql-issues.php
index 1ca07bc..292ba3f 100644
--- a/buildmaster/mysql-issues.php
+++ b/buildmaster/mysql-issues.php
@@ -81,7 +81,7 @@ require_once BASE . "/lib/mysql.php";
"`install_targets`.`name`"
);
- print " Found " . count( $result -> num_rows ) . " serious issues.<br>\n";
+ print " Found " . $result -> num_rows . " serious issues.<br>\n";
while ( $row = $result -> fetch_assoc() ) {
if ($row["is_to_be_deleted"]==1)
@@ -158,7 +158,7 @@ require_once BASE . "/lib/mysql.php";
" ORDER BY `binary_packages_in_repositories`.`is_to_be_deleted`,`binary_packages`.`pkgname`,`install_targets`.`name`"
);
- print " Found " . count( $result -> num_rows ) . " stability issues.<br>\n";
+ print " Found " . $result -> num_rows . " stability issues.<br>\n";
while ( $row = $result -> fetch_assoc() ) {
if ($row["is_to_be_deleted"]==1)