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

Function eqp_reset

modules/dasSQLITE/sqlite/shell.c:17309–17316  ·  view source on GitHub ↗

** Free and reset the EXPLAIN QUERY PLAN data that has been collected ** in p->sGraph. */

Source from the content-addressed store, hash-verified

17307** in p->sGraph.
17308*/
17309static void eqp_reset(ShellState *p){
17310 EQPGraphRow *pRow, *pNext;
17311 for(pRow = p->sGraph.pRow; pRow; pRow = pNext){
17312 pNext = pRow->pNext;
17313 sqlite3_free(pRow);
17314 }
17315 memset(&p->sGraph, 0, sizeof(p->sGraph));
17316}
17317
17318/* Return the next EXPLAIN QUERY PLAN line with iEqpId that occurs after
17319** pOld, or return the first such line if pOld is NULL

Callers 2

eqp_renderFunction · 0.85
display_scanstatsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected