forked from vapor/fluent-postgres-driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 131e154
Make
* Return true for `DatabaseError.isConnectionClosed` when `PostgresError.connectionClosed` happens.
* Avoids double-running the FluentBenchmark tests, adds the missing `testSQL()` benchmark test, and runs the tests when not in Xcode.DatabaseError.isConnectionClosed functional (vapor#187)1 parent a0383f0 commit 131e154
File tree
2 files changed
+8
-5
lines changed- Sources/FluentPostgresDriver
- Tests/FluentPostgresDriverTests
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | - | ||
56 | + | ||
57 | + | ||
58 | + | ||
59 | + | ||
60 | + | ||
61 | + | ||
57 | 62 | | |
58 | 63 | | |
59 | 64 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | - | ||
10 | - | ||
11 | - | ||
9 | + | ||
12 | 10 | | |
13 | 11 | | |
14 | 12 | | |
| |||
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
36 | + | ||
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
41 | - | ||
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
| |||
0 commit comments