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

Method nextRow

fdbserver/KeyValueStoreSQLite.actor.cpp:414–422  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412 return *this;
413 }
414 bool nextRow() {
415 int r = sqlite3_step(stmt);
416 if (r == SQLITE_ROW)
417 return true;
418 if (r == SQLITE_DONE)
419 return false;
420 db.checkError("nextRow", r);
421 __assume(false); // NOT REACHED
422 }
423 StringRef column(int i) {
424 return StringRef((const uint8_t*)sqlite3_column_blob(stmt, i), sqlite3_column_bytes(stmt, i));
425 }

Callers 3

checkAllPageChecksumsMethod · 0.80
openMethod · 0.80
createFromScratchMethod · 0.80

Calls 1

checkErrorMethod · 0.45

Tested by

no test coverage detected