Commit bb857537 authored by Steve Müller's avatar Steve Müller

fix quoting reserved keywords as unique constraint name in SQL Anywhere

parent 30b749be
......@@ -1358,7 +1358,8 @@ class SQLAnywherePlatform extends AbstractPlatform
$flags = '';
if ( ! empty($name)) {
$sql .= 'CONSTRAINT ' . $name . ' ';
$name = new Identifier($name);
$sql .= 'CONSTRAINT ' . $name->getQuotedName($this) . ' ';
}
if ($constraint->hasFlag('clustered')) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment