mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 09:28:19 +02:00
fcl-db: tests: set ID field value before post, because it is Required (not null)
git-svn-id: trunk@27130 -
This commit is contained in:
parent
02551d7129
commit
c47ff6946a
@ -1001,6 +1001,8 @@ begin
|
||||
begin
|
||||
Open;
|
||||
Append;
|
||||
FieldByName('ID').AsInteger := -1; // Required - not null
|
||||
|
||||
Fmemo := FieldByName('FMEMO');
|
||||
CheckTrue(Fmemo.IsNull, 'IsNull after Append');
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user