forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdf0f4fe
committed
Add missing padding from MemoryChunk struct
Buildfarm animals skate, grison and mamba are Assert failing on thepointer being given to repalloc not being MAXALIGNED.c6e0fe1 madechanges in that area.All of these animals are 32-bit with a MAXIMUM_ALIGNOF of 8 and aSIZEOF_VOID_P of 4. I suspect that the pointer is not properly aligned dueto the lack of padding in the MemoryChunk struct.Here we add the same type of padding that was previously used inAllocChunkData and GenerationChunk thatc6e0fe1 neglected to add.Discussion:https://postgr.es/m/CAA4eK1%2B1JyW5TiL%3DyV-3Uq1CrfnTyn0Xrk5uArt31Z%3D8rgPhXQ%40mail.gmail.com1 parentc6a43c2 commitdf0f4fe
1 file changed
+8
-0
lines changedLines changed: 8 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
111 | 111 |
| |
112 | 112 |
| |
113 | 113 |
| |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
114 | 122 |
| |
115 | 123 |
| |
116 | 124 |
| |
|
0 commit comments
Comments
(0)