[ticket/11224] SQL cache destroy does not destroy queries to tables joined

https://tracker.phpbb.com/browse/PHPBB3-11224

PHPBB3-11224