MCPcopy Create free account
hub / github.com/bcndev/bytecoin / step

Method step

src/platform/DBsqlite3.cpp:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70}
71
72bool sqlite::Stmt::step() const {
73 auto rc = sqlite3_step(handle);
74 if (rc == SQLITE_DONE)
75 return false;
76 if (rc != SQLITE_ROW)
77 throw platform::sqlite::Error("Cursor step failed sqlite3_step in step_and_check " + common::to_string(rc));
78 return true;
79}
80
81size_t sqlite::Stmt::column_bytes(int column) const {
82 return static_cast<size_t>(sqlite3_column_bytes(handle, column));

Callers 15

open_check_createMethod · 0.80
step_and_checkMethod · 0.80
putFunction · 0.80
getFunction · 0.80
delMethod · 0.80
loadMethod · 0.80
put_saltMethod · 0.80
get_saltMethod · 0.80
put_is_hardwareMethod · 0.80
get_is_hardwareMethod · 0.80
putMethod · 0.80
getMethod · 0.80

Calls 2

ErrorClass · 0.70
to_stringFunction · 0.50

Tested by

no test coverage detected