** Free and reset the EXPLAIN QUERY PLAN data that has been collected ** in p->sGraph. */
| 17307 | ** in p->sGraph. |
| 17308 | */ |
| 17309 | static 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 |
no outgoing calls
no test coverage detected