EllisLab/CodeIgniter — pull request #2342 by kylefarris (2013-03-18 19:56:02+00:00)
Title: Update mysql_result.php

I'm not sure what the issue was stemming from, but, my logs were getting loaded up with errors claiming that $this->result_id was not a valid MySQL resource. It wouldn't hurt to make sure that it actually is a valid MySQL resource before using it as such.