When is saw the latest change, I thought the same as Arne, one `if` would be better code style.
If you want to change this, you could also add a short comment. Something like this:
```go
// Check for warnings count > 0, only available in MySQL > 4.1
```