forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit134fe5e

Dave Cramer
fixed QueryExecuter to deal with multiple errors
previously it was throwing a SQLException as soon as the error message wasreceived from the backend. This did not allow the protocol to finish properlynow, simply collects error messages from the backend until the query is doneand throws exception at the endAlso added setLogLevel to Driver.java, and made the log levels public1 parentefd45bc commit134fe5e
File tree
2 files changed
+39
-7
lines changed- src/interfaces/jdbc/org/postgresql
- core
2 files changed
+39
-7
lines changedLines changed: 19 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
27 | 27 |
| |
28 | 28 |
| |
29 | 29 |
| |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
35 | 37 |
| |
36 | 38 |
| |
37 | 39 |
| |
| |||
439 | 441 |
| |
440 | 442 |
| |
441 | 443 |
| |
| 444 | + | |
| 445 | + | |
| 446 | + | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
442 | 456 |
| |
443 | 457 |
| |
444 | 458 |
| |
|
Lines changed: 20 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
16 |
| - | |
| 16 | + | |
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| 61 | + | |
| 62 | + | |
61 | 63 |
| |
62 | 64 |
| |
63 | 65 |
| |
| |||
91 | 93 |
| |
92 | 94 |
| |
93 | 95 |
| |
94 |
| - | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
95 | 109 |
| |
96 | 110 |
| |
97 | 111 |
| |
| |||
117 | 131 |
| |
118 | 132 |
| |
119 | 133 |
| |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
120 | 138 |
| |
121 | 139 |
| |
122 | 140 |
| |
|
0 commit comments
Comments
(0)