Commit 96c702c
committed
Remove dead code in toast_fetch_datum_slice
In toast_fetch_datum_slice(), we Assert() that what is passed in isn't
compressed, but we then later had a check to see what the length of if
what was passed in is compressed. That later check is rather confusing
since toast_fetch_datum_slice() is only ever called with non-compressed
datums and the Assert() earlier makes it clear that one shouldn't be
passing in compressed datums.
Add a comment to make it clear that toast_fetch_datum_slice() is just
for non-compressed datums, and remove the dead code.1 parent 6d8727f commit 96c702c
1 file changed
+3
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2026 | 2026 | | |
2027 | 2027 | | |
2028 | 2028 | | |
| 2029 | + | |
| 2030 | + | |
2029 | 2031 | | |
2030 | 2032 | | |
2031 | 2033 | | |
| |||
2085 | 2087 | | |
2086 | 2088 | | |
2087 | 2089 | | |
2088 | | - | |
2089 | | - | |
2090 | | - | |
2091 | | - | |
| 2090 | + | |
2092 | 2091 | | |
2093 | 2092 | | |
2094 | 2093 | | |
| |||
0 commit comments