We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 60dda54 commit 338ac21Copy full SHA for 338ac21
contrib/pathman/dsm_array.c
@@ -151,11 +151,14 @@ free_dsm_array(DsmArray *arr)
151
/* set blocks free */
152
for(;; i++)
153
{
154
- table->blocks[start + i].is_free = false;
+ table->blocks[start + i].is_free = true;
155
if (i * table->block_size >= arr->length)
156
break;
157
}
158
159
+ if (arr->offset < table->first_free)
160
+ table->first_free = arr->offset;
161
+
162
arr->offset = 0;
163
arr->length = 0;
164
contrib/pathman/expected/pathman.out
0 commit comments