Skip to content

Commit 50325ea

Browse files
committed
fix: space missing in CREATE TABLE code of PG table with SERIAL column
See https://www.heidisql.com/forum.php?t=45094
1 parent 3b9215a commit 50325ea

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

source/dbconnection.pas

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10817,8 +10817,9 @@ function TTableColumn.SQLCode(OverrideCollation: String=''; Parts: TColumnParts=
1081710817
Result := Result + ' ZEROFILL';
1081810818
if Compressed and FConnection.Parameters.IsMariaDB then
1081910819
Result := Result + ' /*!100301 COMPRESSED*/';
10820-
Result := Result + ' '; // Add space after each part
1082110820
end;
10821+
10822+
Result := Result + ' '; // Add space after each part
1082210823
end;
1082310824

1082410825
if InParts(cpAllowNull) and (not IsVirtual) and (not FConnection.Parameters.IsAnyMSSQL) then begin

0 commit comments

Comments
 (0)