summaryrefslogtreecommitdiff
path: root/ndb/include/util/Bitmask.hpp
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-12-09 16:19:24 +0100
committerunknown <joreland@mysql.com>2004-12-09 16:19:24 +0100
commit4cf675a21d5210f62a7907f464a06406e33468ba (patch)
treed9ef04dc36abf7977389f7b36d8332809e0a8b69 /ndb/include/util/Bitmask.hpp
parenta67ee81ebd638025194fa8a980e2768c2e584689 (diff)
downloadmariadb-git-4cf675a21d5210f62a7907f464a06406e33468ba.tar.gz
ndb - Fix printout/bugs for bit column
ndb/include/kernel/AttributeHeader.hpp: Add pseudo column for row size ndb/include/ndbapi/NdbDictionary.hpp: Add pseudo column for row size ndb/include/util/Bitmask.hpp: Remove assert which was not needed ndb/src/kernel/blocks/dbtup/DbtupMeta.cpp: Missing break ndb/src/kernel/blocks/dbtup/DbtupRoutines.cpp: 1) New pseudo column ROW_SIZE 2) Fix bug in Bit columns ndb/src/ndbapi/NdbDictionary.cpp: Fix prinout of bit column ndb/src/ndbapi/NdbDictionaryImpl.cpp: Bug fix Bit column ndb/src/ndbapi/NdbRecAttr.cpp: Fix prinout of bit column ndb/test/src/HugoCalculator.cpp: Bit enable Hugo ndb/test/src/HugoOperations.cpp: Bit enable Hugo ndb/test/src/NDBT_Tables.cpp: Bit enable Hugo
Diffstat (limited to 'ndb/include/util/Bitmask.hpp')
-rw-r--r--ndb/include/util/Bitmask.hpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/ndb/include/util/Bitmask.hpp b/ndb/include/util/Bitmask.hpp
index 2cd95190ed7..a88c48b4cb3 100644
--- a/ndb/include/util/Bitmask.hpp
+++ b/ndb/include/util/Bitmask.hpp
@@ -814,7 +814,6 @@ inline void
BitmaskImpl::getField(unsigned size, const Uint32 src[],
unsigned pos, unsigned len, Uint32 dst[])
{
- assert(len > 0);
assert(pos + len < (size << 5));
src += (pos >> 5);
@@ -834,7 +833,6 @@ inline void
BitmaskImpl::setField(unsigned size, Uint32 dst[],
unsigned pos, unsigned len, const Uint32 src[])
{
- assert(len > 0);
assert(pos + len < (size << 5));
dst += (pos >> 5);