mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 22:09:33 +02:00
* Do not depend on TDataset.DataEvent when setting up the test-data
git-svn-id: trunk@10383 -
This commit is contained in:
parent
6c53785e3a
commit
3bb5a786eb
@ -43,6 +43,10 @@ begin
|
||||
Append;
|
||||
FieldByName('ID').AsInteger := countID;
|
||||
FieldByName('NAME').AsString := 'TestName'+inttostr(countID);
|
||||
// Explicitly call .post, since there could be a bug which disturbs
|
||||
// the automatic call to post. (example: when TDataset.DataEvent doesn't
|
||||
// work properly)
|
||||
Post;
|
||||
end;
|
||||
if state = dsinsert then
|
||||
Post;
|
||||
|
Loading…
Reference in New Issue
Block a user