mysql compat fix for cust_pay.paybatch upgrade, #28895