xbmc/xbmc — pull request #5145 by Montellese (2014-08-03 21:32:48+00:00)
Title: videodb: use triggers to delete items from link tables

While going through something in CVideoDatabase::Clean() I realized that some of the link tables (e.g. movielinkdirector) are manually kept in sync with the media item table (in this case movie) and others are handled through TRIGGERS (art and taglinks). This moves all these link tables to be handled by triggers to improve consistancy.

Needs testing on mysql.