mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-03 08:00:21 +08:00
parent
6ae559daf8
commit
1cae920e32
@ -195,7 +195,7 @@ g_int_compress(PG_FUNCTION_ARGS)
|
||||
min = (dr[i] - dr[i - 1]);
|
||||
cand = i;
|
||||
}
|
||||
memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - 1) * sizeof(int));
|
||||
memmove((void *) &dr[cand - 1], (void *) &dr[cand + 1], (len - cand - 1) * sizeof(int32));
|
||||
len -= 2;
|
||||
}
|
||||
r = resize_intArrayType(r, len);
|
||||
|
Loading…
Reference in New Issue
Block a user