No, it did not and now confusing and conflating multiple things.
Clinton was impeached for lying under oath, not having sex. Ken Starr subpoenaed him under the guise that they were going to discuss the Whitewater controversy and then he popped the "did you have sex with Monica Lewinski" question and Clinton lied.This was Starr's intent all along, Clinton fell for it like a moron and Republicans cheered.
The payment Clinton made to Paula Jones over her sexual harassment lawsuit was public record.
Trump's on trial for falsifying business records with the intent to defraud. He's not on trial for having sex with a pornstar while his wife was pregnant, that part was not illegal.