示例#1
0
文件: mysqli.php 项目: eyumay/ju.ejhs
 /**
  * Gets the exact number of rows in a specified table.
  *
  * @param string $table_name		Table name
  *
  * @return string				Exact number of rows in $table_name.
  *
  * @access public
  */
 function get_row_count($table_name)
 {
     $table_status = $this->get_table_status($table_name);
     if (isset($table_status['Engine']) && $table_status['Engine'] === 'MyISAM') {
         return $table_status['Rows'];
     }
     return parent::get_row_count($table_name);
 }