Penal Code – PC 849.5
PC § 849.5. Record of release
In any case in which a person is arrested and released and no accusatory pleading is filed charging him with an offense, any record of arrest of the person shall include a record of release. Thereafter, the arrest shall not be deemed an arrest, but a detention only.