fixed #23065 -- quote constraint names in SQL