/**
  * Magic getter for public properties of \mysqli_stmt access
  * by \TYPO3\CMS\Core\Database\PreparedStatement.
  *
  * @param string $name
  * @return mixed
  */
 public function __get($name)
 {
     switch ($name) {
         case 'errno':
             $output = $this->databaseConnection->sql_errno();
             break;
         case 'error':
             $output = $this->databaseConnection->sql_error();
             break;
         case 'num_rows':
             $output = $this->databaseConnection->sql_num_rows($this->recordSet);
             break;
         default:
             throw new \RuntimeException('Cannot access property ' . $name, 1394631927);
     }
     return $output;
 }