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

Function eqp_next_row

modules/dasSQLITE/sqlite/shell.c:17321–17325  ·  view source on GitHub ↗

Return the next EXPLAIN QUERY PLAN line with iEqpId that occurs after ** pOld, or return the first such line if pOld is NULL */

Source from the content-addressed store, hash-verified

17319** pOld, or return the first such line if pOld is NULL
17320*/
17321static EQPGraphRow *eqp_next_row(ShellState *p, int iEqpId, EQPGraphRow *pOld){
17322 EQPGraphRow *pRow = pOld ? pOld->pNext : p->sGraph.pRow;
17323 while( pRow && pRow->iParentId!=iEqpId ) pRow = pRow->pNext;
17324 return pRow;
17325}
17326
17327/* Render a single level of the graph that has iEqpId as its parent. Called
17328** recursively to render sublevels.

Callers 1

eqp_render_levelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected