Fix for nZEDb (MySQL version)