File: fix-tests-with-both-mysql-and-postgres

package info (click to toggle)
rust-sqlx 0.8.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,744 kB
  • sloc: sql: 335; python: 268; sh: 71; makefile: 2
file content (28 lines) | stat: -rw-r--r-- 787 bytes parent folder | download
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
Index: sqlx/tests/mysql/derives.rs
===================================================================
--- sqlx.orig/tests/mysql/derives.rs
+++ sqlx/tests/mysql/derives.rs
@@ -186,6 +186,7 @@ async fn test_derive_weak_enum() -> anyh
     }
 
     #[derive(sqlx::Type, Debug, PartialEq, Eq)]
+    #[sqlx(no_pg_array)]
     #[repr(u16)]
     enum WeakEnumU16 {
         Foo = 0,
@@ -194,6 +195,7 @@ async fn test_derive_weak_enum() -> anyh
     }
 
     #[derive(sqlx::Type, Debug, PartialEq, Eq)]
+    #[sqlx(no_pg_array)]
     #[repr(u32)]
     enum WeakEnumU32 {
         Foo = 0,
@@ -202,6 +204,7 @@ async fn test_derive_weak_enum() -> anyh
     }
 
     #[derive(sqlx::Type, Debug, PartialEq, Eq)]
+    #[sqlx(no_pg_array)]
     #[repr(u64)]
     enum WeakEnumU64 {
         Foo = 0,