CachedUpdates problem

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MoonFox
Posts: 4
Joined: Tue 26 Jun 2007 15:09

CachedUpdates problem

Post by MoonFox » Mon 13 Aug 2007 10:12

I found non-persistent access violation problem when using cached updates mode of IBCQuery.
And CommitUpdates method performs second (unnecessarily) ApplyUpdates, but problem is not here.

My little test application describes problem. OnUpdateError simply skips problem records (which still unapplied).
Path to get problem is:
modify first even value to odd (will exception).
modify even value to another even (success).
add new record with odd value (will exception).
Click "Apply updates".
1 record updated and became white in grid, 1 still yellow and 1 still lime.
Click "Apply updates" again (2 updated records pending, but still have wrong values - expecting nothing changes).
AV - voila!
And "Cancel updates", and close application raise exceptions.

PS: sorry for my "english".

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 13 Aug 2007 13:39

We have fixed this problem. The fix will be included in the next build of IBDAC.

Post Reply