Also added token and flags fields. The token field can be used as a tie-breaker for modtime and also for faster cas() operations. The flags field makes serialization and compression format changes easier in the future. Bug: T274174 Change-Id: I45731a877b21835652993c2d285165a76eeae3e9
8 lines
No EOL
440 B
SQL
8 lines
No EOL
440 B
SQL
-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
|
|
-- Source: maintenance/abstractSchemaChanges/patch-objectcache-modtoken.json
|
|
-- Do not modify this file directly.
|
|
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
|
|
ALTER TABLE /*_*/objectcache
|
|
ADD COLUMN modtoken VARCHAR(17) DEFAULT '00000000000000000' NOT NULL;
|
|
ALTER TABLE /*_*/objectcache
|
|
ADD COLUMN flags INTEGER UNSIGNED DEFAULT NULL; |