public function updateRole(RoleUpdateStruct $role)
{
$query = $this->handler->createUpdateQuery();
$query->update($this->handler->quoteTable('ezrole'))->set($this->handler->quoteColumn('name'), $query->bindValue($role->identifier))->where($query->expr->eq($this->handler->quoteColumn('id'), $query->bindValue($role->id, null, \PDO::PARAM_INT)));
$statement = $query->prepare();
$statement->execute();
// Commented due to EZP-24698: Role update leads to NotFoundException
// Should be fixed with PDO::MYSQL_ATTR_FOUND_ROWS instead
/*if ($statement->rowCount() < 1) {
throw new NotFoundException('role', $role->id);
}*/
}