forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2e01d05
committed
Fix frontend version of sh_error() in simplehash.h.
The code does not expect sh_error() to return, but the patchthat made this header usable in frontend didn't get that memo.While here, plaster unlikely() on the tests that decide whetherto invoke sh_error(), and add our standard copyright notice.Noted by Andres Freund. Back-patch to v13 where this frontendsupport came in.Discussion:https://postgr.es/m/0D54435C-1199-4361-9D74-2FBDCF8EA164@anarazel.de1 parent4760060 commit2e01d05
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
55 | 55 |
| |
56 | 56 |
| |
57 | 57 |
| |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 |
| |
59 | 64 |
| |
60 | 65 |
| |
| |||
218 | 223 |
| |
219 | 224 |
| |
220 | 225 |
| |
221 |
| - | |
| 226 | + | |
| 227 | + | |
222 | 228 |
| |
223 | 229 |
| |
224 | 230 |
| |
| |||
247 | 253 |
| |
248 | 254 |
| |
249 | 255 |
| |
250 |
| - | |
| 256 | + | |
251 | 257 |
| |
252 | 258 |
| |
253 | 259 |
| |
| |||
532 | 538 |
| |
533 | 539 |
| |
534 | 540 |
| |
535 |
| - | |
536 |
| - | |
| 541 | + | |
537 | 542 |
| |
538 |
| - | |
539 | 543 |
| |
540 | 544 |
| |
541 | 545 |
| |
|
0 commit comments
Comments
(0)