HistoryBlobCurStub Class Reference

To speed up conversion from 1.4 to 1.5 schema, text rows can refer to the leftover cur table as the backend. More...

List of all members.

Public Member Functions

 HistoryBlobCurStub ($curid=0)
 setLocation ($id)
 Sets the location (cur_id) of the main object to which this object points.
 getText ()

Public Attributes

 $mCurId


Detailed Description

To speed up conversion from 1.4 to 1.5 schema, text rows can refer to the leftover cur table as the backend.

This avoids expensively copying hundreds of megabytes of data during the conversion downtime.

Serialized HistoryBlobCurStub objects will be inserted into the text table on conversion if $wgFastSchemaUpgrades is set to true.

Definition at line 245 of file HistoryBlob.php.


Member Function Documentation

HistoryBlobCurStub::getText (  ) 

Definition at line 263 of file HistoryBlob.php.

References $dbr, $row, and wfGetDB().

HistoryBlobCurStub::HistoryBlobCurStub ( curid = 0  ) 

Parameters:
integer $curid The cur_id pointed to

Definition at line 251 of file HistoryBlob.php.

HistoryBlobCurStub::setLocation ( id  ) 

Sets the location (cur_id) of the main object to which this object points.

Definition at line 259 of file HistoryBlob.php.


Member Data Documentation

HistoryBlobCurStub::$mCurId

Definition at line 246 of file HistoryBlob.php.


The documentation for this class was generated from the following file:

Generated on Sat Sep 5 02:08:38 2009 for MediaWiki by  doxygen 1.5.9