wiki.techinc.nl/maintenance/archives/patch-objectcache-exptime-notnull.sql
Amir Sarabadani 61f0f55535 Truncate objectcache before changing exptime field
If there's data in it, the system fails. update.php already does it but
there might be a chance that something on the way writes to the table.

Bug: T273061
Change-Id: I5159774460c046627e6f506926cfcab820bc1993
2021-01-27 18:32:26 +00:00

4 lines
172 B
SQL

-- Clean the table first otherwise setting datatype of exptime would fail.
DELETE FROM /*_*/objectcache;
ALTER TABLE /*_*/objectcache
MODIFY exptime BINARY(14) NOT NULL;