Oliver Bone

Results 4 issues of Oliver Bone

`os.File` offers a `Chmod()` method. This is often safer and more direct to use than `os.Chmod()` because it operates on an open file descriptor rather than having to lookup the...

### Issue description MySQL 8.0.24 changed the server-side behaviour when encountering a `wait_timeout`. The client now receives an error packet with [`ER_CLIENT_INTERACTION_TIMEOUT`](https://dev.mysql.com/doc/mysql-errors/8.0/en/server-error-reference.html#error_er_client_interaction_timeout) rather than just finding an EOF. Another GitHubber...

### Issue description In https://github.com/go-sql-driver/mysql/issues/1393, I described a situation that can frequently cause `ErrPktSync` errors in very busy services, when the local timeout is greater than the `wait_timeout`. In one...

### Issue description This is similar to https://github.com/go-sql-driver/mysql/issues/1392 but much harder to reproduce and causes real failures. https://github.com/go-sql-driver/mysql/issues/1392 describes the situation where the "new" `ER_CLIENT_INTERACTION_TIMEOUT` error packet is received on...