** Uninstall the VFS wrapper that was installed around the file-descriptor open ** on the input database for recover handle p. Mutex RECOVER_MUTEX_ID must be ** held when this function is called. */
| 16019 | ** held when this function is called. |
| 16020 | */ |
| 16021 | static void recoverUninstallWrapper(sqlite3_recover *p){ |
| 16022 | sqlite3_file *pFd = 0; |
| 16023 | recoverAssertMutexHeld(); |
| 16024 | sqlite3_file_control(p->dbIn, p->zDb,SQLITE_FCNTL_FILE_POINTER,(void*)&pFd); |
| 16025 | if( pFd && pFd->pMethods ){ |
| 16026 | pFd->pMethods = recover_g.pMethods; |
| 16027 | recover_g.pMethods = 0; |
| 16028 | recover_g.p = 0; |
| 16029 | } |
| 16030 | } |
| 16031 | |
| 16032 | /* |
| 16033 | ** This function does the work of a single sqlite3_recover_step() call. It |
no test coverage detected