| 1 |
Index: sqlx/Cargo.toml |
| 2 |
=================================================================== |
| 3 |
--- sqlx.orig/Cargo.toml |
| 4 |
+++ sqlx/Cargo.toml |
| 5 |
@@ -166,23 +166,23 @@ name = "mysql-error" |
| 6 |
path = "tests/mysql/error.rs" |
| 7 |
required-features = ["mysql"] |
| 8 |
|
| 9 |
-[[test]] |
| 10 |
-name = "mysql-test-attr" |
| 11 |
-path = "tests/mysql/test-attr.rs" |
| 12 |
-required-features = [ |
| 13 |
- "mysql", |
| 14 |
- "macros", |
| 15 |
- "migrate", |
| 16 |
-] |
| 17 |
- |
| 18 |
-[[test]] |
| 19 |
-name = "mysql-migrate" |
| 20 |
-path = "tests/mysql/migrate.rs" |
| 21 |
-required-features = [ |
| 22 |
- "mysql", |
| 23 |
- "macros", |
| 24 |
- "migrate", |
| 25 |
-] |
| 26 |
+#[[test]] |
| 27 |
+#name = "mysql-test-attr" |
| 28 |
+#path = "tests/mysql/test-attr.rs" |
| 29 |
+#required-features = [ |
| 30 |
+# "mysql", |
| 31 |
+# "macros", |
| 32 |
+# "migrate", |
| 33 |
+#] |
| 34 |
+ |
| 35 |
+#[[test]] |
| 36 |
+#name = "mysql-migrate" |
| 37 |
+#path = "tests/mysql/migrate.rs" |
| 38 |
+#required-features = [ |
| 39 |
+# "mysql", |
| 40 |
+# "macros", |
| 41 |
+# "migrate", |
| 42 |
+#] |
| 43 |
|
| 44 |
[[test]] |
| 45 |
name = "mysql-rustsec" |
| 46 |
@@ -225,37 +225,38 @@ name = "postgres-error" |
| 47 |
path = "tests/postgres/error.rs" |
| 48 |
required-features = ["postgres"] |
| 49 |
|
| 50 |
-[[test]] |
| 51 |
-name = "postgres-test-attr" |
| 52 |
-path = "tests/postgres/test-attr.rs" |
| 53 |
-required-features = [ |
| 54 |
- "postgres", |
| 55 |
- "macros", |
| 56 |
- "migrate", |
| 57 |
-] |
| 58 |
- |
| 59 |
-[[test]] |
| 60 |
-name = "postgres-migrate" |
| 61 |
-path = "tests/postgres/migrate.rs" |
| 62 |
-required-features = [ |
| 63 |
- "postgres", |
| 64 |
- "macros", |
| 65 |
- "migrate", |
| 66 |
-] |
| 67 |
+#[[test]] |
| 68 |
+#name = "postgres-test-attr" |
| 69 |
+#path = "tests/postgres/test-attr.rs" |
| 70 |
+#required-features = [ |
| 71 |
+# "postgres", |
| 72 |
+# "macros", |
| 73 |
+# "migrate", |
| 74 |
+#] |
| 75 |
+ |
| 76 |
+#[[test]] |
| 77 |
+#name = "postgres-migrate" |
| 78 |
+#path = "tests/postgres/migrate.rs" |
| 79 |
+#required-features = [ |
| 80 |
+# "postgres", |
| 81 |
+# "macros", |
| 82 |
+# "migrate", |
| 83 |
+#] |
| 84 |
|
| 85 |
[[test]] |
| 86 |
name = "postgres-query-builder" |
| 87 |
path = "tests/postgres/query_builder.rs" |
| 88 |
required-features = ["postgres"] |
| 89 |
|
| 90 |
-[[test]] |
| 91 |
-name = "postgres-rustsec" |
| 92 |
-path = "tests/postgres/rustsec.rs" |
| 93 |
-required-features = [ |
| 94 |
- "postgres", |
| 95 |
- "macros", |
| 96 |
- "migrate", |
| 97 |
-] |
| 98 |
+# requires database |
| 99 |
+#[[test]] |
| 100 |
+#name = "postgres-rustsec" |
| 101 |
+#path = "tests/postgres/rustsec.rs" |
| 102 |
+#required-features = [ |
| 103 |
+# "postgres", |
| 104 |
+# "macros", |
| 105 |
+# "migrate", |
| 106 |
+#] |
| 107 |
|
| 108 |
[[bench]] |
| 109 |
name = "sqlite-describe" |
| 110 |
Index: sqlx/tests/mysql/macros.rs |
| 111 |
=================================================================== |
| 112 |
--- sqlx.orig/tests/mysql/macros.rs |
| 113 |
+++ sqlx/tests/mysql/macros.rs |
| 114 |
@@ -186,7 +186,7 @@ async fn test_column_override_nullable() |
| 115 |
Ok(()) |
| 116 |
} |
| 117 |
|
| 118 |
-async fn with_test_row<'a>( |
| 119 |
+/*async fn with_test_row<'a>( |
| 120 |
conn: &'a mut MySqlConnection, |
| 121 |
) -> anyhow::Result<(Transaction<'a, MySql>, MyInt)> { |
| 122 |
let mut transaction = conn.begin().await?; |
| 123 |
@@ -195,7 +195,7 @@ async fn with_test_row<'a>( |
| 124 |
.await? |
| 125 |
.last_insert_id(); |
| 126 |
Ok((transaction, MyInt(id as i64))) |
| 127 |
-} |
| 128 |
+}*/ |
| 129 |
|
| 130 |
#[derive(PartialEq, Eq, Debug, sqlx::Type)] |
| 131 |
#[sqlx(transparent)] |