Hello,
We couldn’t reproduce this error.
We tested it with:
OS WinXP
Delphi 2010
DA 6.0.58.1001 beta
AnyDAC?AuxDriver=MySQL;Server=localhost;Database=xx;UserID=xx;Password=xx;Port=3306;TinyIntFormat=Integer;BiDirectionalDataSets=1;@ResourceOptions.MacroCreate=False;@ResourceOptions.MacroExpand=False;DirectMode=0
Mysql55
AnyDAC 5.0.3
Can you describe more detail about your project? When does this error occur? Can you send us a small testcase which reproduce this error?
Hello,
Thanks, the issue was logged as #54898
As a workaround please modify uDAAnyDACDriver.pas
procedure TDAEAnyDACConnection.SetupOptions(AOptions: IADStanOptions;
AFetchMeta: Boolean);
begin
with AOptions do
begin
if not fBiDirectionalDataSets then
FetchOptions.Unidirectional := True
else
FetchOptions.Mode := fmAll;
if not AFetchMeta then
FetchOptions.Items := FetchOptions.Items - [fiMeta];
end;
end;
function TDAEAnyDACConnection.CreateCustomConnection: TCustomConnection;
begin
fDriverType := mkUnknown;
FADConnection := TADConnection.Create(nil);
with FADConnection do begin
LoginPrompt := False;
//if not fBiDirectionalDataSets then
// FetchOptions.Unidirectional := True
//else
//FetchOptions.Mode := fmAll;
FetchOptions.RowsetSize := 100;
ResourceOptions.SilentMode := True;
ResourceOptions.UnifyParams := True;
end;
result := FADConnection;
end;