remove TDB::commit
This commit is contained in:
committed by
Dustin J. Mitchell
parent
0882a08d18
commit
9df4c8156e
@@ -735,7 +735,6 @@ int Context::run ()
|
|||||||
{
|
{
|
||||||
hooks.onLaunch ();
|
hooks.onLaunch ();
|
||||||
rc = dispatch (output);
|
rc = dispatch (output);
|
||||||
tdb2.commit (); // Harmless if called when nothing changed.
|
|
||||||
hooks.onExit (); // No chance to update data.
|
hooks.onExit (); // No chance to update data.
|
||||||
|
|
||||||
timer_total.stop ();
|
timer_total.stop ();
|
||||||
|
|||||||
@@ -169,12 +169,6 @@ void TDB2::modify (Task& task)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
|
||||||
void TDB2::commit ()
|
|
||||||
{
|
|
||||||
// does nothing; changes are committed as they are made
|
|
||||||
}
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
const tc::WorkingSet &TDB2::working_set ()
|
const tc::WorkingSet &TDB2::working_set ()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -49,7 +49,6 @@ public:
|
|||||||
void open_replica (const std::string&, bool create_if_missing);
|
void open_replica (const std::string&, bool create_if_missing);
|
||||||
void add (Task&);
|
void add (Task&);
|
||||||
void modify (Task&);
|
void modify (Task&);
|
||||||
void commit ();
|
|
||||||
void get_changes (std::vector <Task>&);
|
void get_changes (std::vector <Task>&);
|
||||||
void revert ();
|
void revert ();
|
||||||
void gc ();
|
void gc ();
|
||||||
|
|||||||
Reference in New Issue
Block a user