add const for mysql