Page 1 of 1

TVirtualQuery with FB3 and UniTable

Posted: Sun 13 Nov 2016 08:48
by FredS
This blows up, the Transaction is set to inactive right after a VQ has opened.
Any Dataset using the same connection fails with inactive transaction or something like that. All works flawless with MSSQL.

Code: Select all

  vq := TVirtualQuery.Create(nil);
  link := vq.SourceDataSets.Add;
  link.DataSet := UniTable;
  link.TableName := ATablename;
  vq.SQL.Text := ASQL;
  vq.Open;
  Assert(UniTable.Transaction.Active, 'Huh?');

Re: TVirtualQuery with FB3 and UniTable

Posted: Mon 14 Nov 2016 13:46
by ViktorV
Thank you for the information. We have reproduced the issue and investigation is in progress. We will inform you when we have any results.

Re: TVirtualQuery with FB3 and UniTable

Posted: Fri 18 Nov 2016 10:23
by ViktorV
We have already fixed the issue. This fix will be included into the next VirtualDAC build, which we are going to release soon.