Avoid error on some mysql versions