mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-18 18:44:06 +08:00
Fix stupid bug with sizeof
This commit is contained in:
parent
7563a16b11
commit
9a40b555d3
@ -82,7 +82,7 @@ _ltree_compress(PG_FUNCTION_ARGS)
|
||||
key->len = len;
|
||||
key->flag = 0;
|
||||
|
||||
MemSet(LTG_SIGN(key), 0, sizeof(ASIGLEN));
|
||||
MemSet(LTG_SIGN(key), 0, ASIGLEN);
|
||||
while (num > 0)
|
||||
{
|
||||
hashing(LTG_SIGN(key), item);
|
||||
|
Loading…
Reference in New Issue
Block a user