/**
  * returns the number of rows affected by last query
  *
  * @param PMA_DrizzleResult $link connection object
  *
  * @return int
  */
 public function affectedRows($link)
 {
     return $link->affectedRows();
 }
 /**
  * Returns the number of rows affected by last query
  *
  * @return int|false
  */
 public function affectedRows()
 {
     return $this->_lastResult ? $this->_lastResult->affectedRows() : false;
 }
 /**
  * returns the number of rows affected by last query
  *
  * @param PMA_DrizzleResult $link connection object
  *
  * @return int
  */
 public function affectedRows($link)
 {
     $affectedRows = $link->affectedRows();
     return $affectedRows !== false ? $affectedRows : 0;
 }