Issue #13810: This should fix the DELETE statement for MySQL (UNTESTED!).
authorJan Wagner-Rosenkranz <wagner@netsols.de>
Wed, 9 Jan 2013 11:39:40 +0000 (12:39 +0100)
committerS. Davilla <davilla@4pi.com>
Fri, 11 Jan 2013 13:58:50 +0000 (08:58 -0500)
commite47b0198043e23b9f29174e739da029c148134b3
treed8acff837eb0888772f89a5420df9498ff15d813
parentb935f293156f7fcde1cc83ad45e8d1ca2dec65be
Issue #13810: This should fix the DELETE statement for MySQL (UNTESTED!).

MySQL does not allow for SubSelects on the table you are updating or deleting from. So we have to use a statement with joins instead. Unfortunatly DeleteValues does not support the needed syntax, so we just execute the plain query.
xbmc/pvr/PVRDatabase.cpp