removed debug printfs

git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@2574 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe
This commit is contained in:
michim 2011-05-19 22:15:53 +00:00
parent 8aadd27e3c
commit 2756b886fe

View file

@ -211,9 +211,6 @@ scan(RecordListResponse& _return, const std::string& databaseName, const ScanOrd
} }
int cmp = datatuple::compare_obj(current, start); int cmp = datatuple::compare_obj(current, start);
std::cout << "start key: (" << std::string((const char*)(start->strippedkey()), start->strippedkeylen()) << ")" << std::endl;
std::cout << "current key: (" << std::string((const char*)(current->strippedkey()), current->strippedkeylen()) << ")" << std::endl;
std::cout << "start key: " << startKey << " cmp: " << cmp << std::endl;
if ((!startKeyIncluded) && cmp == 0) { if ((!startKeyIncluded) && cmp == 0) {
datatuple::freetuple(current); datatuple::freetuple(current);
continue; continue;
@ -221,7 +218,6 @@ scan(RecordListResponse& _return, const std::string& databaseName, const ScanOrd
// are we at the end of range? // are we at the end of range?
cmp = datatuple::compare_obj(current, end); cmp = datatuple::compare_obj(current, end);
std::cout << "end key: " << endKey << " cmp: " << cmp << std::endl;
if ((!endKeyIncluded && cmp >= 0) || if ((!endKeyIncluded && cmp >= 0) ||
(endKeyIncluded && cmp > 0)) { (endKeyIncluded && cmp > 0)) {
datatuple::freetuple(current); datatuple::freetuple(current);