Page MenuHomePhabricator

drop unused fields recentchanges.rc_moved_to_ns and recentchanges.rc_moved_to_title
Closed, ResolvedPublic

Description

The fields rc_moved_to_ns and rc_moved_to_title of the recentchanges table are always set to 0 and empty string. The comment in tables.sql is "These may no longer be used, with the new move log."

Please drop that unused fields from the database.

Thanks.


Version: 1.20.x
Severity: enhancement

Details

Reference
bz34960

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 12:11 AM
bzimport set Reference to bz34960.

successfully merged

Field is defaultable, that means, you can remove it from your insert statement and that will not break. Thats why wmf can still use this columns.
The message sounds like it is used in a select or insert and not in the database. That can only be happen, when downgrad your installation from 1.21 to 1.20.

Change 82117 had a related patch set uploaded by Martineznovo:
drop unused fields rc_moved_to_ns/rc_moved_to_title

https://gerrit.wikimedia.org/r/82117

Change 82117 merged by Reedy:
drop unused fields rc_moved_to_ns/rc_moved_to_title

https://gerrit.wikimedia.org/r/82117