typo in mysql on duplicate key generation method