Skip to content

Commit

Permalink
fix MySQL AnyQueryResult
Browse files Browse the repository at this point in the history
  • Loading branch information
pxp9 committed Nov 23, 2024
1 parent e14b89d commit db6d619
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-mysql/src/query_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl From<MySqlQueryResult> for crate::any::AnyQueryResult {
fn from(done: MySqlQueryResult) -> Self {
crate::any::AnyQueryResult {
rows_affected: done.rows_affected,
last_insert_id: Some(done.last_insert_id),
last_insert_id: Some(done.last_insert_id.try_into().unwrap()),
}
}
}

0 comments on commit db6d619

Please sign in to comment.