mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
Update tp2 to patch Diesel
Summary: @[1636530097:mung] reported that there was a bug wherein Diesel was incorrectly using MySQL's API by incorrectly calling `mysql_store_result` after `mysql_next_result` indicates that no more results are available. This behavior [appears to be intentional](705cdbe1fe/diesel/src/mysql/connection/raw.rs (L160)
), but directly contradicts what the [documentation says is correct](https://dev.mysql.com/doc/refman/8.0/en/mysql-store-result.html). In MySQL 8.0, this results in the client getting an error for incorrect usage of the API. I've added a local patch to [our fork of Diesel](https://github.com/kulshrax/diesel) on Github to [remove the extra call to `mysql_store_result`](7ae79c193e
), and rebuilt the `rust-crates-io` tp2 project to use this version of Diesel. This diff updates the symlinks in fbcode to point to the updated tp2 project. Reviewed By: lth Differential Revision: D7961290 fbshipit-source-id: 804c599a5688cd54fb0fcc33688c608d068d7a7b
This commit is contained in:
parent
7e540c6dbc
commit
4483e94781
@ -230,6 +230,7 @@ fn wireprotocaps() -> Vec<String> {
|
||||
"gettreepack".to_string(),
|
||||
"remotefilelog".to_string(),
|
||||
"pushkey".to_string(),
|
||||
"clienttelemetry".to_string(),
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user