MCPcopy Create free account
hub / github.com/davisking/dlib / reset

Method reset

dlib/sqlite/sqlite.h:579–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577 private:
578
579 void reset()
580 {
581 if (needs_reset)
582 {
583 if (sqlite3_reset(stmt) != SQLITE_OK)
584 {
585 step_status = SQLITE_DONE;
586 throw sqlite_error(sqlite3_errmsg(db.get()));
587 }
588 needs_reset = false;
589 step_status = SQLITE_DONE;
590 at_first_step = true;
591 }
592 }
593
594 bool needs_reset; // true if sqlite3_step() has been called more recently than sqlite3_reset()
595 int step_status;

Callers 15

close_gracefullyFunction · 0.45
acceptMethod · 0.45
create_listenerFunction · 0.45
create_connectionFunction · 0.45
acceptMethod · 0.45
create_listenerFunction · 0.45
create_connectionFunction · 0.45
operator<Method · 0.45
operator==Method · 0.45
problem_typeMethod · 0.45
caching_kernelMethod · 0.45

Calls 2

sqlite_errorClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected