dblayeroo: syntax error in table creation for MySQL and PgSQL if multiple foreign keys are defined

git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@3755 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
2017-06-13 05:51:18 +00:00
parent 95953579fe
commit b9f593c546

View File

@@ -497,8 +497,6 @@ class dblayeroo
$k[1]."$this->sep)";
if (isset ($k[2]))
$sql .= " ".$k[2];
if ($i > 0)
$sql .= ",";
$i++;
}
$sql .=") ENGINE=InnoDB DEFAULT CHARSET=utf8;";
@@ -592,8 +590,6 @@ class dblayeroo
$k[1]."\")";
if (isset ($k[2]))
$sql .= " ".$k[2];
if ($i > 0)
$sql .= ",";
$i++;
}
$sql .=")";