Patients in the study were about 40% more likely than the control groups to develop mainly type 2 diabetes.