Commit 73f47aa0 authored by Teodor Sigaev's avatar Teodor Sigaev

Fix stupid bug with sizeof

parent a615acf5
......@@ -85,7 +85,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment