[block_manager] Hard code block size to 4k.
We're never going to use anything other than 4k, and by hard coding it we avoid making block_manager a template.
This commit is contained in:
@@ -37,7 +37,7 @@ namespace {
|
||||
class ArrayTests : public Test {
|
||||
public:
|
||||
ArrayTests()
|
||||
: bm_(new block_manager<>("./test.data", NR_BLOCKS, 4, block_manager<>::READ_WRITE)),
|
||||
: bm_(new block_manager("./test.data", NR_BLOCKS, 4, block_manager::READ_WRITE)),
|
||||
sm_(new core_map(NR_BLOCKS)),
|
||||
tm_(bm_, sm_) {
|
||||
}
|
||||
@@ -78,7 +78,7 @@ namespace {
|
||||
array64::ptr a_;
|
||||
|
||||
private:
|
||||
block_manager<>::ptr bm_;
|
||||
block_manager::ptr bm_;
|
||||
space_map::ptr sm_;
|
||||
transaction_manager tm_;
|
||||
};
|
||||
|
Reference in New Issue
Block a user