projects
/
users
/
hanada
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7563a16
)
Fix stupid bug with sizeof
author
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 6 Dec 2005 18:22:21 +0000
(18:22 +0000)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 6 Dec 2005 18:22:21 +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 50a38405c675d71ee3a16359afcc78b2a08fdafb..84f4da9d6201706fde40b5b306cd3c2600e1a3be 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);