Fix a issue with affect_rows in CI_DB_pdo_driver::_execute()

In case of SELECT queries PDOStatement::rowCount doesn't work as expected. This commit
makes affect_rows be initialized properly.

Signed-off-by: Rogerio Prado de Jesus <rogeriopradoj@gmail.com>
2 files changed
tree: 3cecc7877bf63e781e143490e1676d4921c7abbf
  1. .gitignore
  2. application/
  3. index.php
  4. license.txt
  5. system/
  6. user_guide/