forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5d1e5c8
committed
Check for BuildIndexValueDescription returning NULL in gist_page_items
Per Coverity. BuildIndexValueDescription() cannot actually return NULL inthis instance, because it only returns NULL if the user doesn't have therequired privileges, and this function can only be used by superuser. Butbetter safe than sorry.1 parent15251c0 commit5d1e5c8
1 file changed
+9
-3
lines changedLines changed: 9 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
250 |
| - | |
251 |
| - | |
252 | 250 |
| |
253 | 251 |
| |
254 | 252 |
| |
255 | 253 |
| |
256 | 254 |
| |
257 |
| - | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
258 | 264 |
| |
259 | 265 |
| |
260 | 266 |
| |
|
0 commit comments
Comments
(0)