Probably not - they will probably just give you extra antibiotics.
I didn't have a UTI, but my white blood cell count was elevated indicating some type of infection right before my surgery. They just gave me mega antibiotics right in my IV, and everything has been fine.