This commit is contained in:
Brian West
2011-01-05 11:45:48 -06:00
parent 5bb525e1ea
commit d79cf48475
11 changed files with 110 additions and 3 deletions
@@ -384,3 +384,11 @@ bool Dbh::query(char *sql, SWIGLUA_FN lua_fun)
}
return false;
}
int Dbh::affected_rows()
{
if (m_connected) {
return switch_cache_db_affected_rows(dbh);
}
return 0;
}