PDI-11373 - Database Join step fails with Number of rows to return on MySQL

junit tests added
PDI-11373 - Database Join step fails with Number of rows to return on MySQL

fix provided