* Searches by path are not used by any code, and small blobs
are stored with the rest of the row in innoDB, so there is
no gain there. The field is mostly a hangover from a use case
that never materialized (where it would be indexed).
Change-Id: I5515f15bd35823736138a79a4942c7207e519e5c
* Construct a new instance from configuration.
* $config includes:
* 'wiki' : wiki name to use for LoadBalancer
- *
+ *
* @param $config Array
*/
protected function __construct( array $config ) {
'fj_backend' => $this->backend,
'fj_op' => $entry['op'],
'fj_path' => $entry['path'],
- 'fj_path_sha1' => wfBaseConvert( sha1( $entry['path'] ), 16, 36, 31 ),
'fj_new_sha1' => $entry['newSha1'],
'fj_timestamp' => $dbw->timestamp( $now )
);
fj_backend varchar(255) NOT NULL,
-- The storage path that was affected (may be internal paths)
fj_path blob NOT NULL,
- -- SHA-1 file path hash in base-36
- fj_path_sha1 varbinary(32) NOT NULL default '',
-- Primitive operation description (create/update/delete)
fj_op varchar(16) NOT NULL default '',
-- SHA-1 file content hash in base-36