The details of undercover police officers are deleted from a police database and a senior officer is left struggling to know who are the undercover officers and who are the…