SP-1065 - (PDI-11373) Database Join step fails with Number of rows to return on MySQL

back-port of PDI-11373