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:
afa957a
)
Fix stupid bug with sizeof
author
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 6 Dec 2005 18:22:13 +0000
(18:22 +0000)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Tue, 6 Dec 2005 18:22:13 +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 412fafa1ff8ec3834b29d40d6fb6b0e6f7fb7e0d..d0643ac747af46101733c230b3de2c1e6ad086eb 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);