Upon considering the demurrer, the court must give judgment either allowing or disallowing it, and an order to that effect must be entered upon the minutes.