** Search the list of RecoverTable objects at p->pTblList for one that ** has root page iRoot in the input database. If such an object is found, ** return a pointer to it. Otherwise, return NULL. */
| 14821 | ** return a pointer to it. Otherwise, return NULL. |
| 14822 | */ |
| 14823 | static RecoverTable *recoverFindTable(sqlite3_recover *p, u32 iRoot){ |
| 14824 | RecoverTable *pRet = 0; |
| 14825 | for(pRet=p->pTblList; pRet && pRet->iRoot!=iRoot; pRet=pRet->pNext); |
| 14826 | return pRet; |
| 14827 | } |
| 14828 | |
| 14829 | /* |
| 14830 | ** This function attempts to create a lost and found table within the |
no outgoing calls
no test coverage detected