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.
Ca. Pen. Code § 849.5