mirror of
https://github.com/postgres/postgres.git
synced 2026-04-14 13:37:39 -04:00
Fix stupid bug with sizeof
This commit is contained in:
parent
304b231e7b
commit
85fc9ad4af
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,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 a new issue