remove non-validator version of tm::begin

This commit is contained in:
Joe Thornber 2011-11-08 11:44:19 +00:00
parent 2cb8f1308b
commit 45042ed0e1
2 changed files with 0 additions and 11 deletions

View File

@ -19,14 +19,6 @@ transaction_manager::~transaction_manager()
{
}
transaction_manager::write_ref
transaction_manager::begin(block_address superblock)
{
write_ref wr = bm_->superblock(superblock);
wipe_shadow_table();
return wr;
}
transaction_manager::write_ref
transaction_manager::begin(block_address superblock, validator v)
{
@ -46,7 +38,6 @@ transaction_manager::new_block(validator v)
return wr;
}
// FIXME: duplicate code
pair<transaction_manager::write_ref, bool>
transaction_manager::shadow(block_address orig, validator v)
{

View File

@ -26,9 +26,7 @@ namespace persistent_data {
~transaction_manager();
// Drop the superblock reference to commit
write_ref begin(block_address superblock);
write_ref begin(block_address superblock, validator v);
write_ref new_block(validator v);
// shadowing returns a new write_ref, and a boolean which