public function affectedRows($link = null, $get_from_cache = true)
{
$link = $this->getLink($link);
if ($link === false) {
return false;
}
if ($get_from_cache) {
return $GLOBALS['cached_affected_rows'];
} else {
return $this->_extension->affectedRows($link);
}
}