mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
fix(mysql): Argument::type_id no longer has a parameter
This commit is contained in:
parent
5e1743fd3f
commit
0ae59643de
@ -45,7 +45,7 @@ impl Serialize<'_> for Execute<'_, '_> {
|
||||
for param in self.parameters {
|
||||
if let Some(argument) = args.next() {
|
||||
argument.encode(param, &mut out)?;
|
||||
out.declare(argument.type_id(param));
|
||||
out.declare(argument.type_id());
|
||||
} else {
|
||||
// if we run out of values, start sending NULL for
|
||||
// each subsequent parameter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user