#3744 mysql syntax fix 2.5