r41229 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r41228
|
r41229
|
r41230
>
Date:
16:09, 24 September 2008
Author:
aaron
Status:
old
Tags:
Comment:
Revert untested code change from
r41086
. Don't call methods on non-objects, the fatal will stop even with the error catching.
Modified paths:
/trunk/phase3/includes/ExternalStoreDB.php
(modified) (
history
)
Diff
[
purge
]
Index: trunk/phase3/includes/ExternalStoreDB.php
—
—
@@ -123,7 +123,9 @@
124
124
*/
125
125
function store( $cluster, $data ) {
126
126
$dbw = $this->getMaster( $cluster );
127
-
127
+ #if( !$dbw ) {
128
+ # return false;
129
+ #}
128
130
$id = $dbw->nextSequenceValue( 'blob_blob_id_seq' );
129
131
$dbw->insert( $this->getTable( $dbw ),
130
132
array( 'blob_id' => $id, 'blob_text' => $data ),
Follow-up revisions
Revision
Commit summary
Author
Date
r41234
Revert some recent ES-related changes -- they made behavior much worse when w...
brion
18:09, 24 September 2008
r41329
* Revert revert
r41234
of ES-related changes. The site_stats complaint should...
tstarling
01:42, 28 September 2008
Past revisions this follows-up on
Revision
Commit summary
Author
Date
r41086
Revert/rewrite of
r40696
....
tstarling
06:42, 21 September 2008