projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a615acf
)
Fix stupid bug with sizeof
author
Teodor Sigaev
Tue, 6 Dec 2005 18:22:33 +0000
(18:22 +0000)
committer
Teodor Sigaev
Tue, 6 Dec 2005 18:22:33 +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 c4623ec020f02bf657ced33233ed520f435118d7..359ddfe4d7d0cbe80b2c12adb5f1250b8748d097 100644
(file)
--- a/
contrib/ltree/_ltree_gist.c
+++ b/
contrib/ltree/_ltree_gist.c
@@
-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);