Avoid inclusion of keys, foreign keys, partition clauses and whatever as additional columns in ParseTableStructure. See http://www.heidisql.com/forum.php?t=15960

This commit is contained in:
Ansgar Becker
2014-07-06 15:06:24 +00:00
parent f1625e064f
commit 7e486aeb45

View File

@@ -4180,7 +4180,7 @@ begin
rx := TRegExpr.Create;
rx.ModifierS := False;
rx.ModifierM := True;
rx.Expression := '^\s+(.+),?$';
rx.Expression := '^\s+(['+Quotes+'].+),?$';
rxCol := TRegExpr.Create;
rxCol.ModifierI := True;
if rx.Exec(CreateTable) then while true do begin