Skip to content

Commit 1633c33

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 84c63c6 commit 1633c33

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
@@ -10703,8 +10703,9 @@ function TTableColumn.SQLCode(OverrideCollation: String=''; Parts: TColumnParts=
1070310703
Result := Result + ' ZEROFILL';
1070410704
if Compressed and FConnection.Parameters.IsMariaDB then
1070510705
Result := Result + ' /*!100301 COMPRESSED*/';
10706-
Result := Result + ' '; // Add space after each part
1070710706
end;
10707+
10708+
Result := Result + ' '; // Add space after each part
1070810709
end;
1070910710

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

0 commit comments

Comments
 (0)