MCPcopy Create free account
hub / github.com/GaijinEntertainment/daScript / idxStatementFree

Function idxStatementFree

modules/dasSQLITE/sqlite/shell.c:11344–11353  ·  view source on GitHub ↗

** Free all elements of the linked list starting from pStatement up ** until pLast (pLast is not freed). */

Source from the content-addressed store, hash-verified

11342** until pLast (pLast is not freed).
11343*/
11344static void idxStatementFree(IdxStatement *pStatement, IdxStatement *pLast){
11345 IdxStatement *p;
11346 IdxStatement *pNext;
11347 for(p=pStatement; p!=pLast; p=pNext){
11348 pNext = p->pNext;
11349 sqlite3_free(p->zEQP);
11350 sqlite3_free(p->zIdx);
11351 sqlite3_free(p);
11352 }
11353}
11354
11355/*
11356** Free the linked list of IdxTable objects starting at pTab.

Callers 2

sqlite3_expert_sqlFunction · 0.85
sqlite3_expert_destroyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected