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

Method exec

dlib/sqlite/sqlite.h:159–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void exec(
160 )
161 {
162 reset();
163
164 step_status = sqlite3_step(stmt);
165 needs_reset = true;
166 if (step_status != SQLITE_DONE && step_status != SQLITE_ROW)
167 {
168 if (step_status == SQLITE_ERROR)
169 throw sqlite_error(sqlite3_errmsg(db.get()));
170 else if (step_status == SQLITE_BUSY)
171 throw sqlite_error("statement::exec() failed. SQLITE_BUSY returned");
172 else
173 throw sqlite_error("statement::exec() failed.");
174 }
175 }
176
177 bool move_next (
178 )

Callers 11

execMethod · 0.80
transactionMethod · 0.80
commitMethod · 0.80
~transactionMethod · 0.80
query_objectFunction · 0.80
query_textFunction · 0.80
query_doubleFunction · 0.80
query_intFunction · 0.80
query_int64Function · 0.80
query_blobFunction · 0.80
mainFunction · 0.80

Calls 2

sqlite_errorClass · 0.70
getMethod · 0.45

Tested by

no test coverage detected