jenkins-bot has submitted this change and it was merged.
Change subject: Pass function name in SearchMySQL::minSearchLength
......................................................................
Pass function name in SearchMySQL::minSearchLength
This allow to see the correct function name in the debug logs
Change-Id: Ic18120ead47d4647943473d4aa1c5c795669d2c0
---
M includes/search/SearchMySQL.php
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Legoktm: Looks good to me, approved
jenkins-bot: Verified
diff --git a/includes/search/SearchMySQL.php b/includes/search/SearchMySQL.php
index fa2423b..246f115 100644
--- a/includes/search/SearchMySQL.php
+++ b/includes/search/SearchMySQL.php
@@ -439,7 +439,7 @@
$sql = "SHOW GLOBAL VARIABLES LIKE
'ft\\_min\\_word\\_len'";
$dbr = wfGetDB( DB_SLAVE );
- $result = $dbr->query( $sql );
+ $result = $dbr->query( $sql, __METHOD__ );
$row = $result->fetchObject();
$result->free();
--
To view, visit https://gerrit.wikimedia.org/r/224363
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic18120ead47d4647943473d4aa1c5c795669d2c0
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Umherirrender <[email protected]>
Gerrit-Reviewer: Legoktm <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits