forked from blue/lmdbal
started to work on duplicates support
This commit is contained in:
parent
7b26d57ab6
commit
f0727aa73d
9 changed files with 132 additions and 108 deletions
|
@ -30,11 +30,16 @@
|
|||
|
||||
/**
|
||||
* \brief Constructs a storage interface
|
||||
*
|
||||
* \param[in] parent - LMDBAL::Base pointer for the owning database (borrowed)
|
||||
* \param[in] name - the name of the storage
|
||||
* \param[in] duplicates - true if storage supports duplicates, false otherwise (false by default)
|
||||
*/
|
||||
LMDBAL::iStorage::iStorage(const std::string& p_name, Base* parent):
|
||||
LMDBAL::iStorage::iStorage(Base* parent, const std::string& name, bool duplicates):
|
||||
dbi(),
|
||||
db(parent),
|
||||
name(p_name)
|
||||
name(name),
|
||||
duplicates(duplicates)
|
||||
{}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue