#include <Common/Compat.h>
#include <Hyperspace/BerkeleyDbFilesystem.h>
#include <Hyperspace/DbtManaged.h>
#include <Common/Logger.h>
#include <Common/Path.h>
#include <Common/ScopeGuard.h>
#include <Common/Serialization.h>
#include <Common/String.h>
#include <Common/System.h>
#include <Common/SystemInfo.h>
#include <Common/Time.h>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <cctype>
#include <cstdlib>
#include <ostream>
#include <sstream>
#include <vector>
Go to the source code of this file.
#define HT_DEBUG_ATTR |
( |
|
_txn_, |
|
|
|
_fn_, |
|
|
|
_an_, |
|
|
|
_k_, |
|
|
|
_v_ |
|
) |
| |
Value:HT_DEBUG_OUT <<
"txn="<< (_txn_) <<
" fname='"<< (_fn_) <<
"' attr='"<< (_an_) \
<<"' key='"<< (char *)(_k_).get_data() <<"' value='"<< (_v_) <<"'" \
Definition at line 51 of file BerkeleyDbFilesystem.cc.
#define HT_DEBUG_ATTR_ |
( |
|
_txn_, |
|
|
|
_fn_, |
|
|
|
_an_, |
|
|
|
_k_, |
|
|
|
_v_, |
|
|
|
_l_ |
|
) |
| |
Value:
if ((_an_) ==
String()) _out_ <<"' attr='"<< (_an_); \
_out_ <<"' key='" << (char *)(_k_).get_data(); \
if (_l_) _out_ <<"' value='"<<
format_bytes(20, _v_, _l_); \
std::string String
A String is simply a typedef to std::string.
String format_bytes(size_t n, const void *buf, size_t len, const char *trailer)
Return first n bytes of buffer with an optional trailer if the size of the buffer exceeds n...
Definition at line 56 of file BerkeleyDbFilesystem.cc.
void close_db_cursor |
( |
Dbc ** |
cursor | ) |
|