forked fromrust-postgres/rust-postgres
- Notifications
You must be signed in to change notification settings - Fork0
Commit0fc4005
committed
For
If a query returns no data, we receive `Message::NoData`, which signalsthe completion of the query. However, we treated it as a no-op, leadingto processing other messages and eventual failure.This PR fixes the issue and updates the `query_typed` tests to coverthis scenario.query_typed
, deal with the no-data case.1 parent9f196e7 commit0fc4005
2 files changed
+23
-4
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
96 | 101 |
| |
97 | 102 |
| |
98 | 103 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
997 | 997 |
| |
998 | 998 |
| |
999 | 999 |
| |
| 1000 | + | |
| 1001 | + | |
| 1002 | + | |
| 1003 | + | |
| 1004 | + | |
| 1005 | + | |
| 1006 | + | |
1000 | 1007 |
| |
1001 | 1008 |
| |
1002 | 1009 |
| |
| |||
1064 | 1071 |
| |
1065 | 1072 |
| |
1066 | 1073 |
| |
| 1074 | + | |
| 1075 | + | |
| 1076 | + | |
| 1077 | + | |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
1067 | 1081 |
|
0 commit comments
Comments
(0)