mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Fix stupid bug with sizeof
This commit is contained in:
parent
a615acf555
commit
73f47aa0cd
@ -85,7 +85,7 @@ _ltree_compress(PG_FUNCTION_ARGS)
|
|||||||
key->len = len;
|
key->len = len;
|
||||||
key->flag = 0;
|
key->flag = 0;
|
||||||
|
|
||||||
MemSet(LTG_SIGN(key), 0, sizeof(ASIGLEN));
|
MemSet(LTG_SIGN(key), 0, ASIGLEN);
|
||||||
while (num > 0)
|
while (num > 0)
|
||||||
{
|
{
|
||||||
hashing(LTG_SIGN(key), item);
|
hashing(LTG_SIGN(key), item);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user