EllisLab/CodeIgniter — pull request #792 by a-krebs (2011-12-17 08:05:44+00:00)
Title: fix to issue #696

Was doing a small project with oracle and noticed transactions were not working. Followed the bug back to the way rows are counted in the oci driver. Iterating through the oci result set and building an array of result objects while also counting rows works, but running the query a second time to reset the oci cursor breaks transactions (since the query is committed, even though it's only a select). Running the second query in non-commit mode is a workable fix, see the notes I've made on the issue page for more in-depth discussion.