Fixes issue 6297: mysql.processlist no longer recurses infinitely