If the whole of mortgaged property does not sell for a sum sufficient to satisfy the amount due, an execution may be issued against the defendant as on ordinary judgments.