mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Parameter checking is not useful here, at least not until Insert Files makes use of the query thread.
This commit is contained in:
@ -328,6 +328,9 @@ begin
|
|||||||
Result := False;
|
Result := False;
|
||||||
q := TDeferDataSet.Create(nil, callback);
|
q := TDeferDataSet.Create(nil, callback);
|
||||||
q.Connection := FMysqlConn;
|
q.Connection := FMysqlConn;
|
||||||
|
// Parameter checking is used in Insert Files,
|
||||||
|
// which does not pass through here (yet).
|
||||||
|
q.ParamCheck := false;
|
||||||
q.SQL.Text := ASql;
|
q.SQL.Text := ASql;
|
||||||
ADataset := q;
|
ADataset := q;
|
||||||
|
|
||||||
@ -351,6 +354,9 @@ begin
|
|||||||
Result := False;
|
Result := False;
|
||||||
q := TDeferDataSet.Create(nil, callback);
|
q := TDeferDataSet.Create(nil, callback);
|
||||||
q.Connection := FMysqlConn;
|
q.Connection := FMysqlConn;
|
||||||
|
// Parameter checking is used in Insert Files,
|
||||||
|
// which does not pass through here (yet).
|
||||||
|
q.ParamCheck := false;
|
||||||
q.SQL.Text := ASql;
|
q.SQL.Text := ASql;
|
||||||
ADataSet := q;
|
ADataSet := q;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user