assertion failed in SDAC

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Ludek
Posts: 296
Joined: Thu 12 Oct 2006 09:34

assertion failed in SDAC

Post by Ludek » Wed 12 Sep 2007 12:32

Hi folks, just for your information, it is no critical bug for me: :)

I'm getting an assertion if I do following operation with a TMSQuery in CachedUpdates mode (with newest SDAC 4.10.0.10, also in many older ones):

Code: Select all

var
 d: TMSQuery;
begin
....
  d.Open;
  d.Edit;
  d.FieldByName('....').AsFloat := ....;
  d.UpdateRecordTypes := [rtInserted];
  d.First; // here comes the assertion exception

I can simply get rid of it calling

d.Post

before the

d.UpdateRecordTypes := ...

statement, but I think, such exception should never appear.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Fri 14 Sep 2007 09:42

Thank you for information. We have reproduced the problem. The investigation of the problem is in progress. As soon as we solve it, we will let you know.

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 19 Sep 2007 07:31

We have fixed this problem. This fix will be included in the next SDAC build.

Post Reply