r107964 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r107963
|
r107964
|
r107965
>
Date:
23:42, 3 January 2012
Author:
mah
Status:
ok
Tags:
Comment:
re
Bug 31007
- rebuildrecentchanges.php fails for Postgresql with strings for integers
Authors: "Max" and Tim Landscheidt
Unquote 'null'
Modified paths:
/trunk/phase3/CREDITS
(modified) (
history
)
/trunk/phase3/maintenance/rebuildrecentchanges.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/maintenance/rebuildrecentchanges.php
—
—
@@ -119,11 +119,11 @@
120
120
if ( $row ) {
121
121
$lastOldId = intval( $row->rev_id );
122
122
# Grab the last text size if available
123
- $lastSize = !is_null( $row->rev_len ) ? intval( $row->rev_len ) : 'NULL';
123
+ $lastSize = !is_null( $row->rev_len ) ? intval( $row->rev_len ) : null;
124
124
} else {
125
125
# No previous edit
126
126
$lastOldId = 0;
127
- $lastSize = 'NULL';
127
+ $lastSize = null;
128
128
$new = 1; // probably true
129
129
}
130
130
}
Index: trunk/phase3/CREDITS
—
—
@@ -131,6 +131,7 @@
132
132
* Mathias Ertl
133
133
* Matthew Britton
134
134
* mati
135
+* Max
135
136
* Max Sikström
136
137
* merl
137
138
* Michael Dale
—
—
@@ -170,6 +171,7 @@
171
172
* Str4nd
172
173
* svip
173
174
* The Evil IP address
175
+* Tim Landscheidt
174
176
* Tisane
175
177
* Umherirrender
176
178
* Van de Bugger
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r97544
* (
bug 31007
) Fix regression in rebuildrecentchanges maintenance script...
brion
20:00, 19 September 2011
r97545
MFT
r97544
: fix
bug 31007
regression in
r77778
brion
20:02, 19 September 2011
r97546
MFT
r97544
: fix
bug 31007
regression in
r77778
brion
20:02, 19 September 2011
Status & tagging log
17:04, 4 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
tags
for r107964
[]
17:03, 4 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
tags
for r107964
[]
17:02, 4 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
tags
for r107964
[]
17:02, 4 January 2012
Johnduhart
(
talk
|
contribs
)
changed the
tags
for r107964
[]
09:59, 4 January 2012
Nikerabbit
(
talk
|
contribs
)
changed the
status
of r107964
[
removed:
new
added:
ok]