jenkins-bot has submitted this change and it was merged.

Change subject: Make generalizeSQL() protected
......................................................................


Make generalizeSQL() protected

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

Approvals:
  Krinkle: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/includes/db/Database.php b/includes/db/Database.php
index 4bbb491..ab61408 100644
--- a/includes/db/Database.php
+++ b/includes/db/Database.php
@@ -1756,7 +1756,7 @@
         *
         * @return string
         */
-       static function generalizeSQL( $sql ) {
+       protected static function generalizeSQL( $sql ) {
                # This does the same as the regexp below would do, but in such 
a way
                # as to avoid crashing php on some large strings.
                # $sql = preg_replace( 
"/'([^\\\\']|\\\\.)*'|\"([^\\\\\"]|\\\\.)*\"/", "'X'", $sql );

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ib1317576b82993adf5ae454f9ecd8bd148a58cc9
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Krinkle <[email protected]>
Gerrit-Reviewer: Parent5446 <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to