MediaWiki
REL1_19
|
To speed up conversion from 1.4 to 1.5 schema, text rows can refer to the leftover cur table as the backend. More...
Public Member Functions | |
__construct ($curid=0) | |
getText () | |
setLocation ($id) | |
Sets the location (cur_id) of the main object to which this object points. | |
Public Attributes | |
$mCurId |
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 280 of file HistoryBlob.php.
HistoryBlobCurStub::__construct | ( | $ | curid = 0 | ) |
$curid | Integer: the cur_id pointed to |
Definition at line 286 of file HistoryBlob.php.
Definition at line 303 of file HistoryBlob.php.
References $dbr, and wfGetDB().
HistoryBlobCurStub::setLocation | ( | $ | id | ) |
Sets the location (cur_id) of the main object to which this object points.
$id | int |
Definition at line 296 of file HistoryBlob.php.
HistoryBlobCurStub::$mCurId |
Definition at line 281 of file HistoryBlob.php.