summaryrefslogtreecommitdiff
path: root/store
diff options
context:
space:
mode:
authorMatthias Huetsch [mhu] <matthias.huetsch@sun.com>2009-12-09 19:54:38 +0100
committerMatthias Huetsch [mhu] <matthias.huetsch@sun.com>2009-12-09 19:54:38 +0100
commita064da5efa8aa6782e3eda517e522ce8f007dd04 (patch)
treed4a0caeda4a4b21ddfc48b22d20890085116a3f7 /store
parent16c8ed5d372109c177c5989bf6498e6f209b1515 (diff)
parentd89afea42e33bb771cd9a31fbdc71b94ba4d8679 (diff)
Update from master repository (to m67).
Diffstat (limited to 'store')
-rw-r--r--store/source/stordata.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx
index 40a7827f830b..882ffa1d0109 100644
--- a/store/source/stordata.hxx
+++ b/store/source/stordata.hxx
@@ -90,7 +90,7 @@ struct OStoreDataPageData : public store::OStorePageData
{
base::m_aGuard.m_nMagic = store::htonl(self::theTypeId);
base::m_aDescr.m_nUsed = store::htons(self::thePageSize);
- memset (m_pData, 0, capacity());
+ if (capacity()) memset (m_pData, 0, capacity());
}
/** guard (external representation).