mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
fix: allow $$ as delimiter again on non-PostgreSQL connections, and ` on non-MySQL connections
Refs #2385
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user