Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#8525 closed enhancement (fixed)

Truncate additional tables when using "Delete All Video Sources"

Reported by: Nick Morrott <knowledgejunkie (at) gmail (dot) com> Owned by: sphery
Priority: minor Milestone: 0.24
Component: MythTV - Mythtv-setup Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When deleting all video sources, current behaviour does not truncate the eit_cache, channelgroup or channelgroupnames tables. The eit_cache and channelgroup tables are keyed agaisnt chanid, which is lost when truncating the channel table. It therefore seems sensible to truncate these tables to remove this stale data.

Patch is against trunk @ r24387.

Attachments (1)

8525-truncate-tables.diff (664 bytes) - added by Nick Morrott <knowledgejunkie (at) gmail (dot) com> 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Nick Morrott <knowledgejunkie (at) gmail (dot) com>

Attachment: 8525-truncate-tables.diff added

comment:1 Changed 8 years ago by robertm

Owner: changed from Isaac Richards to sphery
Status: newassigned

comment:2 Changed 8 years ago by sphery

Resolution: fixed
Status: assignedclosed

(In [26236]) Truncate additional tables that depend on the chanid when "Delete all video sources" is selected. Fixes #8525 using patch from Nick Morrott.

comment:3 Changed 8 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.