1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131
|
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)]
|