db: fixed release typos

fixed fatal error typos in version_compare and function_exists