/**
  * Selects a database to use
  *
  * @param	string	The name of the database located on the database server(s)
  *
  * @return	boolean
  */
 function select_db($database = '')
 {
     $check_write = parent::select_db($database);
     $check_read = @$this->select_db_wrapper($this->database, $this->connection_slave);
     $this->connection_recent =& $this->connection_slave;
     return $check_write and $check_read;
 }