Fixed comments in db.php, added missing @param entries.