17 #ifndef DBLQH_COMMON_H
18 #define DBLQH_COMMON_H
21 #include <ndb_types.h>
22 #include <Bitmask.hpp>
41 enum { LogParts = 4 };
45 Uint16 partNo[LogParts];
46 Bitmask<(LogParts+31)/32> partMask;
47 Uint32 partNoFromId(Uint32 lpid)
const;
48 bool partNoOwner(Uint32 lpno)
const;
49 bool partNoOwner(Uint32 tabId, Uint32 fragId);
50 Uint32 partNoIndex(Uint32 lpno)
const;
51 Uint32 instanceKey(Uint32 lpno)
const;