also, both glucose and fructose can end up in the urine in ANYONE whose kidneys can't reabsorb sugars. it's not just diabetes, despite what you might be initially taught in school. the proximal tubules of your kidneys reabsorb sugar. if they are overloaded (ie from a sugar rich meal), you will have sugar in your urine. although it can be a sign of diabetes, that's because the diabetes disease process damages your kidneys reabsorptive capabilties.

anything that slows your kidneys down, or someone with genetically slower kidneys, can have sugar in their urine.

here is a link that explains it with more formal language:

Renal Glucosuria: Tubular and Cystic Kidney Disorders: Merck Manual Home Edition

i'm not sure if anyone cares--i'm just saying don't leave urine on the shelf too long. if you're someone dropping sugar in your urine after having a lot of junk food, the urine will not remain sterile for long.