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

Function recoverFindTable

modules/dasSQLITE/sqlite/shell.c:14823–14827  ·  view source on GitHub ↗

** 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. */

Source from the content-addressed store, hash-verified

14821** return a pointer to it. Otherwise, return NULL.
14822*/
14823static 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

Callers 1

recoverWriteDataStepFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected