Added missing function for MySQL