dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
a88df43
)
Merge "Database debug log cleanup (remove wgDebugDumpSqlLength/wgDebugDBTransactions)"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Mon, 5 Oct 2015 19:57:45 +0000
(19:57 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 5 Oct 2015 19:57:45 +0000
(19:57 +0000)
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
41e6e77
..
2bd436e
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-1729,7
+1729,7
@@
abstract class DatabaseBase implements IDatabase {
*
* @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 );