clean up includes
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@530 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
616c028b17
commit
5135bb5924
12 changed files with 16 additions and 28 deletions
|
@ -86,7 +86,7 @@ void DataPage<TUPLE>::initialize(int xid)
|
||||||
}
|
}
|
||||||
|
|
||||||
template <class TUPLE>
|
template <class TUPLE>
|
||||||
inline bool DataPage<TUPLE>::append(int xid, TUPLE const & dat)
|
bool DataPage<TUPLE>::append(int xid, TUPLE const & dat)
|
||||||
{
|
{
|
||||||
assert(byte_offset >= HEADER_SIZE);
|
assert(byte_offset >= HEADER_SIZE);
|
||||||
assert(fix_pcount >= 1);
|
assert(fix_pcount >= 1);
|
||||||
|
|
|
@ -59,7 +59,7 @@ public:
|
||||||
|
|
||||||
~DataPage();
|
~DataPage();
|
||||||
|
|
||||||
inline bool append(int xid, TUPLE const & dat);
|
bool append(int xid, TUPLE const & dat);
|
||||||
bool recordRead(int xid, typename TUPLE::key_t key, size_t keySize, TUPLE ** buf);
|
bool recordRead(int xid, typename TUPLE::key_t key, size_t keySize, TUPLE ** buf);
|
||||||
|
|
||||||
inline uint16_t recordCount(int xid);
|
inline uint16_t recordCount(int xid);
|
||||||
|
|
|
@ -1,11 +1,6 @@
|
||||||
|
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
//#include "datapage.cpp"
|
|
||||||
#include "logiterators.h"
|
#include "logiterators.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//template <class MEMTREE, class TUPLE>
|
//template <class MEMTREE, class TUPLE>
|
||||||
/*
|
/*
|
||||||
template <>
|
template <>
|
||||||
|
|
|
@ -1,20 +1,13 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
|
||||||
|
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
#include "logiterators.h"
|
#include "logiterators.h"
|
||||||
|
|
||||||
|
|
||||||
#include "datapage.cpp"
|
#include "datapage.cpp"
|
||||||
|
|
||||||
|
|
||||||
#include <stasis/page/slotted.h>
|
#include <stasis/page/slotted.h>
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include "logiterators.cpp"
|
#include "logiterators.cpp"
|
||||||
#include "datapage.cpp"
|
#include "datapage.h"
|
||||||
//pageid_t merge_scheduler::C0_MEM_SIZE = 1000 * 1000 * 1000;
|
//pageid_t merge_scheduler::C0_MEM_SIZE = 1000 * 1000 * 1000;
|
||||||
|
|
||||||
//template <> struct merger_args<rbtree_t>;
|
//template <> struct merger_args<rbtree_t>;
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
#include "datapage.cpp"
|
#include "datapage.h"
|
||||||
#include "logiterators.cpp"
|
#include "logiterators.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <logstore.h>
|
#include <logstore.h>
|
||||||
#include <datapage.cpp> // XXX
|
#include <datapage.h>
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -4,8 +4,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
#include "datapage.cpp"
|
#include "datapage.h"
|
||||||
#include "logiterators.cpp"
|
#include "logiterators.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include <math.h>
|
#include <math.h>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
#include "datapage.cpp"
|
#include "datapage.h"
|
||||||
#include "logiterators.cpp"
|
#include "logiterators.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
#include "datapage.cpp"
|
#include "datapage.h"
|
||||||
#include "logiterators.cpp"
|
#include "logiterators.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
#include "datapage.cpp"
|
#include "datapage.h"
|
||||||
#include "logiterators.cpp"
|
#include "logiterators.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "logstore.h"
|
#include "logstore.h"
|
||||||
#include "datapage.cpp"
|
#include "datapage.h"
|
||||||
#include "logiterators.cpp"
|
#include "logiterators.h"
|
||||||
#include "merger.h"
|
#include "merger.h"
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
Loading…
Reference in a new issue