MCPcopy Create free account
hub / github.com/apple/foundationdb / movePrevious

Method movePrevious

fdbserver/KeyValueStoreSQLite.actor.cpp:760–764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

758 valid = !empty;
759 }
760 void movePrevious() {
761 int empty = 1;
762 db.checkError("BtreePrevious", sqlite3BtreePrevious(cursor, &empty));
763 valid = !empty;
764 }
765 int size() {
766 int64_t size;
767 db.checkError("BtreeKeySize", sqlite3BtreeKeySize(cursor, (i64*)&size));

Callers 2

fastClearMethod · 0.80
advanceMethod · 0.80

Calls 2

sqlite3BtreePreviousFunction · 0.85
checkErrorMethod · 0.45

Tested by

no test coverage detected