<div dir="ltr">On Thu, Sep 15, 2016 at 6:45 PM Karl Newman <<a href="mailto:newmank1@asme.org">newmank1@asme.org</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>After being prompted by a friend that I should check out (more) Coen brothers movies, I turned to Myth to seek them out. I played around with the People search but discovered that for now I really just wanted movies where one of the brothers was the director. So I tried linking in the people and credits tables and modified it to "<a href="http://person.name" target="_blank">person.name</a> LIKE '%Coen'" and limiting it to director from credits.role, etc. When I saved the rule it locked up mythbackend (I was trying to create the rule using mythweb). I couldn't even kill -9 the mythbackend process, so I rebooted. This happened a couple more times with different variations so I decided to move to Mythfrontend. I started with the Tom Hanks example and put in 'Joel Coen' and used the Test function and it worked. Then I added "AND FIND_IN_SET('DIRECTOR', credits.role)>0" to the rule and the Test still worked. Then I added "<a href="http://person.name" target="_blank">person.name</a> LIKE '%Coen'" and it locked up mythfrontend and I think also mythbackend, which was weird because I thought it was supposed to be isolated. Rebooted, then tried "<a href="http://person.name" target="_blank">person.name</a> = 'Joel Coen' OR <a href="http://person.name" target="_blank">person.name</a> = 'Ethan Coen'" and it locked up mythfrontend again. I gave up and went to bed, thinking everything was still working but this morning discovered that all my recordings overnight had failed, even though mythbackend appeared to still be nominally working. A ps aux showed me that my nightly database backup was stalled, implying that mysql was frozen. The mysqld.err log file showed nothing leading up to the lockup. So, it appears that mucking with the <a href="http://person.name" target="_blank">person.name</a> clause in the query gives MariaDB heartburn. For my purposes, I can probably solve this with two different rules (one for each brother) but I am curious why that query should make MariaDB lock up.<br><br></div><div>I welcome your answers (or speculation...)<br></div><div><br></div>Karl<br></div></blockquote><div><br></div><div>Since I only want the "Brian Cox" that hosts documentaries, I have this rule:<br><br> <a href="http://people.name">people.name</a> = 'Brian Cox' AND credits.person = people.person AND credits.role = 'Host' AND program.chanid = credits.chanid AND program.starttime = credits.starttime<br><br></div><div>For that to work, the 'Additional Tables' needs to have:<br><br>,credits,people<br><br><br></div><div>John<br><br></div></div></div>