make tuple argument to RecordIterator optional
git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@626 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
parent
7c2397340c
commit
27e6f0b0f4
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ public:
|
|||
}
|
||||
}
|
||||
public:
|
||||
RecordIterator(DataPage *dp, TUPLE * key) : read_offset_(0), dp(dp) {
|
||||
RecordIterator(DataPage *dp, TUPLE * key=NULL) : read_offset_(0), dp(dp) {
|
||||
scan_to_key(key);
|
||||
}
|
||||
|
||||
|
@ -188,7 +188,7 @@ public:
|
|||
inline uint16_t recordCount();
|
||||
|
||||
|
||||
RecordIterator begin(){return RecordIterator(this, NULL);}
|
||||
RecordIterator begin(){return RecordIterator(this);}
|
||||
|
||||
pageid_t get_start_pid(){return first_page_;}
|
||||
int get_page_count(){return page_count_;}
|
||||
|
|
Loading…
Reference in a new issue