forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8cee4be
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 parent3ad2c24 commit8cee4be
1 file changed
+9
-5
lines changedLines changed: 9 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
89 | 94 |
| |
90 | 95 |
| |
91 | 96 |
| |
| |||
288 | 293 |
| |
289 | 294 |
| |
290 | 295 |
| |
291 |
| - | |
| 296 | + | |
| 297 | + | |
292 | 298 |
| |
293 | 299 |
| |
294 | 300 |
| |
| |||
317 | 323 |
| |
318 | 324 |
| |
319 | 325 |
| |
320 |
| - | |
| 326 | + | |
321 | 327 |
| |
322 | 328 |
| |
323 | 329 |
| |
| |||
602 | 608 |
| |
603 | 609 |
| |
604 | 610 |
| |
605 |
| - | |
606 |
| - | |
| 611 | + | |
607 | 612 |
| |
608 |
| - | |
609 | 613 |
| |
610 | 614 |
| |
611 | 615 |
| |
|
0 commit comments
Comments
(0)