mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Bugfix: avoid mangling newlines when sending SQL to Zeos. Fixes remaining part of issue #1094.
This commit is contained in:
@ -241,7 +241,8 @@ begin
|
|||||||
q.Connection := FMysqlConn;
|
q.Connection := FMysqlConn;
|
||||||
// Parameter checking is used only in Insert Files, which has it's own TZQuery.
|
// Parameter checking is used only in Insert Files, which has it's own TZQuery.
|
||||||
q.ParamCheck := false;
|
q.ParamCheck := false;
|
||||||
q.SQL.Text := ASql;
|
q.SQL.Clear;
|
||||||
|
q.SQL.Add(ASql);
|
||||||
ADataset := q;
|
ADataset := q;
|
||||||
|
|
||||||
try
|
try
|
||||||
|
Reference in New Issue
Block a user