diff options
author | Matthias Huetsch [mhu] <matthias.huetsch@sun.com> | 2009-12-09 19:54:38 +0100 |
---|---|---|
committer | Matthias Huetsch [mhu] <matthias.huetsch@sun.com> | 2009-12-09 19:54:38 +0100 |
commit | a064da5efa8aa6782e3eda517e522ce8f007dd04 (patch) | |
tree | d4a0caeda4a4b21ddfc48b22d20890085116a3f7 /store/source | |
parent | 16c8ed5d372109c177c5989bf6498e6f209b1515 (diff) | |
parent | d89afea42e33bb771cd9a31fbdc71b94ba4d8679 (diff) |
Update from master repository (to m67).
Diffstat (limited to 'store/source')
-rw-r--r-- | store/source/stordata.hxx | 2 |
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). |