* @see Database
*/
class DatabaseMysqli extends DatabaseMysqlBase {
- /** @var $mConn mysqli */
+ /** @var mysqli $mConn */
/**
* @param string $sql
$mysqli->ssl_set(
$this->sslKeyPath,
$this->sslCertPath,
- null,
+ $this->sslCAFile,
$this->sslCAPath,
$this->sslCiphers
);
protected function mysqlRealEscapeString( $s ) {
$conn = $this->getBindingHandle();
- return $conn->real_escape_string( $s );
+ return $conn->real_escape_string( (string)$s );
}
/**