dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca30efa
)
Make generalizeSQL() protected
author
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 4 Oct 2015 09:48:55 +0000
(
02:48
-0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Sun, 4 Oct 2015 09:48:55 +0000
(
02:48
-0700)
Change-Id: Ib1317576b82993adf5ae454f9ecd8bd148a58cc9
includes/db/Database.php
patch
|
blob
|
history
diff --git
a/includes/db/Database.php
b/includes/db/Database.php
index
4bbb491
..
ab61408
100644
(file)
--- a/
includes/db/Database.php
+++ b/
includes/db/Database.php
@@
-1756,7
+1756,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 );