forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8f5e42d
committed
Fix pgbench in prepared mode with an empty pipeline
It crashes because it references memory that's not allocated in thatparticular case. Fix by allocating it.Reported-by: Alexander Lakhin <exclusion@gmail.com>Discussion:https://postgr.es/m/bcf802a6-afc1-95b9-7bf4-c5dd868ec144@gmail.com1 parentecb968e commit8f5e42d
2 files changed
+28
-18
lines changedLines changed: 26 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3049 | 3049 |
| |
3050 | 3050 |
| |
3051 | 3051 |
| |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
| 3064 | + | |
| 3065 | + | |
| 3066 | + | |
| 3067 | + | |
| 3068 | + | |
| 3069 | + | |
| 3070 | + | |
| 3071 | + | |
| 3072 | + | |
3052 | 3073 |
| |
3053 | 3074 |
| |
3054 | 3075 |
| |
| |||
3061 | 3082 |
| |
3062 | 3083 |
| |
3063 | 3084 |
| |
3064 |
| - | |
3065 |
| - | |
3066 |
| - | |
3067 |
| - | |
3068 | 3085 |
| |
3069 |
| - | |
3070 |
| - | |
3071 |
| - | |
3072 |
| - | |
3073 |
| - | |
3074 |
| - | |
3075 |
| - | |
3076 |
| - | |
3077 |
| - | |
3078 |
| - | |
3079 |
| - | |
3080 |
| - | |
| 3086 | + | |
3081 | 3087 |
| |
3082 | 3088 |
| |
3083 | 3089 |
| |
| |||
3109 | 3115 |
| |
3110 | 3116 |
| |
3111 | 3117 |
| |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
3112 | 3121 |
| |
3113 | 3122 |
| |
3114 | 3123 |
| |
3115 | 3124 |
| |
3116 | 3125 |
| |
3117 |
| - | |
3118 |
| - | |
| 3126 | + | |
3119 | 3127 |
| |
3120 | 3128 |
| |
3121 | 3129 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
790 | 790 |
| |
791 | 791 |
| |
792 | 792 |
| |
| 793 | + | |
| 794 | + | |
793 | 795 |
| |
794 | 796 |
| |
795 | 797 |
| |
|
0 commit comments
Comments
(0)