Umherirrender has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/224181

Change subject: Pass function name in Database::selectRowCount
......................................................................

Pass function name in Database::selectRowCount

This allow to see the correct function name in the debug logs

Change-Id: I84c94edce60efb8f15a7eb178065ee03e85fc282
---
M includes/db/Database.php
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core 
refs/changes/81/224181/1

diff --git a/includes/db/Database.php b/includes/db/Database.php
index 84c4a66..2f1155d 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -1912,7 +1912,7 @@
        ) {
                $rows = 0;
                $sql = $this->selectSQLText( $table, '1', $conds, $fname, 
$options );
-               $res = $this->query( "SELECT COUNT(*) AS rowcount FROM ($sql) 
tmp_count" );
+               $res = $this->query( "SELECT COUNT(*) AS rowcount FROM ($sql) 
tmp_count", $fname );
 
                if ( $res ) {
                        $row = $this->fetchRow( $res );

-- 
To view, visit https://gerrit.wikimedia.org/r/224181
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I84c94edce60efb8f15a7eb178065ee03e85fc282
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <umherirrender_de...@web.de>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to