Hallo,
immer wenn ich ein INSERT
Query absetze, das etwas größer ausfällt (z. B. über 1MB), bekomme ich eine
Exception mit dem Fehlertext "unable to write to stream" an der angegebenen Stelle.
Delphi-Quellcode:
var
FSQLConnection: MySqlConnection;
Command: IDbCommand;
begin
...
Command := FSQLConnection.CreateCommand;
Command.CommandText :=
SQL;
try
Command.Prepare;
Command.ExecuteNonQuery;
// <---
except
on E:
Exception do
begin
Console.WriteLine('
Error: ' + E.
Message);
end;
end;
end;
Hat jemand eine Ahnung, was das sein kann bzw. wie ich dieses Problem löse?
Gruß
xaromz