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

Method DoQuery

extensions/sqlite/driver/SqDatabase.cpp:127–140  ·  view source on GitHub ↗

this sounds like daiquiri.. i'm tired. */

Source from the content-addressed store, hash-verified

125
126/* this sounds like daiquiri.. i'm tired. */
127IQuery *SqDatabase::DoQuery(const char *query)
128{
129 IPreparedQuery *pQuery = PrepareQuery(query, NULL, 0, NULL);
130 if (!pQuery)
131 {
132 return NULL;
133 }
134 if (!pQuery->Execute())
135 {
136 pQuery->Destroy();
137 return NULL;
138 }
139 return pQuery;
140}
141
142bool SqDatabase::DoSimpleQueryEx(const char *query, size_t len)
143{

Callers

nothing calls this directly

Calls 2

ExecuteMethod · 0.45
DestroyMethod · 0.45

Tested by

no test coverage detected