make us of db_affected_rows($result) instead of using db specific functions
Merge pull request #162 from swiffer/master

make us of db_affected_rows($result) instead of using db specific functions
Merge remote-tracking branch 'upstream/master'