If judgment be given for the plaintiff, he shall recover the damages that he shall have sustained, to be ascertained by the court as in a civil action, and costs; and a peremptory mandamus shall also be granted to him without delay.
History —Code Civil Proc., 1933, § 659.