TDB2 - Diagnostics

- Added a diagnostic dump of the TDB2 state in debug mode.
- Added a call to TDB2::dump at the start of TDB2::commit.
- Removed unnecessary calls to TDB2::dump.
This commit is contained in:
Paul Beckingham
2011-08-22 23:04:38 -04:00
parent 013061803f
commit e573801517
3 changed files with 62 additions and 48 deletions

View File

@@ -62,6 +62,8 @@ public:
std::string uuid (int);
int id (const std::string&);
const std::string dump ();
public:
bool _read_only;
bool _dirty;
@@ -97,7 +99,6 @@ public:
int next_id ();
void dump ();
void dump_file (ViewText&, const std::string&, TF2&);
private:
bool verifyUniqueUUID (const std::string&);