Index: sqlx/Cargo.toml =================================================================== --- sqlx.orig/Cargo.toml +++ sqlx/Cargo.toml @@ -166,23 +166,23 @@ name = "mysql-error" path = "tests/mysql/error.rs" required-features = ["mysql"] -[[test]] -name = "mysql-test-attr" -path = "tests/mysql/test-attr.rs" -required-features = [ - "mysql", - "macros", - "migrate", -] - -[[test]] -name = "mysql-migrate" -path = "tests/mysql/migrate.rs" -required-features = [ - "mysql", - "macros", - "migrate", -] +#[[test]] +#name = "mysql-test-attr" +#path = "tests/mysql/test-attr.rs" +#required-features = [ +# "mysql", +# "macros", +# "migrate", +#] + +#[[test]] +#name = "mysql-migrate" +#path = "tests/mysql/migrate.rs" +#required-features = [ +# "mysql", +# "macros", +# "migrate", +#] [[test]] name = "mysql-rustsec" @@ -225,37 +225,38 @@ name = "postgres-error" path = "tests/postgres/error.rs" required-features = ["postgres"] -[[test]] -name = "postgres-test-attr" -path = "tests/postgres/test-attr.rs" -required-features = [ - "postgres", - "macros", - "migrate", -] - -[[test]] -name = "postgres-migrate" -path = "tests/postgres/migrate.rs" -required-features = [ - "postgres", - "macros", - "migrate", -] +#[[test]] +#name = "postgres-test-attr" +#path = "tests/postgres/test-attr.rs" +#required-features = [ +# "postgres", +# "macros", +# "migrate", +#] + +#[[test]] +#name = "postgres-migrate" +#path = "tests/postgres/migrate.rs" +#required-features = [ +# "postgres", +# "macros", +# "migrate", +#] [[test]] name = "postgres-query-builder" path = "tests/postgres/query_builder.rs" required-features = ["postgres"] -[[test]] -name = "postgres-rustsec" -path = "tests/postgres/rustsec.rs" -required-features = [ - "postgres", - "macros", - "migrate", -] +# requires database +#[[test]] +#name = "postgres-rustsec" +#path = "tests/postgres/rustsec.rs" +#required-features = [ +# "postgres", +# "macros", +# "migrate", +#] [[bench]] name = "sqlite-describe" Index: sqlx/tests/mysql/macros.rs =================================================================== --- sqlx.orig/tests/mysql/macros.rs +++ sqlx/tests/mysql/macros.rs @@ -186,7 +186,7 @@ async fn test_column_override_nullable() Ok(()) } -async fn with_test_row<'a>( +/*async fn with_test_row<'a>( conn: &'a mut MySqlConnection, ) -> anyhow::Result<(Transaction<'a, MySql>, MyInt)> { let mut transaction = conn.begin().await?; @@ -195,7 +195,7 @@ async fn with_test_row<'a>( .await? .last_insert_id(); Ok((transaction, MyInt(id as i64))) -} +}*/ #[derive(PartialEq, Eq, Debug, sqlx::Type)] #[sqlx(transparent)]