For univariate analysis, the higher WBC level (odds ratio (OR) = 1.0001, 95% confidence interval (CI): 1.0000–1.0002, p = 0.001), the higher CRP (OR = 1.0113, 95% CI: 1.0070–1.0156, p < 0.001), the involvement of at least three spaces (OR = 2.6625, 95% CI: 1.2889–5.4999, p = 0.007), and mediastinitis (OR = 4.3556, 95% CI: 1.3372–14.186, p = 0.013) were significant risk factors for prolonged hospitalization in DM patients. This evidence concerns the gene CRP and diabetes mellitus.