Astroglide lube

So I have been using Trojan ENZ condoms for about a month and I have had no problems. Well yesterday my boyfriend and I decided to use astroglide personal lubricant and I woke up with a yeast infection. One of the ingredients is glycerin which sometimes contains sugar. Is this why I have a yeast infection?