There are some scenarios where the mysql handle in MySQLQuery isn't an object. Most code in that class already has protections against that scenario, but rewind() doesn't.
That can be triggered by using ?showqueries=1 in the URL.
NOTE: I can't reproduce the bug on 5.1, but I was getting it on 5.x - and ultimately this condition should have always been there anyway.
There are some scenarios where the mysql handle in
MySQLQuery
isn't an object. Most code in that class already has protections against that scenario, butrewind()
doesn't.That can be triggered by using
?showqueries=1
in the URL.NOTE: I can't reproduce the bug on 5.1, but I was getting it on 5.x - and ultimately this condition should have always been there anyway.
PRs