If both primary windings had exactly the same number of turns there should be no problem. Because of some magnetic circuit asymmetry, there may be a slight circulating current. This presumes correct wiring.
This is a 50 VA transformer, which I doubt if would be connected to 230 V if US style mains supply. More likely to be European style 230 V single phase supply, with 230 V between phase (line, hot) and neutral, in which case the neutral does need to be connected to one end of the two primary windings, which need to be connected in series with each other.
The OP really needs to specific as to exactly what type of supply, or what country, is involved. It's not safe to assume anything if this is not specified.