#13915 fix error sql