fix: allow $$ as delimiter again on non-PostgreSQL connections, and ` on non-MySQL connections

Refs #2385
This commit is contained in:
Ansgar Becker
2026-02-01 11:50:08 +01:00
parent f45f6e6953
commit 7be7f3ed83
5 changed files with 36 additions and 22 deletions

View File

@@ -924,7 +924,7 @@ begin
AddQuery(FKeys[i].SQLCode(DBObject.Name));
end;
Result := TSQLBatch.Create;
Result := TSQLBatch.Create(DBObject.Connection.Parameters.NetTypeGroup);
Result.SQL := SQL;
FreeAndNil(Specs);
@@ -1018,7 +1018,7 @@ begin
end;
end;
Result := TSQLBatch.Create;
Result := TSQLBatch.Create(DBObject.Connection.Parameters.NetTypeGroup);
Result.SQL := Trim(SQL);
end;