Renamed comparison functions, which add compatibility with mysql