projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3a448d
)
Fix stupid bug with sizeof
author
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 6 Dec 2005 18:22:27 +0000
(18:22 +0000)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 6 Dec 2005 18:22:27 +0000
(18:22 +0000)
contrib/ltree/_ltree_gist.c
patch
|
blob
|
blame
|
history
diff --git
a/contrib/ltree/_ltree_gist.c
b/contrib/ltree/_ltree_gist.c
index f68e9902b52c0d485cd48a0a2e1e8eac90624ef0..c2b9af9770bd9e292d51d456a0822a0d253080c5 100644
(file)
--- a/
contrib/ltree/_ltree_gist.c
+++ b/
contrib/ltree/_ltree_gist.c
@@
-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);