fix(mysql): add missing type Database to Executor impl

This commit is contained in:
Ryan Leckey 2021-01-26 01:22:00 -08:00
parent 5836e1eb63
commit 1b3e9a990f
No known key found for this signature in database
GPG Key ID: F8AA68C235AB08C9

View File

@ -98,6 +98,8 @@ impl<Rt: Runtime> Connection<Rt> for MySqlConnection<Rt> {
}
impl<Rt: Runtime> Executor<Rt> for MySqlConnection<Rt> {
type Database = MySql;
#[cfg(feature = "async")]
fn execute<'x, 'e, 'q>(&'e mut self, sql: &'q str) -> BoxFuture<'x, Result<()>>
where