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:
75b0ad5
)
Fix changes for Ia1878588 to work with databases that use non-integer timestamps.
author
Brent Garber
<overlordq@gmail.com>
Thu, 3 Jan 2013 23:05:17 +0000
(23:05 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sun, 20 Jan 2013 21:25:31 +0000
(21:25 +0000)
Change-Id: Id51ab135baa35440005b38f2f2f466f4378deb31
includes/actions/InfoAction.php
patch
|
blob
|
history
diff --git
a/includes/actions/InfoAction.php
b/includes/actions/InfoAction.php
index
642515b
..
dedc61f
100644
(file)
--- a/
includes/actions/InfoAction.php
+++ b/
includes/actions/InfoAction.php
@@
-601,8
+601,8
@@
class InfoAction extends FormlessAction {
'revision',
'COUNT(rev_page)',
array(
- 'rev_page' => $id
,
- "rev_timestamp >=
$threshold"
+ 'rev_page' => $id,
+ "rev_timestamp >=
" . $dbr->addQuotes( $threshold )
),
__METHOD__
);
@@
-614,7
+614,7
@@
class InfoAction extends FormlessAction {
'COUNT(DISTINCT rev_user_text)',
array(
'rev_page' => $id,
- "rev_timestamp >=
$threshold"
+ "rev_timestamp >=
" . $dbr->addQuotes( $threshold )
),
__METHOD__
);