MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / success

Function success

src/gpre/obj_cxx.cpp:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156static inline void success(const int column, bool ok, const char* status_name, const char* post = "")
157{
158 printa(column, "if (%s%s->getState() & Firebird::IStatus::STATE_ERRORS%s)%s",
159 ok ? "!(" : "", global_status_name, ok ? ")" : "", post);
160}
161
162static inline void set_sqlcode(const act* action, const int column)
163{

Callers 7

gen_create_databaseFunction · 0.85
gen_ddlFunction · 0.85
gen_finishFunction · 0.85
gen_forFunction · 0.85
gen_on_errorFunction · 0.85
gen_readyFunction · 0.85
gen_transFunction · 0.85

Calls 1

printaFunction · 0.70

Tested by

no test coverage detected