Some work on thin_repair.

This commit is contained in:
Joe Thornber
2011-08-23 11:55:37 +01:00
parent 29c2831f3e
commit 511456f903
9 changed files with 292 additions and 29 deletions

View File

@@ -1,9 +1,8 @@
SOURCE=\
endian_utils.cc \
metadata.cc \
metadata_disk_structures.cc
# metadata.cc \
TEST_SOURCE=\
unit-tests/block_t.cc \
unit-tests/btree_t.cc \
@@ -12,8 +11,6 @@ TEST_SOURCE=\
unit-tests/space_map_disk_t.cc \
unit-tests/transaction_manager_t.cc \
# unit-tests/metadata_t.cc \
OBJECTS=$(subst .cc,.o,$(SOURCE))
TEST_PROGRAMS=$(subst .cc,,$(TEST_SOURCE))
TOP_DIR:=$(PWD)
@@ -40,6 +37,12 @@ unit-test: $(TEST_PROGRAMS)
multisnap_display: $(OBJECTS) main.o
g++ $(CPPFLAGS) -o $@ $+ $(LIBS)
thin_dump: $(OBJECTS) thin_dump.o
g++ $(CPPFLAGS) -o $@ $+ $(LIBS)
thin_repair: $(OBJECTS) thin_repair.o
g++ $(CPPFLAGS) -o $@ $+ $(LIBS)
unit-tests/block_t: unit-tests/block_t.o
g++ $(CPPFLAGS) -o $@ $+ $(LIBS)