fix(mysql): Argument::type_id no longer has a parameter

This commit is contained in:
Ryan Leckey 2021-02-26 00:18:41 -08:00
parent 5e1743fd3f
commit 0ae59643de
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9

View File

@ -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