forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf79962d
committed
Remove useless LZ4 system call on failure when writing file header
If an error occurs when writing the LZ4 file header, LZ4F_compressEnd()was called in the error code path of write(), followed byLZ4F_freeCompressionContext() to finish the cleanup. The code as-is wasnot broken, but the LZ4F_compressEnd() proves to not be necessary asthere are no contents to flush at this stage, so remove it.Per gripe from Jeevan Ladhe and Robert Haas.Discussion:https://postgr.es/m/CAOgcT0PE33wbD7giAT1OSkNJt=p-vu8huq++qh=ny9O=SCP5aA@mail.gmail.com1 parent411137a commitf79962d
1 file changed
+0
-1
lines changedLines changed: 0 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
193 | 193 |
| |
194 | 194 |
| |
195 | 195 |
| |
196 |
| - | |
197 | 196 |
| |
198 | 197 |
| |
199 | 198 |
| |
|
0 commit comments
Comments
(0)