forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdb94419
committed
pgbench: fix segfault with empty sql file
Commit1d0c3b3 introduced a bug that causes pgbench to crash if anempty script file is specified. Fix it by rejecting such files atstartup, which is the historical and intended behavior.Reported-By: Jeff JanesDiscussion:https://www.postgresql.org/message-id/CAMkU=1zxKUbLPOt9hQWFp14pTc=V0cGo2GQBbn2GsK2Pu+8ZfA@mail.gmail.com1 parentd03130d commitdb94419
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2686 | 2686 |
| |
2687 | 2687 |
| |
2688 | 2688 |
| |
2689 |
| - | |
| 2689 | + | |
| 2690 | + | |
2690 | 2691 |
| |
2691 | 2692 |
| |
2692 | 2693 |
| |
|
0 commit comments
Comments
(0)