MCPcopy Create free account
hub / github.com/alliedmodders/sourcemod / SetDbError

Method SetDbError

core/logic/smn_database.cpp:1591–1598  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1589 }
1590
1591 void SetDbError()
1592 {
1593 const char *error = db_->GetError();
1594 if (!error || strlen(error) == 0)
1595 error_ = "unknown error";
1596 else
1597 error_ = error;
1598 }
1599
1600 IQuery *Exec(const char *query)
1601 {

Callers

nothing calls this directly

Calls 1

GetErrorMethod · 0.45

Tested by

no test coverage detected