Issue #22393: Moved rptdef.sql to xt